diff options
author | jsing <> | 2023-04-16 17:06:19 +0000 |
---|---|---|
committer | jsing <> | 2023-04-16 17:06:19 +0000 |
commit | 3142f6dc26e453ca269ab50d6c1b81f138e16f52 (patch) | |
tree | 43d762c93e59f7c4bfec4130d545027ef48f43fe /src/lib/libcrypto/evp/evp.h | |
parent | 8d66484d5bc1482f15919f88c5812dc2994b81e7 (diff) | |
download | openbsd-3142f6dc26e453ca269ab50d6c1b81f138e16f52.tar.gz openbsd-3142f6dc26e453ca269ab50d6c1b81f138e16f52.tar.bz2 openbsd-3142f6dc26e453ca269ab50d6c1b81f138e16f52.zip |
Provide EVP methods for SHA3 224/256/384/512.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 8b3c1d9ae7..830774a740 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp.h,v 1.115 2023/04/16 16:42:06 jsing Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.116 2023/04/16 17:06:19 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -626,6 +626,14 @@ const EVP_MD *EVP_sha512_224(void); | |||
626 | const EVP_MD *EVP_sha512_256(void); | 626 | const EVP_MD *EVP_sha512_256(void); |
627 | #endif | 627 | #endif |
628 | #endif | 628 | #endif |
629 | #ifndef OPENSSL_NO_SHA3 | ||
630 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
631 | const EVP_MD *EVP_sha3_224(void); | ||
632 | const EVP_MD *EVP_sha3_256(void); | ||
633 | const EVP_MD *EVP_sha3_384(void); | ||
634 | const EVP_MD *EVP_sha3_512(void); | ||
635 | #endif | ||
636 | #endif | ||
629 | #ifndef OPENSSL_NO_SM3 | 637 | #ifndef OPENSSL_NO_SM3 |
630 | const EVP_MD *EVP_sm3(void); | 638 | const EVP_MD *EVP_sm3(void); |
631 | #endif | 639 | #endif |