aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/tests.h
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for compression and SRP.lloyd2015-05-131-0/+3
| | | | | | | | Fix zlib decompression which was not ignoring Z_BUF_ERROR which is harmless in this context as process is already checking avail_in and avail_out after run returns. Bump version to 1.11.17
* Externalize the state of a RFC 6979 nonce computation.lloyd2015-03-121-1/+0
| | | | | | | | | | | | This lets you amortize quite a few memory allocations (RNG, various BigInts, etc) over many nonce generations. Change generate_rfc6979_nonce to just instantiate one of these states, call the function once, and return. This doesn't have any additional overhead versus the previous implementation of this function. Fix HMAC_DRBG to correctly reset its state to its starting position when you call clear() on it.
* Convert HKDF to the normal KDF interfacelloyd2015-02-181-1/+0
|
* Ensure all files have copyright and license info.lloyd2015-01-101-0/+5
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* All tests now share an RNG. Uses system RNG if availablelloyd2014-12-281-1/+3
|
* Add Curve25519 based on curve25519-donna by Adam Langley.lloyd2014-12-271-0/+1
| | | | | | This uses only the c64 version from curve25519-donna; on systems that don't have a native uint128_t type, a donna128 type stands in for just enough 128-bit operations to satisfy donna.cpp
* Add an implementation of McEliece encryption based on HyMESfstrenzke2014-11-261-0/+1
| | | | | | | (https://www.rocq.inria.fr/secret/CBCrypto/index.php?pg=hymes). The original version is LGPL but cryptsource GmbH has secured permission to release it under a BSD license. Also includes the Overbeck CCA2 message encoding scheme.
* Add some secp256k1 KATs and a randomized ECC test suggested inlloyd2014-10-101-0/+1
| | | | http://crypto.stackexchange.com/questions/784
* Add RFC 6979 nonce generator. Also some HMAC_DRBG cleanups.lloyd2014-03-221-0/+1
|
* Include build.h in tests.h so feature macro checks work consistently.lloyd2014-02-081-0/+1
|
* Split up test vectors into per-algo files and app into botan-test forlloyd2014-01-101-1/+11
| | | | the tests and botan for everything else.
* Cleanupslloyd2014-01-071-2/+0
|
* Split up public key tests and data, use new test frameworklloyd2014-01-051-8/+17
|
* Make test target selectablelloyd2014-01-041-1/+1
|
* Make tss example a test of sortslloyd2014-01-011-5/+3
|
* Shuffle things around. Add NIST X.509 test to build.lloyd2014-01-011-0/+77