aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/hash
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for 4-pass Tiger hashJack Lloyd2016-12-221-0/+12
|
* Add SHAKE-128 and SHAKE-256 as hash functionsJack Lloyd2016-11-101-0/+29
|
* Add proper SHA-3Jack Lloyd2016-10-191-0/+1216
| | | | | | | | | | Kind of a copy and paste of Keccak, but only a single copy of the permutation at least. Keccak depends on SHA-3 instead of the reverse, so that SHA-3 can be enabled without also bringing in an unapproved hash function. Updates newhope code and removes API function newhope_hash which was an unofficial SHA-3-256.
* Add cpuid overload to test frameworkJack Lloyd2016-09-151-0/+2
|
* Remove deprecated hashes MD2, HAS-160, and RIPEMD-128Jack Lloyd2016-09-024-275/+0
|
* improve parallel hash tests + memory leak fixDaniel Neus2016-07-201-0/+4
| | | | | | | | | | - add one test with SHA-256,SHA-512 - test Parallel::clone() - test Parallel ctor - fix memory leak in Parallel::clone(): Currently Parallel::clone() calls hash->clone() (first heap allocation) and after this clone() calls Parallel(const std::vector<HashFunction*>& in) which does another heap allocation. So its sufficient to pass the hash pointer to the Parallel ctor instead of a clone
* Blake2b: add 'abc' test vectorcynecx2016-01-261-0/+3
|
* Add Blake2b hash functioncynecx2016-01-261-0/+3111
|
* Update and consolidate the test framework.Jack Lloyd2015-11-116-8/+8
| | | | | | | | | | | The tests previously had used 4 to 6 different schemes internally (the vec file reader framework, Catch, the old InSiTo Boost.Test tests, the PK/BigInt tests which escaped the rewrite in 1.11.7, plus a number of one-offs). Converge on a design that works everywhere, and update all the things. Fix also a few bugs found by the test changes: SHA-512-256 name incorrect, OpenSSL RC4 name incorrect, signature of FFI function botan_pubkey_destroy was wrong.
* Add SHA-512/256lloyd2015-01-081-0/+4
| | | | | Define some new functions for copying out arrays of words and use them across hashes.
* Remove Square, Skipjack, Luby-Rackoff, and Blue Midnight Wish.lloyd2014-02-081-805/+0
|
* Split up test vectors into per-algo files and app into botan-test forlloyd2014-01-1020-0/+9567
the tests and botan for everything else.