Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support recovering ECDSA public key from message/signature pair | Jack Lloyd | 2018-12-10 | 1 | -0/+50 |
| | | | | | | See http://www.secg.org/sec1-v2.pdf section 4.1.6 Closes #664 | ||||
* | Add ECDSA tests from Wycheproof | Jack Lloyd | 2018-05-31 | 1 | -0/+41 |
| | |||||
* | Make the tests VarMap an actual type instead of a hashmap typedef. | Jack Lloyd | 2018-05-29 | 1 | -9/+9 |
| | |||||
* | Shift ECDSA inputs to match OpenSSL behavior | Jack Lloyd | 2018-03-21 | 1 | -0/+33 |
| | | | | See also GH #986 | ||||
* | Use shared representation of EC_Group | Jack Lloyd | 2018-01-31 | 1 | -1/+1 |
| | | | | Hide CurveGFp with an eye for eventual removal | ||||
* | Add final annotations as appropriate in the test code | Jack Lloyd | 2017-09-22 | 1 | -3/+3 |
| | |||||
* | Allow signature using `Raw(hashname)` | Jack Lloyd | 2017-08-15 | 1 | -1/+1 |
| | | | | | | This confirms the message is exactly the size of the expected hash, and also causes RFC 6979 nonces to be generated using the specified hash. See also https://github.com/riboseinc/rnp/issues/367 | ||||
* | Fix issue signing an ECDSA hash of all-zeros (GH #1143) | Jack Lloyd | 2017-08-07 | 1 | -1/+4 |
| | | | | | The tests were generated by Botan but I was able to verify the resulting signatures using Golang's ecdsa module. | ||||
* | Reformat code with astyle + fix code style | Tomasz Frydrych | 2017-05-01 | 1 | -13/+24 |
| | |||||
* | Add ECDSA key tests from Google's project Wycheproof | René Korthaus | 2017-02-12 | 1 | -10/+10 |
| | |||||
* | Add test vectors for invalid ECDSA public keys from FIPS 186-4 | René Korthaus | 2017-02-12 | 1 | -0/+1 |
| | |||||
* | Add test vectors for invalid ECDSA public keys from FIPS 186-2 | René Korthaus | 2017-02-12 | 1 | -0/+39 |
| | |||||
* | Minor refactoring of Text_Based_Test | Jack Lloyd | 2016-12-19 | 1 | -2/+2 |
| | | | | | | Turns out astyle has some bugs wrt C++11 initialize lists. Rather than having astyle mangle all of the tests, convert to using a string which is split once at the start instead of a vector of keys. | ||||
* | Test PK key creation via create_private_key API | Jack Lloyd | 2016-10-31 | 1 | -8/+1 |
| | |||||
* | Pubkey tests should express category [ci skip] | René Korthaus | 2016-10-24 | 1 | -1/+1 |
| | |||||
* | Added ecdsa_keygen for frp256v1 | Simon Cogliani | 2016-08-01 | 1 | -1/+1 |
| | |||||
* | Add support probabilistic DSA & ECDSA | René Korthaus | 2016-05-08 | 1 | -1/+17 |
| | | | | | | | Adds support for probabilistic, aka the standard, DSA and ECDSA. Can be enabled by disabling the rfc6979 module. Includes test vectors from NIST CAVP. Adds rfc6979 to the list of prohibited modules in BSI policy. | ||||
* | Add --data-dir option to test command | Jack Lloyd | 2015-12-20 | 1 | -1/+1 |
| | | | | | | | Understand using '-' on the command line to mean stdin Fix last few unit tests that wanted to write to the filesystem; removes outdata directory. | ||||
* | Update and consolidate the test framework. | Jack Lloyd | 2015-11-11 | 1 | -45/+49 |
| | | | | | | | | | | | 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. | ||||
* | Fix | Jack Lloyd | 2015-10-19 | 1 | -2/+2 |
| | |||||
* | ECDSA KATs only work for base impl | Jack Lloyd | 2015-10-19 | 1 | -2/+2 |
| | | | | | OpenSSL doesn't use RFC 6979 nonces, so if openssl was enabled ECDSA tests would fail. | ||||
* | Avoid concatination of chars | Simon Warta | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | Ever tried? auto str = "some long string"; auto str2 = str + '\n'; It's not with the brainfuck finding the bug. | ||||
* | Add power analysis countermeasures for ECC point multiplications. | Jack Lloyd | 2015-08-21 | 1 | -3/+2 |
| | | | | | | | | The plain PointGFp operator* now uses Montgomery ladder exclusively. Adds a blinded point multiply algorithm which uses exponent and point randomization, as well as a Montgomery ladder technique that takes a random walk of the possible addition chains for k. | ||||
* | Fix TEST_DATA_DIR | Simon Warta | 2015-07-15 | 1 | -1/+1 |
| | |||||
* | Make Botan compile when only some modules are enabled | Simon Warta | 2015-07-03 | 1 | -52/+8 |
| | | | | Fixes #146. | ||||
* | Replace \n by std::endl in tests to ensure proper flushing | Simon Warta | 2015-06-19 | 1 | -2/+2 |
| | | | | | | | - Remove additional newlines in CHECK_MESSAGE call - Remove redundant output of algo in aead_test() Closes #115 | ||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 1 | -0/+6 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Add Brainpool and secp160r1 ECDSA tests | lloyd | 2015-01-05 | 1 | -1/+2 |
| | |||||
* | All tests now share an RNG. Uses system RNG if available | lloyd | 2014-12-28 | 1 | -2/+2 |
| | |||||
* | Implement RFC 6979 determinstic signatures for DSA and ECDSA. | lloyd | 2014-12-10 | 1 | -1/+1 |
| | | | | | Drop the GNU MP engine. Its implementations were potentially faster in some scenarios but not well protected against side channels. | ||||
* | Add some secp256k1 KATs and a randomized ECC test suggested in | lloyd | 2014-10-10 | 1 | -0/+48 |
| | | | | http://crypto.stackexchange.com/questions/784 | ||||
* | More fixes for minified builds | lloyd | 2014-02-09 | 1 | -8/+5 |
| | |||||
* | Fix minimized builds. Patch by Markus Wanner sent to botan-devel | lloyd | 2014-02-08 | 1 | -0/+6 |
| | |||||
* | Split up docs into the reference manual, the website, and everything else. | lloyd | 2014-01-10 | 1 | -0/+52 |
| | | | | | | | | | | | Add `website` target to makefile. Some progress towards fixing minimized builds. TLS now hard requires ECDSA and GCM since otherwise a minimized build has only insecure options. Remove boost_thread dependency in command line tool | ||||
* | Rename test sources | lloyd | 2014-01-07 | 1 | -52/+0 |
| | |||||
* | Split up public key tests and data, use new test framework | lloyd | 2014-01-05 | 1 | -461/+23 |
| | |||||
* | Shuffle things around. Add NIST X.509 test to build. | lloyd | 2014-01-01 | 1 | -0/+490 |