diff options
author | tb <> | 2023-04-25 15:48:48 +0000 |
---|---|---|
committer | tb <> | 2023-04-25 15:48:48 +0000 |
commit | aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2 (patch) | |
tree | 8fc6489b768abe5eb7eafc75ed8631756451a226 /src/lib/libcrypto/hmac | |
parent | 9670fcb7ce8b0f516e7924baa6167b992630dc77 (diff) | |
download | openbsd-aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2.tar.gz openbsd-aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2.tar.bz2 openbsd-aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2.zip |
Wire up truncated SHA-2, SHA-3 and related things
from jsing
Diffstat (limited to 'src/lib/libcrypto/hmac')
-rw-r--r-- | src/lib/libcrypto/hmac/hmac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.h b/src/lib/libcrypto/hmac/hmac.h index ff01ae26b0..1ce365294c 100644 --- a/src/lib/libcrypto/hmac/hmac.h +++ b/src/lib/libcrypto/hmac/hmac.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: hmac.h,v 1.16 2022/01/14 08:06:03 tb Exp $ */ | 1 | /* $OpenBSD: hmac.h,v 1.17 2023/04/25 15:48:48 tb 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 | * |
@@ -66,7 +66,7 @@ | |||
66 | 66 | ||
67 | #include <openssl/evp.h> | 67 | #include <openssl/evp.h> |
68 | 68 | ||
69 | #define HMAC_MAX_MD_CBLOCK 128 /* largest known is SHA512 */ | 69 | #define HMAC_MAX_MD_CBLOCK 144 /* largest known is SHA3-224 */ |
70 | 70 | ||
71 | #ifdef __cplusplus | 71 | #ifdef __cplusplus |
72 | extern "C" { | 72 | extern "C" { |