diff options
author | Andy Polyakov <appro@openssl.org> | 2017-07-16 23:41:51 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-07-25 21:40:30 +0200 |
commit | e4adad92b3bd161680da874c19342b292ebe4bea (patch) | |
tree | cfab51ca73c740937d9b27d1460844d8f0dcbfc7 /crypto | |
parent | 91ce87c0d5675329614dd5b56ce67670a6aaa387 (diff) |
Wire SHA3 EVPs and add tests.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3943)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/c_alld.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/evp/c_alld.c b/crypto/evp/c_alld.c index ec79734e67..cfc3f0452d 100644 --- a/crypto/evp/c_alld.c +++ b/crypto/evp/c_alld.c @@ -46,4 +46,12 @@ void openssl_add_all_digests_int(void) EVP_add_digest(EVP_blake2b512()); EVP_add_digest(EVP_blake2s256()); #endif + EVP_add_digest(EVP_sha3_224()); + EVP_add_digest(EVP_sha3_256()); + EVP_add_digest(EVP_sha3_384()); + EVP_add_digest(EVP_sha3_512()); +#if 0 + EVP_add_digest(EVP_shake128()); + EVP_add_digest(EVP_shake256()); +#endif } |