aboutsummaryrefslogtreecommitdiffstats
path: root/checks
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* If any are unequal print all values in test_gfp_shared_valslloyd2008-10-111-8/+10
|
* Get GF(p) test failures reported up to the higher level.lloyd2008-10-111-65/+159
|
* Reorder GF(p) tests, add more diagnostic output on test failurelloyd2008-10-091-14/+14
|
* Prevent unused warning if GF(p) math not compiled inlloyd2008-10-091-1/+1
|
* More diagnostics from GF(p) test failureslloyd2008-10-091-7/+15
|
* Add stub if GF(p) is disabledlloyd2008-10-091-4/+3
|
* Don't pull in the std namespacelloyd2008-10-091-50/+49
|
* Make GF(p) tests part of normal test suitelloyd2008-10-093-0/+718
|
* Add SHA-224 from InSiTo, written and (C) by FlexSecure GmbHlloyd2008-10-081-0/+5
| | | | | Rename sha256.h and sha_64.h to sha2_32.h and sha2_64.h - this affects users who instantiate these classes directly.
* Revert part of revision b87599ffaee2d8ed2ec7597634413e73e4fb2fd8 thatlloyd2008-10-021-2/+2
| | | | | | | | added a new mandatory parameter of a Library_State& to get_cipher(). Do this so Monotone does not have to special case. Other lookup related functions like retrieve_<type> and add_algorithm() still require a Library_State& however.
* Remove spurious include of <botan/look_pk.h> from dolook2.cpplloyd2008-10-011-1/+0
|
* Handle building Botan with almost all public key code disabled (though onlylloyd2008-10-012-35/+49
| | | | | | | with the aid of macro hackery, at the moment). Change DH feature macro to BOTAN_HAS_DIFFIE_HELLMAN Change NR feature macro to BOTAN_HAS_NYBERG_RUEPPEL
* Line wrap at 80 columnslloyd2008-10-012-5/+11
|
* Report skipped DH testslloyd2008-10-011-2/+3
|
* Note in test suite output if DSA tests are being skippedlloyd2008-10-011-6/+7
|
* During the public key test suite, print . if the test passed, ? if thelloyd2008-10-011-7/+16
| | | | | | | algorithm could not be found, or X if the test fails. Before, one could disable (say) NR, and the NR tests would all look to pass, because they are being silently skipped. This gives some feedback that the test is not actually being run.
* s/Mbyte/MiB/ to be precise about meaning (2^20 bytes/second)lloyd2008-09-301-2/+2
|
* Remove lookup.h from X9.31 PRNG, X9.19 MAC, SSLv3 MAC, PBKDF1lloyd2008-09-301-5/+5
|
* Remove lookup from Randpool, HMAC, CMAC, CBC-MAC, TLS-PRF, and PBKDF2lloyd2008-09-301-1/+2
|
* Remove the misc dir:lloyd2008-09-29479-0/+462
| | | | | | | | | | Moved XS, Boost Python, and SWIG wrappers to new toplevel directory 'wrappers' Moved NIST X.509 test suite into checks directory Move the build information used by configure.pl to src/build-data Move scripts directory to doc (for lack of a better spot)
* Expose use of global state in some of the lookup functions, includinglloyd2008-09-291-2/+3
| | | | get_cipher
* Compliation fixeslloyd2008-09-282-7/+6
|
* Modularize the public key algorithms, though currently a great deal oflloyd2008-09-283-52/+165
| | | | | | the underlying implementation goop remains in the core library instead of being shunted off, due to various dependencies it has (most of which it shouldn't).
* Allow test suite to build even if RNG or DLIES is missinglloyd2008-09-282-4/+22
|
* Create an x509 module containing all of the X509 certificate and CAlloyd2008-09-281-37/+50
| | | | code as well as the code for handling PKCS #10 requests.
* Modularize hashes and checksumslloyd2008-09-281-1/+1
|
* Modularize the Adler32 checksum in checksums/adler32lloyd2008-09-281-6/+6
| | | | | | | | | Add a new option --disable-modules which allows for disabling any set of modules that normally would be autoloaded. Rename the Botan feature test macros from BOTAN_EXT_BLAH to BOTAN_HAS_BLAH, which will be much more sensible especially when everything is done in this fashion (eg, BOTAN_HAS_BLOWFISH or BOTAN_HAS_RSA, etc)
* Add back from Ajisai 0.5.0 the implementations of the SSLv3 MAC and PRFlloyd2008-09-271-0/+240
| | | | | | | | | | | and the TLS v1.0 PRF. These were removed from Botan in v1.4.5. Initially I had felt that since these protocols were specific to SSL/TLS they should be placed in Ajisai (an SSL/TLS library based on Botan). However upon further reflection I have realized it is quite possible that other alternate implementations of SSL/TLS based on Botan would be quite desirable, and so to make that (a very slightly bit) easier I am adding back the SSL/TLS functions to Botan, so other SSL/TLS libs can use them directly.
* Use --init arg, was disabled at some point earlierlloyd2008-09-161-1/+1
|
* Time RSA key generation againlloyd2008-09-151-1/+5
|
* Clean up creation of RNG objectslloyd2008-09-151-9/+8
|
* Explicit cast from double to int using static_castlloyd2008-09-151-1/+1
|
* Oops disable part of previous, was for testinglloyd2008-09-141-1/+7
|
* Only randomize inputs every 100 runs to minimize overhead (makes profiling ↵lloyd2008-09-141-31/+40
| | | | easier)
* Split RSA and RW benchmarks. Benchmark RSA encryption and signatures.lloyd2008-09-141-16/+87
|
* Don't allow zero second benchmarkslloyd2008-09-141-1/+1
|
* Increase default benchmark time to 5s... 1.5 seconds (old value) is toolloyd2008-09-141-2/+2
| | | | | low, can be easily thrown off by random background activity, especially on uniprocessor machines
* Padding changes in the PK benchmarks:lloyd2008-09-121-3/+3
| | | | | | RSA: EMSA4(SHA-1) -> EMSA1(SHA-1) RW: EMSA4(SHA-1) -> EMSA2(SHA-1) ELG: Raw -> EME1(SHA-1)
* In the benchmarks, replace Lion(MD5,WiderWake4+1-BE,65536) with1.7.11lloyd2008-09-111-4/+8
| | | | | Lion(SHA-256,Turing,8192) and replace Luby-Rackoff(SHA-1) with Luby-Rackoff(SHA-512)
* Handle configuration of what kind of clock to use for benchmarking.lloyd2008-09-111-4/+39
| | | | | | Linux defaults to clock_gettime, FreeBSD defaults to gettimeofday, everything else defaults to clock (though it is easy to a timer on with -DUSE_<CLOCK_NAME>=1, eg -DUSE_GETTIMEOFDAY=1 or -DUSE_TIMES=1
* Add implementation of Salsa20 stream cipherlloyd2008-09-092-0/+281
|
* Fix --bench-typelloyd2008-09-091-10/+17
|
* Add --test to OptionParser listlloyd2008-09-081-1/+1
|
* Last checkin would crash, because the destructor for the rng would notlloyd2008-09-081-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 duringlloyd2008-09-081-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.