Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 4 | -11/+13 |
| | |||||
* | Output that ECC tests are being run, and run them after GF(p) math tests ↵ | lloyd | 2008-11-17 | 2 | -2/+5 |
| | | | | which is a reasonable ordering | ||||
* | Tame ec_tests.cpp and integrate it into the test code. | lloyd | 2008-11-17 | 3 | -1115/+1124 |
| | | | | | | | | 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 |
| | |||||
* | Fix mode benchmarking | lloyd | 2008-11-17 | 1 | -0/+2 |
| | |||||
* | Use std::vector instead of SecureVector to hold random input for filter ↵ | lloyd | 2008-11-17 | 1 | -3/+3 |
| | | | | benchmark | ||||
* | Only create RNG if needed in test app | lloyd | 2008-11-13 | 1 | -5/+5 |
| | |||||
* | Remove support for provider identifiers from SCAN_Name - it turns out this | lloyd | 2008-11-12 | 1 | -0/+2 |
| | | | | | | | | | | | | was not the right place to keep track of this information. Also modify all Algorithm_Factory constructor functions to take instead of a SCAN_Name a pair of std::strings - the SCAN name and an optional provider name. If a provider is specified, either that provider will be used or the request will fail. Otherwise, the library will attempt best effort, based on user-set algorithm implementation settings (combine with benchmark.h for choosing the fastest implementation at runtime) or if not set, a static ordering (preset in static_provider_weight in prov_weight.cpp, though it would be nice to make this easier to toggle). | ||||
* | Change LibraryInitializer back to accepting a std::string for backwards | lloyd | 2008-11-11 | 1 | -1/+1 |
| | | | | compatability. | ||||
* | Fix segfault due to shared objects in DLIES test | lloyd | 2008-11-11 | 1 | -3/+10 |
| | |||||
* | Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpp | lloyd | 2008-11-11 | 2 | -4/+13 |
| | |||||
* | Update initializer in self-test | lloyd | 2008-11-10 | 1 | -3/+2 |
| | |||||
* | Another check for Parallel matching TLS.Digest.0 check | lloyd | 2008-11-10 | 1 | -0/+3 |
| | |||||
* | Handle HMAC_RNG not being enabled in dolook2.cpp | lloyd | 2008-11-10 | 1 | -11/+20 |
| | |||||
* | Add DLIES benchmark | lloyd | 2008-11-09 | 1 | -10/+72 |
| | |||||
* | Remove include of enums.h | lloyd | 2008-11-08 | 1 | -1/+0 |
| | |||||
* | Split the last parts of the 'core' module | lloyd | 2008-11-08 | 1 | -0/+1 |
| | | | | Add some missing info.txts | ||||
* | Add AutoSeeded_RNG to benchmark output | lloyd | 2008-11-07 | 2 | -0/+10 |
| | |||||
* | Add HMAC_RNG benchmarks. Change X9.31 PRNG to use HMAC_RNG as lower RNG | lloyd | 2008-10-28 | 2 | -11/+35 |
| | |||||
* | Remove stray text | lloyd | 2008-10-28 | 1 | -1/+0 |
| | |||||
* | Use a single RNG in check/test code | lloyd | 2008-10-27 | 1 | -10/+5 |
| | |||||
* | Move rng.{cpp,h} from core to rng/ topdir | lloyd | 2008-10-26 | 1 | -21/+19 |
| | | | | | | | | | | | | | | Add a new class AutoSeeded_RNG that is a RandomNumberGenerator that wraps up the logic formerly in RandomNumberGenerator::make_rng. make_rng in fact now just returns a new AutoSeeded_RNG object. AutoSeeded_RNG is a bit more convenient because - No need to use auto_ptr - No need to dereference (same syntax everywhere - it's an underestimated advantage imo) Also move the code from timer/timer_base to timer/ | ||||
* | Kill stray text | lloyd | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | More useful PK benchmark output (also a bit easier to parse) | lloyd | 2008-10-22 | 1 | -32/+46 |
| | |||||
* | Use heap rather than stack for data input. Increase size to 128k | lloyd | 2008-10-22 | 1 | -5/+5 |
| | |||||
* | Avoid integer overflows in the benchmark timer code. This would lead to | lloyd | 2008-10-22 | 2 | -5/+10 |
| | | | | bad results, especially noticable with fast algorithms and long test times. | ||||
* | Timer tried to guess if it should use seconds or ms, but it always choose | lloyd | 2008-10-17 | 1 | -13/+4 |
| | | | | | | | the wrong one in some situation or another. Just print milliseconds no matter what. Also it's easier to read/compare if everything is in the same unit (obv) | ||||
* | Move CVC tests back to the last thing, also disable for the moment because | lloyd | 2008-10-15 | 1 | -1/+1 |
| | | | | | | | | | several are failing with an uncaught exception. The test failures may be due to the fact that ECDSA's support for EAC is not included at the moment, and the CVC code that attempts to do it is #if'ed out. It certainly can't help anyway. Exception is a decoding error, so seems quite plausible. | ||||
* | Fix include of mp_asm.h in mp_ia32_msvc/mp_asmi.h (used quotes instead of ↵ | lloyd | 2008-10-15 | 1 | -1/+1 |
| | | | | brackets) | ||||
* | Add a CBC-MAC/AES test vector from Bounce Castle via InSiTo's cbcmac_tests.cpp | lloyd | 2008-10-14 | 1 | -0/+6 |
| | |||||
* | Point CVC tests against the right directory | lloyd | 2008-10-14 | 1 | -36/+38 |
| | |||||
* | Add test suite for card verifiable certificates (cert/cvc) from InSiTo ↵ | lloyd | 2008-10-14 | 4 | -18/+608 |
| | | | | (tests by Falko Strenzke) | ||||
* | Add ECKAEG tests from InSiTo, by Manuel Hartl | lloyd | 2008-10-14 | 3 | -0/+299 |
| | |||||
* | Add ECKAEG benchmark. Fix several problems found in ECKAEG key (had pure ↵ | lloyd | 2008-10-13 | 1 | -5/+73 |
| | | | | virtuals) | ||||
* | Spelling | lloyd | 2008-10-13 | 1 | -2/+2 |
| | |||||
* | Add DES/CBC and 3DES/CBC to benchmark output. (3DES/CBC shows up as 17% | lloyd | 2008-10-13 | 1 | -0/+3 |
| | | | | faster than OpenSSL's - I hope that is not a fluke in the benchmark program) | ||||
* | Add a simplistic ECDSA benchmark | lloyd | 2008-10-12 | 1 | -0/+58 |
| | |||||
* | ec_test_mes1 file no longer used by ECDSA tests | lloyd | 2008-10-12 | 1 | -1/+0 |
| | |||||
* | ECDSA test cleanup. Remove some old commented out code. | lloyd | 2008-10-12 | 1 | -40/+41 |
| | |||||
* | Drop two test-generated files. Add one input file needed for ECDSA signature | lloyd | 2008-10-12 | 3 | -8/+1 |
| | | | | test. | ||||
* | Cleanup ECDSA tests. Enable test_ec_sign test | lloyd | 2008-10-12 | 1 | -23/+12 |
| | |||||
* | Move InSiTo's ECDSA tests into the main test suite | lloyd | 2008-10-12 | 3 | -10/+580 |
| | |||||
* | Generate an ECDSA cert if ECDSA is enabled during tests | lloyd | 2008-10-11 | 1 | -0/+9 |
| | |||||
* | MSVC does not recognize and as equiv to && in a preprocessor statement | lloyd | 2008-10-11 | 1 | -1/+1 |
| | |||||
* | Drop files generated each test run | lloyd | 2008-10-11 | 4 | -41/+0 |
| | |||||
* | Add set of ECC/ECDSA test data, including X.509 and CVC certificates, | lloyd | 2008-10-11 | 47 | -0/+218 |
| | | | | from InSiTo | ||||
* | s/BOOST_CHECK/CHECK/ in macros since this isn't really using the Boost ↵ | lloyd | 2008-10-11 | 1 | -113/+113 |
| | | | | testsuite at all | ||||
* | Quieter GF(p) tests | lloyd | 2008-10-11 | 1 | -2/+6 |
| | |||||
* | If any are unequal print all values in test_gfp_shared_vals | lloyd | 2008-10-11 | 1 | -8/+10 |
| |