aboutsummaryrefslogtreecommitdiffstats
path: root/checks
Commit message (Collapse)AuthorAgeFilesLines
* Change the interface of X509_CA::sign_request as follows:lloyd2008-04-101-2/+7
| | | | | | | | | | | - The allow_ca policy value is no longer checked. Callers should check if the request is for a CA cert and treat it accordingly; this makes it simpler to to case-by-case decisions (expecially among multiple threads) - Instead of a single time value, a u32bit representing the number of seconds from now the certificate should expire, the start and end times are passed explicitly as two X509_Time values.
* Fix pk_bench.cpp compilation (remove a stray try statement)lloyd2008-01-171-3/+2
|
* merge of '3d9e9476c5b2a2ee125eee7e0dd10bfe460d0546'lloyd2007-12-2418-342/+364
|\ | | | | | | and '9fe0310805932b889bdfa17c9213f2b97d47ab6a'
| * Replace C-style casts with static_cast (found by GCC's -Wold-style-cast)lloyd2007-11-172-6/+5
| |
| * Add base64 encoding and decoding to the set of benchmarked filterslloyd2007-11-161-0/+3
| |
| * Revert the change that renamed append() to push_back(). As pointed outlloyd2007-11-151-1/+1
| | | | | | | | | | | | by Joel Low on the mailing list, the STL container types have only a single version of push_back(), along with variations of insert() for handling range-based appending.
| * Rename MemoryRegion::append to push_backlloyd2007-11-141-1/+1
| | | | | | | | Change all callers in the library and self-test code.
| * Prevent lines > 80 columnslloyd2007-11-111-1/+1
| |
| * Wrap lines in pk_bench and passhash to keep them under 80 columns.lloyd2007-10-191-3/+4
| |
| * Remove several uses of old style C casts in favor of C++98's static_cast and lloyd2007-10-193-7/+14
| | | | | | | | reinterpret_cast
| * Increase the (arbitrary) upper bound on how long the benchmarks can run tolloyd2007-09-181-1/+1
| | | | | | | | 5 minutes (300 seconds).
| * Add CBC-MAC(AES) tests that use longer inputslloyd2007-09-171-1/+85
| |
| * Check in an initial implementation of CBC-MAC.lloyd2007-09-161-136/+136
| | | | | | | | | | | | | | The test vectors were generated by Crypto++ 5.5 on a Linux/x86-64 machine. Test vectors for CBC-MAC(DES) all pass, for inputs up to 63 bytes. For CBC-MAC(AES-128), all test vectors with inputs over 10 bytes fail to verify against what Crypto++ produces. Unknown at this time where the bug lies.
| * Cleanup the public key benchmark code: avoid macros, use PEM/PKCSlloyd2007-09-1311-190/+119
| | | | | | | | | | | | | | | | | | #8 format to store Rabin-Williams keys, inline small functions that are only called once into their caller. Reduces overall length of the file from 458 to 367 lines. Rename all the key files in keys/ to use a .pem suffix since they are all now in PEM format (the RSA keys had been for a long time but were never renamed).
| * Remove code checking the BOTAN_NO_ macros for if particular public keylloyd2007-09-132-69/+9
| | | | | | | | | | algorithms exist. They haven't been used since the 'minimal' module was removed in Botan 1.3.14
| * Comment out the CBC-MAC test vectors for now since they cause warningslloyd2007-09-131-136/+136
| | | | | | | | about unknown algorithm names.
* | Remove the BOTAN_NO_ macroslloyd2007-09-132-69/+9
| |
* | Comment out the CBC-MAC test vectors since the algorithm has not beenlloyd2007-09-071-136/+136
|/ | | | implemented yet and warnings result when running the validation suite.
* Check in some test vectors for plain FIPS 113 CBC-MAC using DES and AES-128lloyd2007-08-031-0/+137
|
* Use the get_clock/get_ticks code instead of calling std::clock directly. Allowslloyd2007-07-231-5/+6
| | | | (nominally) more accurate results.
* DSA-2048 and DSA-3072 benchmarks, disabled for a while due to lack oflloyd2007-03-091-4/+6
| | | | 'standard' groups (I may just go ahead and do this).
* Document the --init flag to checklloyd2007-03-091-1/+3
|
* Eliminate most uses of exit() to bail on an error; instead throw anlloyd2007-02-193-33/+14
| | | | exception upto the top level, that's what it's there for.
* Use OptionParser::init_if_setlloyd2006-12-091-18/+14
| | | | Inline the print_help function
* Add a value_if_set member function to the getopt implementation (returnslloyd2006-12-092-1/+9
| | | | the option argument, or an empty string if no argument set)
* Decide to print ms/op or ops/second at runtime instead of compile time.lloyd2006-11-121-10/+8
|
* Add (very basic) HTML output for public key benchmarking.lloyd2006-09-272-14/+29
|
* Change the default CPU MHz when RDTSC is used to 1.866 GHz to match motokolloyd2006-09-261-1/+1
|
* Allow --bench-algo to take multiple argumentslloyd2006-09-261-4/+10
|
* Update reference for the SEED test vectorslloyd2006-09-141-2/+2
|
* Rename X509_PublicKey and PKCS8_PrivateKey to the new types within thelloyd2006-09-063-12/+12
| | | | self-test sources
* Split PK_Key into Public_Key and Private_Key; these new classes merge inlloyd2006-09-061-5/+32
| | | | the interfaces previously included in X509_PublicKey and PKCS8_PrivateKey.
* Respect the --seconds command line argument with --bench-algolloyd2006-08-132-4/+4
|
* Add checks for MD4, MD5, and SHA-1 for zero-length inputslloyd2006-08-131-0/+3
|
* In 'check', always initialize the library and run basic self tests, evenlloyd2006-08-121-6/+2
| | | | if run with no arguments.
* Remove the public domain notices from the self-test/benchmark code,lloyd2006-08-0912-19/+2
| | | | because it turns out to be something of a legal minefield.
* Add header guardslloyd2006-08-091-0/+5
|
* Enable testing the sizes of basic types in the test suite, and fix somelloyd2006-08-091-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 sanerlloyd2006-08-093-72/+171
| | | | | | | | | | 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.
* Modify the X.509 tests so they pick up a bug in PKCS10_Requestlloyd2006-06-231-0/+2
|
* Correct the name of the function with the bug.lloyd2006-06-071-4/+2
|
* Add more squaring testslloyd2006-06-071-0/+36
|
* Revert last change to check.cpp (didn't mean to commit that)lloyd2006-06-072-3/+21
| | | | Commit the actual squaring tests in checks/bigint.cpp
* Add an initial set of squaring tests to mp_valid.datlloyd2006-06-071-0/+41
|
* Add hooks for tests for the squaring algorithmslloyd2006-06-071-3/+3
|
* If we find a problem during the BigInt tests, print the data in hexlloyd2006-05-191-8/+2
| | | | instead of decimal.
* Initial checkin1.5.6lloyd2006-05-1826-0/+42360