From 554a46a2abe2399cf051b801295db78ef32aa093 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 19 Oct 2015 19:43:35 -0400 Subject: ECDSA KATs only work for base impl OpenSSL doesn't use RFC 6979 nonces, so if openssl was enabled ECDSA tests would fail. --- src/tests/test_ecdsa.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/test_ecdsa.cpp b/src/tests/test_ecdsa.cpp index 3fe9bff5e..4179bdf4f 100644 --- a/src/tests/test_ecdsa.cpp +++ b/src/tests/test_ecdsa.cpp @@ -34,8 +34,8 @@ size_t ecdsa_sig_kat(const std::string& group_id, const std::string padding = "EMSA1(" + hash + ")"; - PK_Verifier verify(ecdsa, padding); - PK_Signer sign(ecdsa, padding); + PK_Verifier verify(ecdsa, padding, "base"); + PK_Signer sign(ecdsa, padding, "base"); return validate_signature(verify, sign, "ECDSA/" + group_id + "/" + hash, msg, rng, signature); -- cgit v1.2.3