diff options
author | Jack Lloyd <[email protected]> | 2016-10-25 09:29:21 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-25 09:29:21 -0400 |
commit | 9943fae196a5cb1773a32e127db4e69e34a302c0 (patch) | |
tree | a6ac4d89bbedef6dbd64b590a6df85ee0df04bbc /src/lib/pubkey/eckcdsa/eckcdsa.cpp | |
parent | b3f802d78f380850eb0ab967ab6bde663bdc0943 (diff) | |
parent | b7b121efc8009e04876af4773920d87fb07fb21e (diff) |
Merge GH #683 Avoid SHA-1 use in ElGamal+ECKCDSA self tests
Diffstat (limited to 'src/lib/pubkey/eckcdsa/eckcdsa.cpp')
-rw-r--r-- | src/lib/pubkey/eckcdsa/eckcdsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/eckcdsa/eckcdsa.cpp b/src/lib/pubkey/eckcdsa/eckcdsa.cpp index 5375d047a..9427e90ff 100644 --- a/src/lib/pubkey/eckcdsa/eckcdsa.cpp +++ b/src/lib/pubkey/eckcdsa/eckcdsa.cpp @@ -27,7 +27,7 @@ bool ECKCDSA_PrivateKey::check_key(RandomNumberGenerator& rng, return true; } - return KeyPair::signature_consistency_check(rng, *this, "EMSA1(SHA-1)"); + return KeyPair::signature_consistency_check(rng, *this, "EMSA1(SHA-256)"); } namespace { |