aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/gfpmath/curve_gfp.h
Commit message (Collapse)AuthorAgeFilesLines
* Move contents of gfpmath to numbertheory. Adjust dependencies.lloyd2010-02-251-96/+0
|
* Hide MillerRabin_Test class (only used in numthry.cpp)lloyd2010-02-251-0/+1
| | | | | | Inline simple functions in Modular_Reducer Add Modular_Reducer::cube convenience function
* Cache the Modular_Reducer of p in CurveGFp; speedup of 3-4xlloyd2010-02-251-2/+5
|
* CurveGFp: Inline, deleting source file. Store only a,b,p aslloyd2010-02-251-30/+20
| | | | | BigInts. Also reorder constructor args to p, a, b which seems more sensible to me.
* Add BOTAN_DLL exports to some CurveGFp funcslloyd2010-02-241-2/+2
|
* Remove the montgomery optimizations from GFpElement entirely.lloyd2010-02-241-30/+0
| | | | | | | | This makes things even slower than they were before, but will make refactoring easier. And most of the montgomery code there was duplicates of other code that already existed in the codebase. Anything useful can be pulled back out from history later if needed.
* In CurveGFp, store just the BigInt mod instead of a GFpModuluslloyd2010-02-241-2/+2
|
* Remove use of tr1 entirely from gfpmath.lloyd2010-02-231-52/+11
| | | | | | | Remove a handful of tests which were based on testing the sharing aspects, which are gone now; everything is based on value copies. All tests pass on x86-64 with GCC. Valgrind output looks clean too.
* Cleanups - remove emails from source files, they should only live inlloyd2009-11-101-17/+13
| | | | credits.txt and thanks.txt. Remove some various bits of formatting weirdness.
* Remove unnecessary includes of <iostream>; either delete entirely as notlloyd2009-07-111-1/+1
| | | | needed, or replace with <iosfwd> or <ostream> where necessary.
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-10/+12
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Add trailing H__ to some header guards. Line wrap long comment.lloyd2008-10-131-13/+15
|
* Modify CurveGFp::get_{a,b} to return a const reference instead of a copylloyd2008-10-121-2/+2
|
* Remove last use of freestore.h from gfpmath, move it to CVC code which stilllloyd2008-10-111-1/+1
| | | | uses it. Include tr1 header directly in gfp_element.h
* Add BOTAN_DLL macro to public class definitions that were missing it.lloyd2008-10-091-1/+1
|
* Partially merge back with InSiTo in an attemp to trace bugslloyd2008-10-081-21/+29
|
* Reformattinglloyd2008-10-081-3/+3
|
* Move GF(p) math code from pk/ecdsa to math/gfpmathlloyd2008-09-301-0/+165