Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delete gfp_element.h and remove the gfpmath tests | lloyd | 2010-02-25 | 2 | -250/+0 |
| | |||||
* | Hide MillerRabin_Test class (only used in numthry.cpp) | lloyd | 2010-02-25 | 6 | -84/+84 |
| | | | | | | Inline simple functions in Modular_Reducer Add Modular_Reducer::cube convenience function | ||||
* | Cache the Modular_Reducer of p in CurveGFp; speedup of 3-4x | lloyd | 2010-02-25 | 2 | -8/+11 |
| | |||||
* | Remove GFpElement from check_invariants, remove include | lloyd | 2010-02-25 | 1 | -20/+15 |
| | |||||
* | create_random_point was not used anywhere, so remove it | lloyd | 2010-02-25 | 2 | -28/+0 |
| | |||||
* | s/GFpElement/Modular_Reducer/ in get_affine_{x,y} | lloyd | 2010-02-25 | 1 | -14/+6 |
| | |||||
* | Convert PointGFp::operator+= to using BigInt + Modular_Reducer instead of | lloyd | 2010-02-25 | 1 | -34/+18 |
| | | | | GFpElement | ||||
* | Make PointGFp::mult2_in_place private | lloyd | 2010-02-25 | 2 | -20/+25 |
| | |||||
* | Use Modular_Reducer instead of GFpElement in operator*= | lloyd | 2010-02-25 | 1 | -13/+8 |
| | |||||
* | Inline PointGFp constructors | lloyd | 2010-02-25 | 2 | -51/+13 |
| | |||||
* | In PointGFp::operator==, compare coordinates first, then the curve | lloyd | 2010-02-25 | 1 | -4/+2 |
| | |||||
* | There was only one caller of set_z_to_one (which was get_z_to_one) and | lloyd | 2010-02-25 | 2 | -60/+24 |
| | | | | | only one caller of get_z_to_one (in operator*=). Inline into operator*= and remove. | ||||
* | Rewrite PointGFp::mult2_in_place to use plain BigInt plus a Modular_Reducer | lloyd | 2010-02-25 | 1 | -47/+29 |
| | | | | Clean up PointGFp::operator*= | ||||
* | Hide PointGFp funcs set_z_to_one and get_z_to_one | lloyd | 2010-02-25 | 1 | -15/+15 |
| | |||||
* | Name vars in Modular_Reducer decl | lloyd | 2010-02-25 | 1 | -4/+4 |
| | |||||
* | Inline GFpElement | lloyd | 2010-02-25 | 4 | -175/+122 |
| | |||||
* | Set parallelism defaults. | lloyd | 2010-02-25 | 6 | -1/+15 |
| | | | | | | | | Default unless specified is now 4. For SIMD code, use 2x the number of blocks which are processed in parallel using SIMD by that cipher. It may make sense to increase this to 4x or even more, further experimentation is necessary. | ||||
* | Instead of the mode parallelism being specified via macros, have it | lloyd | 2010-02-25 | 7 | -33/+37 |
| | | | | | | | | | depend on the particular implementation. Add a new virtual function to BlockCipher named parallelism that returns the number of blocks the cipher object could or might want to process in parallel. Currently set to 1 by default but may make sense to increase this for even scalar implementations since it seems like better caching behavior makes it a win. | ||||
* | Remove include of unused headers | lloyd | 2010-02-25 | 1 | -3/+0 |
| | |||||
* | Inline some simple GFpElement functions. Remove ostream << operator | lloyd | 2010-02-25 | 2 | -65/+15 |
| | |||||
* | Move Illegal_Transformation | lloyd | 2010-02-25 | 2 | -7/+7 |
| | |||||
* | Remove point_{x,y,z} funcs, hide GFpElement entirely | lloyd | 2010-02-25 | 4 | -35/+56 |
| | |||||
* | CurveGFp: Inline, deleting source file. Store only a,b,p as | lloyd | 2010-02-25 | 6 | -122/+80 |
| | | | | | BigInts. Also reorder constructor args to p, a, b which seems more sensible to me. | ||||
* | Change PointGFp to store BigInts instead of GFpElements | lloyd | 2010-02-25 | 2 | -65/+68 |
| | |||||
* | Rename PointGFp member variables | lloyd | 2010-02-25 | 2 | -74/+74 |
| | |||||
* | Cleanup EC2OSP, remove should-have-been-internal functions | lloyd | 2010-02-25 | 2 | -85/+35 |
| | |||||
* | Convert the PointGFp constructor taking three coordinates (Jacobian scheme) | lloyd | 2010-02-25 | 2 | -10/+13 |
| | | | | to take BigInts instead of GFpElements | ||||
* | Convert PointGFp::get_jac_proj_{x,y,z} to return just the BigInt value, | lloyd | 2010-02-25 | 2 | -10/+9 |
| | | | | not a GFpElement | ||||
* | Convert PointGFp::get_affine_{x,y} to return just the BigInt value | lloyd | 2010-02-25 | 5 | -27/+35 |
| | |||||
* | Remove clutter. Add note about bug in mult by scalar (mult by -1 is wrong) | lloyd | 2010-02-25 | 1 | -8/+5 |
| | |||||
* | Convert 3-arg constructoor of PointGFp to take BigInts instead of | lloyd | 2010-02-25 | 3 | -151/+94 |
| | | | | | | GFpElements. Clean up OS2ECP | ||||
* | Cleanups | lloyd | 2010-02-25 | 1 | -16/+10 |
| | |||||
* | Make compression types an enum | lloyd | 2010-02-25 | 1 | -14/+5 |
| | |||||
* | De-mutable PointGFp | lloyd | 2010-02-24 | 4 | -9/+9 |
| | |||||
* | Inline small funcs. Remove mult2 | lloyd | 2010-02-24 | 2 | -46/+12 |
| | |||||
* | Add BOTAN_DLL exports to some CurveGFp funcs | lloyd | 2010-02-24 | 1 | -2/+2 |
| | |||||
* | Remove the montgomery optimizations from GFpElement entirely. | lloyd | 2010-02-24 | 6 | -561/+29 |
| | | | | | | | | 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. | ||||
* | Remove PointGFp::mult_this_secure | lloyd | 2010-02-24 | 7 | -101/+13 |
| | |||||
* | Remove GFpModulus entirely | lloyd | 2010-02-24 | 4 | -180/+52 |
| | |||||
* | In CurveGFp, store just the BigInt mod instead of a GFpModulus | lloyd | 2010-02-24 | 1 | -2/+2 |
| | |||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2010-02-24 | 33 | -0/+4316 |
|\ | | | | | | | | | | | 35d3e3deb02b47f98e4937f8eab77f019a0f4b97) to branch 'net.randombit.botan.ssl' (head f923e7583e760a9a224cc5b1fc40015776d85eb9) | ||||
| * | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2010-02-23 | 33 | -0/+4316 |
| |\ | | | | | | | | | | | | | | | | 89451dd9349d61bc29507c9c441c090148192286) to branch 'net.randombit.botan.ssl' (head a341d74655f579482102c23e2c378897b738bd06) | ||||
| | * | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2010-02-17 | 7 | -69/+60 |
| | |\ | | | | | | | | | | | | | | | | | | | | | da26221a4feb0b758cd4c182700f6a7a07ed7a44) to branch 'net.randombit.botan.ssl' (head 986b98a8b50c06ffe99d9d4f41855448162959c4) | ||||
| | * | | Use the canonical header guard form in handshake_hash.h otherwise the | lloyd | 2010-02-17 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | alamgamation generator horks. | ||||
| | * | | Add alert code for PSK/SRP (unknown identity) | lloyd | 2010-02-17 | 1 | -0/+2 |
| | | | | |||||
| | * | | Naming scheme for DL groups has changed | lloyd | 2010-02-17 | 1 | -1/+1 |
| | | | | |||||
| | * | | Remove use of old PKCS8_ and X509_ typedefs | lloyd | 2010-02-16 | 10 | -49/+62 |
| | | | | |||||
| | * | | Rename Policy to TLS_Policy. | lloyd | 2010-02-16 | 31 | -152/+103 |
| | | | | | | | | | | | | | | | | Put TLS_ in all the header guards to reduce the odds of conflicts. | ||||
| | * | | Various minor SSL fixes | lloyd | 2010-02-14 | 13 | -42/+42 |
| | | | | |||||
| | * | | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2010-02-14 | 33 | -0/+4350 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | 5bfc3e699003b86615c584f8ae40bd6e761f96c0) to branch 'net.randombit.botan.ssl' (head 6865128cf0c5f6ad1987e22cc1d521fd2e38fd21) |