aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pubkey.h
Commit message (Collapse)AuthorAgeFilesLines
* More raw pointer removalJack Lloyd2021-04-051-4/+4
|
* Implement Ed25519 public key checkingJack Lloyd2021-03-171-0/+14
| | | | GH #2660
* improve check if signature algorithm supports DER encodingPhilippe Lieser2020-10-091-0/+26
|
* Add ECDSA tests from WycheproofJack Lloyd2018-05-311-0/+4
|
* Support "mixed" OAEP hashesJack Lloyd2018-03-211-0/+20
| | | | | | Test vectors from pyca/cryptography Fixes GH #109
* Merge GH #1212 Add support for 'raw' PSS signaturesJack Lloyd2017-09-201-15/+9
|\
| * Support PSSR_RawJack Lloyd2017-09-161-15/+9
| | | | | | | | | | | | | | Allows PSS-signing a raw hash while also still specifying the salt length. GH #1211
* | Change header guard format to BOTAN_FOO_H_Jack Lloyd2017-09-201-2/+2
|/ | | | | | ISO C++ reserves names with double underscores in them Closes #512
* Add SM2 encryption schemeJack Lloyd2017-08-041-0/+6
| | | | This is a contribution from Ribose Inc (@riboseinc)
* Fix some maintainer mode warningsJack Lloyd2017-08-031-2/+2
|
* Merge GH #1035 Support generating RSA keys with OpenSSLJack Lloyd2017-05-031-0/+2
|\
| * Generate private RSA key with OpenSSL.Alexander Bluhm2017-04-301-0/+2
| | | | | | | | | | Implement RSA private key generation with RSA_generate_key_ex(). Make PK_Key_Generation_Test iterate over all providers.
* | Reformat code with astyle + fix code styleTomasz Frydrych2017-05-011-25/+35
|/
* Filter provider in test loops, skip text based without provider.Alexander Bluhm2017-04-211-0/+3
| | | | | | | | The tests for block, hash, stream, pubkey, and mac loop over all possible crypto providers. If a specific provider is given on the botan-test command line, use only this one. If the provider to be tested is restricted, skip text based tests that do not have a possible provider.
* Add some final annotations in the PK testsJack Lloyd2017-01-021-7/+7
|
* Add RSA PKCS1v1.5 signature verification tests from Wycheproof suite.Jack Lloyd2016-12-201-0/+21
| | | | | A set of carefully generated invalid signatures which are sometimes accepted by implementations due to bugs in padding verification.
* Minor refactoring of Text_Based_TestJack Lloyd2016-12-191-23/+38
| | | | | | 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 APIJack Lloyd2016-10-311-4/+1
|
* Add ECGDSARené Korthaus2016-04-191-0/+8
|
* Add ECDH testsJack Lloyd2016-01-031-2/+5
| | | | Only has vectors for NIST curves (data taken from NIST CAVS file)
* Add generalized KEM interfaceJack Lloyd2015-12-261-0/+16
| | | | | | Convert McEliece KEM to use it Add RSA-KEM
* Reroot the exception hierarchy into a toplevel Exception classJack Lloyd2015-12-111-2/+2
| | | | | | | | As the alternatives are unfortunate for applications trying to catch all library errors, and it seems deriving from std::runtime_error causes problems with MSVC DLLs (GH #340) Effectively reverts 2837e915d82e43
* Update and consolidate the test framework.Jack Lloyd2015-11-111-33/+104
| | | | | | | | | | | 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.
* 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.
* Split up test vectors into per-algo files and app into botan-test forlloyd2014-01-101-6/+25
| | | | the tests and botan for everything else.
* Split up public key tests and data, use new test frameworklloyd2014-01-051-0/+22