aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_gf2m.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reformat code with astyle + fix code styleTomasz Frydrych2017-05-011-1/+1
|
* Remove dead write. Closes GH #401Jack Lloyd2016-02-071-2/+5
|
* Update and consolidate the test framework.Jack Lloyd2015-11-111-24/+52
| | | | | | | | | | | 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.
* McEliece cleanupsJack Lloyd2015-09-291-0/+46
Remove and consolidate various headers Reduce memory usage of GF2m_Field by sharing the log and exponent tables across all instances of a particular word size. Remove McEliece_Public_Operation and McEliece_Private_Operation which were difficult to use safely. Instead only the KEM operations are exposed. Add McEliece_PublicKey::random_plaintext_element Add command line `mce` tool and some McEliece documentation Convert the speed program to check McEliece keys of the suggested size Add McEliece KATs for both key generation and KEM Fix HMAC_DRBG constructor which derefed a pointer before its time