aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/hash
Commit message (Collapse)AuthorAgeFilesLines
* Add a test of Skein using personalization stringJack Lloyd2017-12-281-0/+5
| | | | | Need to confirm this against another impl but at least this prevents regressions.
* Add Streebog hash (GOST R 34.11-2012).Daniel Wyatt2017-08-041-0/+796
|
* Add SM2 signature schemeJack Lloyd2017-06-291-0/+5
| | | | | | From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc).
* Small cleanups for ARM SHA codeJack Lloyd2017-05-201-0/+387
| | | | | | | Fix for new define syntax, remove old style casts. Add some randomly generated longer SHA-256 vectors, previously had precisely zero multiblock tests.
* Add SHA-256 using ARMv8 instructionsJack Lloyd2017-05-202-2/+2
| | | | Based on patch from Jeffrey Walton in GH #841
* Add support for Intel SHA-1/SHA-2 instructionsJack Lloyd2017-05-192-1/+3
| | | | Based on GH #807 and #808
* Add more SM3 hash test data.Daniel Wyatt2017-04-031-0/+417
|
* Add SM3 hash functionDaniel Wyatt2017-04-031-0/+6
|
* 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.