diff options
author | Jack Lloyd <[email protected]> | 2015-10-19 19:43:35 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-10-19 19:43:35 -0400 |
commit | 554a46a2abe2399cf051b801295db78ef32aa093 (patch) | |
tree | 7a0fa3df4afd009cf0a17c93474d60d443751e09 /src/tests | |
parent | e607a5d625762806048074a8819840bcd6341fa3 (diff) |
ECDSA KATs only work for base impl
OpenSSL doesn't use RFC 6979 nonces, so if openssl was enabled ECDSA
tests would fail.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_ecdsa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |