aboutsummaryrefslogtreecommitdiffstats
path: root/checks
Commit message (Collapse)AuthorAgeFilesLines
* Move AutoSeeded_RNG decl before check for --help flag, so startup time is ↵lloyd2008-11-221-2/+2
| | | | easy to measure
* Disable ec_tests.cpp unless ECDSA is enabledlloyd2008-11-171-1/+13
|
* Reorganize all GF(p)/ECC tests to be called from pk.cpplloyd2008-11-174-11/+13
|
* Output that ECC tests are being run, and run them after GF(p) math tests ↵lloyd2008-11-172-2/+5
| | | | which is a reasonable ordering
* Tame ec_tests.cpp and integrate it into the test code.lloyd2008-11-173-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)lloyd2008-11-171-0/+1202
|
* Fix mode benchmarkinglloyd2008-11-171-0/+2
|
* Use std::vector instead of SecureVector to hold random input for filter ↵lloyd2008-11-171-3/+3
| | | | benchmark
* Only create RNG if needed in test applloyd2008-11-131-5/+5
|
* Remove support for provider identifiers from SCAN_Name - it turns out thislloyd2008-11-121-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 backwardslloyd2008-11-111-1/+1
| | | | compatability.
* Fix segfault due to shared objects in DLIES testlloyd2008-11-111-3/+10
|
* Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpplloyd2008-11-112-4/+13
|
* Update initializer in self-testlloyd2008-11-101-3/+2
|
* Another check for Parallel matching TLS.Digest.0 checklloyd2008-11-101-0/+3
|
* Handle HMAC_RNG not being enabled in dolook2.cpplloyd2008-11-101-11/+20
|
* Add DLIES benchmarklloyd2008-11-091-10/+72
|
* Remove include of enums.hlloyd2008-11-081-1/+0
|
* Split the last parts of the 'core' modulelloyd2008-11-081-0/+1
| | | | Add some missing info.txts
* Add AutoSeeded_RNG to benchmark outputlloyd2008-11-072-0/+10
|
* Add HMAC_RNG benchmarks. Change X9.31 PRNG to use HMAC_RNG as lower RNGlloyd2008-10-282-11/+35
|
* Remove stray textlloyd2008-10-281-1/+0
|
* Use a single RNG in check/test codelloyd2008-10-271-10/+5
|
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-261-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 textlloyd2008-10-241-1/+1
|
* More useful PK benchmark output (also a bit easier to parse)lloyd2008-10-221-32/+46
|
* Use heap rather than stack for data input. Increase size to 128klloyd2008-10-221-5/+5
|
* Avoid integer overflows in the benchmark timer code. This would lead tolloyd2008-10-222-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 chooselloyd2008-10-171-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 becauselloyd2008-10-151-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 ↵lloyd2008-10-151-1/+1
| | | | brackets)
* Add a CBC-MAC/AES test vector from Bounce Castle via InSiTo's cbcmac_tests.cpplloyd2008-10-141-0/+6
|
* Point CVC tests against the right directorylloyd2008-10-141-36/+38
|
* Add test suite for card verifiable certificates (cert/cvc) from InSiTo ↵lloyd2008-10-144-18/+608
| | | | (tests by Falko Strenzke)
* Add ECKAEG tests from InSiTo, by Manuel Hartllloyd2008-10-143-0/+299
|
* Add ECKAEG benchmark. Fix several problems found in ECKAEG key (had pure ↵lloyd2008-10-131-5/+73
| | | | virtuals)
* Spellinglloyd2008-10-131-2/+2
|
* Add DES/CBC and 3DES/CBC to benchmark output. (3DES/CBC shows up as 17%lloyd2008-10-131-0/+3
| | | | faster than OpenSSL's - I hope that is not a fluke in the benchmark program)
* Add a simplistic ECDSA benchmarklloyd2008-10-121-0/+58
|
* ec_test_mes1 file no longer used by ECDSA testslloyd2008-10-121-1/+0
|
* ECDSA test cleanup. Remove some old commented out code.lloyd2008-10-121-40/+41
|
* Drop two test-generated files. Add one input file needed for ECDSA signaturelloyd2008-10-123-8/+1
| | | | test.
* Cleanup ECDSA tests. Enable test_ec_sign testlloyd2008-10-121-23/+12
|
* Move InSiTo's ECDSA tests into the main test suitelloyd2008-10-123-10/+580
|
* Generate an ECDSA cert if ECDSA is enabled during testslloyd2008-10-111-0/+9
|
* MSVC does not recognize and as equiv to && in a preprocessor statementlloyd2008-10-111-1/+1
|
* Drop files generated each test runlloyd2008-10-114-41/+0
|
* Add set of ECC/ECDSA test data, including X.509 and CVC certificates,lloyd2008-10-1147-0/+218
| | | | from InSiTo
* s/BOOST_CHECK/CHECK/ in macros since this isn't really using the Boost ↵lloyd2008-10-111-113/+113
| | | | testsuite at all
* Quieter GF(p) testslloyd2008-10-111-2/+6
|