diff options
author | Simon Cogliani <[email protected]> | 2016-08-01 23:44:06 +0200 |
---|---|---|
committer | Simon Cogliani <[email protected]> | 2016-08-01 23:44:06 +0200 |
commit | c81c0d2c69caa8d8bd79b1ad5757c8eb28494720 (patch) | |
tree | 88ec7eca51e7042e42cecfa0a7ffd9e48fbbce32 /src | |
parent | 66b336444716a868ac0f9ae464aab5b02a2db8a1 (diff) |
Added ecdsa_keygen for frp256v1
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/data/pubkey/ecdsa_rfc6979.vec | 3 | ||||
-rw-r--r-- | src/tests/test_ecdsa.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/tests/data/pubkey/ecdsa_rfc6979.vec b/src/tests/data/pubkey/ecdsa_rfc6979.vec index 5aafead36..a9fafadc6 100644 --- a/src/tests/data/pubkey/ecdsa_rfc6979.vec +++ b/src/tests/data/pubkey/ecdsa_rfc6979.vec @@ -341,8 +341,7 @@ Signature = 00C114E2B133AD8E725AF43AEFC381BE87063DB3FC00CAFAEB1949015CF4EC9EC247 Hash = SHA-512 Signature = 0080F3C4742E7341BE2E4D86E88757AB96F62427B500FD634D64F554BEC04211952798147420BBC98E15 -# test vectors generated with python-ecdsa with a frp256v1 addition patch -# https://github.com/warner/python-ecdsa +# frp256v1 (generated by botan) Group = frp256v1 X = 0xC9AFA9D845BA75166B5C215767B1D6934E50C3DB36E89B127B8A622B120F6721 diff --git a/src/tests/test_ecdsa.cpp b/src/tests/test_ecdsa.cpp index 15490f1f8..be56c315e 100644 --- a/src/tests/test_ecdsa.cpp +++ b/src/tests/test_ecdsa.cpp @@ -64,7 +64,7 @@ class ECDSA_Signature_KAT_Tests : public PK_Signature_Generation_Test class ECDSA_Keygen_Tests : public PK_Key_Generation_Test { public: - std::vector<std::string> keygen_params() const override { return { "secp256r1", "secp384r1", "secp521r1" }; } + std::vector<std::string> keygen_params() const override { return { "secp256r1", "secp384r1", "secp521r1", "frp256v1" }; } std::unique_ptr<Botan::Private_Key> make_key(Botan::RandomNumberGenerator& rng, const std::string& param) const override |