diff options
| author | tb <> | 2023-04-25 15:48:48 +0000 |
|---|---|---|
| committer | tb <> | 2023-04-25 15:48:48 +0000 |
| commit | 8c449d8a1445a23c96b8b2f389e256ea32662e36 (patch) | |
| tree | 8fc6489b768abe5eb7eafc75ed8631756451a226 /src/lib/libcrypto/hmac/hmac.h | |
| parent | ce06a4ca1e5719ee36f665b7473fb078d8d34a0f (diff) | |
| download | openbsd-8c449d8a1445a23c96b8b2f389e256ea32662e36.tar.gz openbsd-8c449d8a1445a23c96b8b2f389e256ea32662e36.tar.bz2 openbsd-8c449d8a1445a23c96b8b2f389e256ea32662e36.zip | |
Wire up truncated SHA-2, SHA-3 and related things
from jsing
Diffstat (limited to 'src/lib/libcrypto/hmac/hmac.h')
| -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" { |
