Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modify the self test program to use the builtin runtime benchmarking goop. | lloyd | 2009-09-24 | 1 | -29/+3 |
| | | | | | | | | | Features dropped: RNG benchmarking, the --bench-type option. New feature: Anything the library understands can be benchmarked using --bench-algo. Use 3DES and Serpent for mode benchmarking along with AES-128. | ||||
* | Remove support for HTML benchmark output. Easier/simpler to parse the | lloyd | 2009-08-14 | 1 | -14/+11 |
| | | | | | output with a script after the fact to generate such things, especially as often for HTML I want to do multiple side-by-side results. | ||||
* | Return the test suite result code from main() | lloyd | 2009-07-12 | 1 | -1/+1 |
| | |||||
* | Return 1 to system if exception is caught in check prog | lloyd | 2009-07-12 | 1 | -0/+2 |
| | |||||
* | Move AutoSeeded_RNG decl before check for --help flag, so startup time is ↵ | lloyd | 2008-11-22 | 1 | -2/+2 |
| | | | | easy to measure | ||||
* | Reorganize all GF(p)/ECC tests to be called from pk.cpp | lloyd | 2008-11-17 | 1 | -2/+0 |
| | |||||
* | Output that ECC tests are being run, and run them after GF(p) math tests ↵ | lloyd | 2008-11-17 | 1 | -2/+1 |
| | | | | which is a reasonable ordering | ||||
* | Tame ec_tests.cpp and integrate it into the test code. | lloyd | 2008-11-17 | 1 | -0/+2 |
| | | | | | | | | 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. | ||||
* | Fix mode benchmarking | lloyd | 2008-11-17 | 1 | -0/+2 |
| | |||||
* | 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. | ||||
* | Update initializer in self-test | lloyd | 2008-11-10 | 1 | -3/+2 |
| | |||||
* | 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/ | ||||
* | 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 test suite for card verifiable certificates (cert/cvc) from InSiTo ↵ | lloyd | 2008-10-14 | 1 | -0/+1 |
| | | | | (tests by Falko Strenzke) | ||||
* | Make GF(p) tests part of normal test suite | lloyd | 2008-10-09 | 1 | -0/+1 |
| | |||||
* | Line wrap at 80 columns | lloyd | 2008-10-01 | 1 | -1/+3 |
| | |||||
* | Use --init arg, was disabled at some point earlier | lloyd | 2008-09-16 | 1 | -1/+1 |
| | |||||
* | Don't allow zero second benchmarks | lloyd | 2008-09-14 | 1 | -1/+1 |
| | |||||
* | Increase default benchmark time to 5s... 1.5 seconds (old value) is too | lloyd | 2008-09-14 | 1 | -2/+2 |
| | | | | | low, can be easily thrown off by random background activity, especially on uniprocessor machines | ||||
* | Fix --bench-type | lloyd | 2008-09-09 | 1 | -10/+17 |
| | |||||
* | Add --test to OptionParser list | lloyd | 2008-09-08 | 1 | -1/+1 |
| | |||||
* | Last checkin would crash, because the destructor for the rng would not | lloyd | 2008-09-08 | 1 | -60/+55 |
| | | | | | | | | run until after the block ended, which was after set_global_state(0) had run, causing crashes in the destructors that attempted to free memory. Restructure the argument handling, it is significantly easier to understand now. Only create the rng where it is needed. | ||||
* | Run test_types every time prior to initialization, instead of just during | lloyd | 2008-09-08 | 1 | -58/+66 |
| | | | | | | | the test suite. Instead of exiting, just carry on; the full test suite will check if the problem is real or if std::numeric_limits is just wonky. | ||||
* | Delete the self-test global RNG: just create one in main() and pass it | lloyd | 2008-06-28 | 1 | -20/+21 |
| | | | | where it is needed. | ||||
* | Remove most of the direct references to the global_rng() call | lloyd | 2008-06-28 | 1 | -11/+15 |
| | |||||
* | Fix -Wmissing-declarations warning | lloyd | 2008-06-16 | 1 | -40/+43 |
| | |||||
* | Fix some -Wmissing-declarations warnings | lloyd | 2008-06-12 | 1 | -6/+2 |
| | |||||
* | Make the contents of Botan_types namespace be just using declarations, | lloyd | 2008-06-07 | 1 | -1/+1 |
| | | | | instead of introducing new typedefs. | ||||
* | Prevent lines > 80 columns | lloyd | 2007-11-11 | 1 | -1/+1 |
| | |||||
* | Increase the (arbitrary) upper bound on how long the benchmarks can run to | lloyd | 2007-09-18 | 1 | -1/+1 |
| | | | | 5 minutes (300 seconds). | ||||
* | Document the --init flag to check | lloyd | 2007-03-09 | 1 | -1/+3 |
| | |||||
* | Use OptionParser::init_if_set | lloyd | 2006-12-09 | 1 | -18/+14 |
| | | | | Inline the print_help function | ||||
* | Add (very basic) HTML output for public key benchmarking. | lloyd | 2006-09-27 | 1 | -3/+3 |
| | |||||
* | Allow --bench-algo to take multiple arguments | lloyd | 2006-09-26 | 1 | -4/+10 |
| | |||||
* | Respect the --seconds command line argument with --bench-algo | lloyd | 2006-08-13 | 1 | -2/+2 |
| | |||||
* | In 'check', always initialize the library and run basic self tests, even | lloyd | 2006-08-12 | 1 | -6/+2 |
| | | | | if run with no arguments. | ||||
* | Remove the public domain notices from the self-test/benchmark code, | lloyd | 2006-08-09 | 1 | -3/+0 |
| | | | | because it turns out to be something of a legal minefield. | ||||
* | Enable testing the sizes of basic types in the test suite, and fix some | lloyd | 2006-08-09 | 1 | -23/+7 |
| | | | | minor compile errors and warnings that had crept into that code. | ||||
* | Add a simple option parser to the check utility; it makes for much saner | lloyd | 2006-08-09 | 1 | -72/+54 |
| | | | | | | | | | | code in check.cpp, and now the order of options on the command line should not change what heppens. The options taken have changed slightly. All options that take values are now --arg=value instead of "--arg value", and the various --bench-(blah) options have been turned into a new option --bench-type that takes an argument specifying the type of algorithm to benchmark. | ||||
* | Revert last change to check.cpp (didn't mean to commit that) | lloyd | 2006-06-07 | 1 | -3/+3 |
| | | | | Commit the actual squaring tests in checks/bigint.cpp | ||||
* | Add hooks for tests for the squaring algorithms | lloyd | 2006-06-07 | 1 | -3/+3 |
| | |||||
* | Initial checkin1.5.6 | lloyd | 2006-05-18 | 1 | -0/+262 |