summaryrefslogtreecommitdiffstats
path: root/crypto/evp/c_alld.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2018-01-17 13:20:22 +1000
committerPauli <paul.dale@oracle.com>2018-01-24 07:09:46 +1000
commit4bed94f0c11ef63587c6b2edb03c3c438e221604 (patch)
tree750293d626b103e4a8f503fc41f291388b15ecce /crypto/evp/c_alld.c
parent3bf0c3fe31d5339524dae671064cc5fe9e4bda38 (diff)
SHA512/224 and SHA512/256
Support added for these two digests, available only via the EVP interface. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5093)
Diffstat (limited to 'crypto/evp/c_alld.c')
-rw-r--r--crypto/evp/c_alld.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/evp/c_alld.c b/crypto/evp/c_alld.c
index 257d405ba7..1267531a7d 100644
--- a/crypto/evp/c_alld.c
+++ b/crypto/evp/c_alld.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -39,6 +39,8 @@ void openssl_add_all_digests_int(void)
EVP_add_digest(EVP_sha256());
EVP_add_digest(EVP_sha384());
EVP_add_digest(EVP_sha512());
+ EVP_add_digest(EVP_sha512_224());
+ EVP_add_digest(EVP_sha512_256());
#ifndef OPENSSL_NO_WHIRLPOOL
EVP_add_digest(EVP_whirlpool());
#endif