aboutsummaryrefslogtreecommitdiffstats
path: root/src/math
Commit message (Expand)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | | | | | | | | | | Hide PointGFp constructorslloyd2010-03-132-7/+14
* | | | | | | | | | | | | | | | | | | | | | | | Remove access to the Jacobian coordinate getters get_{x,y,z}, as welllloyd2010-03-132-33/+9
|/ / / / / / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | | | | Deconstify PK_Ops. It's quite reasonable that some op will want tolloyd2010-03-091-1/+1
* | | | | | | | | | | | | | | | | | | | | | | Consolidate code for choosing a window size for fixed width windowlloyd2010-03-094-72/+41
* | | | | | | | | | | | | | | | | | | | | | | Add back in blinding to RSA, RW, ElGamal, and DH.lloyd2010-03-083-85/+0
* | | | | | | | | | | | | | | | | | | | | | | Inline Engine_Core::mod_exp into singler caller, and deletelloyd2010-03-051-2/+19
* | | | | | | | | | | | | | | | | | | | | | | Make the modulus visible in Modular_Reducerlloyd2010-03-051-0/+2
* | | | | | | | | | | | | | | | | | | | | | | Force high bit in random_prime as well (done by randomize currently, but migh...lloyd2010-03-051-0/+3
* | | | | | | | | | | | | | | | | | | | | | | Clarify exception text on get_affine when point is zerolloyd2010-03-051-2/+2
* | | | | | | | | | | | | | | | | | | | | | | Make two variants of OS2ECP, one taking pointer + length, and otherlloyd2010-03-022-13/+19
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | Inline some simple PointGFp functionslloyd2010-03-022-51/+35
* | | | | | | | | | | | | | | | | | | | | | Rename PointGFp::get_jac_proj_{x,y,z} simply get_{x,y,z}lloyd2010-03-021-3/+3
* | | | | | | | | | | | | | | | | | | | | | Allow creating uninitialized PointGFp and CurveGFpslloyd2010-03-012-0/+10
* | | | | | | | | | | | | | | | | | | | | | Rename mult2_in_place just mult2 (double would be better but is a keyword...)lloyd2010-03-012-6/+6
* | | | | | | | | | | | | | | | | | | | | | Simplify mult2_in_place slightlylloyd2010-02-251-7/+3
|/ / / / / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | | | | Move contents of gfpmath to numbertheory. Adjust dependencies.lloyd2010-02-255-15/+3
* | | | | | | | | | | | | | | | | | | | | Delete gfp_element.h and remove the gfpmath testslloyd2010-02-252-250/+0
* | | | | | | | | | | | | | | | | | | | | Hide MillerRabin_Test class (only used in numthry.cpp)lloyd2010-02-256-84/+84
* | | | | | | | | | | | | | | | | | | | | Cache the Modular_Reducer of p in CurveGFp; speedup of 3-4xlloyd2010-02-252-8/+11
* | | | | | | | | | | | | | | | | | | | | Remove GFpElement from check_invariants, remove includelloyd2010-02-251-20/+15
* | | | | | | | | | | | | | | | | | | | | create_random_point was not used anywhere, so remove itlloyd2010-02-252-28/+0
* | | | | | | | | | | | | | | | | | | | | s/GFpElement/Modular_Reducer/ in get_affine_{x,y}lloyd2010-02-251-14/+6
* | | | | | | | | | | | | | | | | | | | | Convert PointGFp::operator+= to using BigInt + Modular_Reducer instead oflloyd2010-02-251-34/+18
* | | | | | | | | | | | | | | | | | | | | Make PointGFp::mult2_in_place privatelloyd2010-02-252-20/+25
* | | | | | | | | | | | | | | | | | | | | Use Modular_Reducer instead of GFpElement in operator*=lloyd2010-02-251-13/+8
* | | | | | | | | | | | | | | | | | | | | Inline PointGFp constructorslloyd2010-02-252-51/+13
* | | | | | | | | | | | | | | | | | | | | In PointGFp::operator==, compare coordinates first, then the curvelloyd2010-02-251-4/+2
* | | | | | | | | | | | | | | | | | | | | There was only one caller of set_z_to_one (which was get_z_to_one) andlloyd2010-02-252-60/+24
* | | | | | | | | | | | | | | | | | | | | Rewrite PointGFp::mult2_in_place to use plain BigInt plus a Modular_Reducerlloyd2010-02-251-47/+29
* | | | | | | | | | | | | | | | | | | | | Hide PointGFp funcs set_z_to_one and get_z_to_onelloyd2010-02-251-15/+15
* | | | | | | | | | | | | | | | | | | | | Name vars in Modular_Reducer decllloyd2010-02-251-4/+4
* | | | | | | | | | | | | | | | | | | | | Inline GFpElementlloyd2010-02-253-172/+121
* | | | | | | | | | | | | | | | | | | | | Remove include of unused headerslloyd2010-02-251-3/+0
* | | | | | | | | | | | | | | | | | | | | Inline some simple GFpElement functions. Remove ostream << operatorlloyd2010-02-252-65/+15
* | | | | | | | | | | | | | | | | | | | | Move Illegal_Transformationlloyd2010-02-252-7/+7
* | | | | | | | | | | | | | | | | | | | | Remove point_{x,y,z} funcs, hide GFpElement entirelylloyd2010-02-253-33/+56
* | | | | | | | | | | | | | | | | | | | | CurveGFp: Inline, deleting source file. Store only a,b,p aslloyd2010-02-255-84/+39
* | | | | | | | | | | | | | | | | | | | | Change PointGFp to store BigInts instead of GFpElementslloyd2010-02-252-65/+68
* | | | | | | | | | | | | | | | | | | | | Rename PointGFp member variableslloyd2010-02-252-74/+74
* | | | | | | | | | | | | | | | | | | | | Cleanup EC2OSP, remove should-have-been-internal functionslloyd2010-02-252-85/+35
* | | | | | | | | | | | | | | | | | | | | Convert the PointGFp constructor taking three coordinates (Jacobian scheme)lloyd2010-02-252-10/+13
* | | | | | | | | | | | | | | | | | | | | Convert PointGFp::get_jac_proj_{x,y,z} to return just the BigInt value,lloyd2010-02-252-10/+9
* | | | | | | | | | | | | | | | | | | | | Convert PointGFp::get_affine_{x,y} to return just the BigInt valuelloyd2010-02-252-13/+19
* | | | | | | | | | | | | | | | | | | | | Remove clutter. Add note about bug in mult by scalar (mult by -1 is wrong)lloyd2010-02-251-8/+5
* | | | | | | | | | | | | | | | | | | | | Convert 3-arg constructoor of PointGFp to take BigInts instead oflloyd2010-02-252-149/+93
* | | | | | | | | | | | | | | | | | | | | Cleanupslloyd2010-02-251-16/+10
* | | | | | | | | | | | | | | | | | | | | Make compression types an enumlloyd2010-02-251-14/+5
* | | | | | | | | | | | | | | | | | | | | De-mutable PointGFplloyd2010-02-244-9/+9
* | | | | | | | | | | | | | | | | | | | | Inline small funcs. Remove mult2lloyd2010-02-242-46/+12
* | | | | | | | | | | | | | | | | | | | | Add BOTAN_DLL exports to some CurveGFp funcslloyd2010-02-241-2/+2