Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove more uses of vector to pointer implicit conversions | lloyd | 2010-09-13 | 1 | -5/+1 |
| | |||||
* | Anywhere where we use MemoryRegion::begin to get access to the raw pointer | lloyd | 2010-09-13 | 1 | -38/+38 |
| | | | | | representation (rather than in an interator context), instead use &buf[0], which works for both MemoryRegion and std::vector | ||||
* | Use the standalone version of the hex decoder instead of the wrapper that | lloyd | 2010-09-03 | 1 | -54/+54 |
| | | | | previously existed in misc.cpp that emulated it via a pipe and filter. | ||||
* | Replace PointGFp::check_invaraints, which would either return silently | lloyd | 2010-03-19 | 1 | -14/+18 |
| | | | | | | | | | | | or throw an exception, with PointGFp::on_the_curve, which returns a bool. Update callers. This showed several cases where check_invaraints was being called multiple times, for instance when decoding a point with OS2ECP, check_invaraints was called; many callers of OS2ECP would then call check_invaraints again on the same object. | ||||
* | Simple cleanups | lloyd | 2010-03-13 | 1 | -6/+13 |
| | |||||
* | Remove access to the Jacobian coordinate getters get_{x,y,z}, as well | lloyd | 2010-03-13 | 1 | -136/+59 |
| | | | | | | | | | | | | | | as the 4-argument constructor. Define operator==() in terms of the affine coordinates. Rewrite tests that assumed access to the Jacobian coodinates in terms of the affine coordinates. This change allows for using arbitrary coordinate systems in PointGFp, as long as it can convert to the normal affine coordinates (which are what is used by all ECC algorithms implemented currently, and probably all interesting ECC algorithms in general). | ||||
* | Remove the sign() operation from the public key objects, totally replaced | lloyd | 2010-03-05 | 1 | -80/+0 |
| | | | | | | by using the ops. Add real ECDSA test vectors (two found in ANSI X9.62) | ||||
* | Avoid warnings under VC++ in ECC tests | lloyd | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Rename PointGFp::get_jac_proj_{x,y,z} simply get_{x,y,z} | lloyd | 2010-03-02 | 1 | -32/+32 |
| | |||||
* | Kill get_EC_Dom_Pars_by_oid | lloyd | 2010-03-01 | 1 | -8/+6 |
| | |||||
* | Change create_random_point to use Modular_Reducer | lloyd | 2010-02-25 | 1 | -11/+9 |
| | |||||
* | Remove another useless EC test | lloyd | 2010-02-25 | 1 | -33/+0 |
| | |||||
* | Remove a useless EC test (was testing mres) | lloyd | 2010-02-25 | 1 | -34/+0 |
| | |||||
* | create_random_point was used in one tests though, so add it back in ec_tests.cpp | lloyd | 2010-02-25 | 1 | -0/+25 |
| | |||||
* | Make PointGFp::mult2_in_place private | lloyd | 2010-02-25 | 1 | -22/+17 |
| | |||||
* | CurveGFp: Inline, deleting source file. Store only a,b,p as | lloyd | 2010-02-25 | 1 | -24/+26 |
| | | | | | BigInts. Also reorder constructor args to p, a, b which seems more sensible to me. | ||||
* | Convert the PointGFp constructor taking three coordinates (Jacobian scheme) | lloyd | 2010-02-25 | 1 | -30/+9 |
| | | | | to take BigInts instead of GFpElements | ||||
* | Convert PointGFp::get_jac_proj_{x,y,z} to return just the BigInt value, | lloyd | 2010-02-25 | 1 | -87/+32 |
| | | | | not a GFpElement | ||||
* | Convert PointGFp::get_affine_{x,y} to return just the BigInt value | lloyd | 2010-02-25 | 1 | -61/+17 |
| | |||||
* | Convert 3-arg constructoor of PointGFp to take BigInts instead of | lloyd | 2010-02-25 | 1 | -4/+3 |
| | | | | | | GFpElements. Clean up OS2ECP | ||||
* | Kill dead code | lloyd | 2010-02-25 | 1 | -24/+4 |
| | |||||
* | Remove the montgomery optimizations from GFpElement entirely. | lloyd | 2010-02-24 | 1 | -29/+2 |
| | | | | | | | | 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 | 1 | -25/+2 |
| | |||||
* | Remove use of tr1 entirely from gfpmath. | lloyd | 2010-02-23 | 1 | -33/+10 |
| | | | | | | | 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. | ||||
* | Add copyright and license notes to pretty much every file that didn't have them, | lloyd | 2009-12-31 | 1 | -0/+6 |
| | | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good. | ||||
* | Full working amalgamation build, plus internal-only headers concept. | lloyd | 2009-12-16 | 1 | -1/+0 |
| | |||||
* | Disable ec_tests.cpp unless ECDSA is enabled | lloyd | 2008-11-17 | 1 | -1/+13 |
| | |||||
* | Reorganize all GF(p)/ECC tests to be called from pk.cpp | lloyd | 2008-11-17 | 1 | -1/+1 |
| | |||||
* | Output that ECC tests are being run, and run them after GF(p) math tests ↵ | lloyd | 2008-11-17 | 1 | -0/+4 |
| | | | | which is a reasonable ordering | ||||
* | Tame ec_tests.cpp and integrate it into the test code. | lloyd | 2008-11-17 | 1 | -1115/+1120 |
| | | | | | | | | I'm seeing one failure on Core2. Have not diagnosed at all. A number of tests are #if'ed out. Many were rubbed out in the original InSiTo version, others I commented out due to changed/removed APIs. | ||||
* | Add ec_test.cpp from InSiTo (low level ECC test cases) | lloyd | 2008-11-17 | 1 | -0/+1202 |