From aa06ff6ff84baafcac76b48d7a0dcd4f9d00d7d2 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 25 Apr 2023 15:48:48 +0000 Subject: Wire up truncated SHA-2, SHA-3 and related things from jsing --- src/lib/libcrypto/hmac/hmac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/hmac') 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 @@ -/* $OpenBSD: hmac.h,v 1.16 2022/01/14 08:06:03 tb Exp $ */ +/* $OpenBSD: hmac.h,v 1.17 2023/04/25 15:48:48 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -66,7 +66,7 @@ #include -#define HMAC_MAX_MD_CBLOCK 128 /* largest known is SHA512 */ +#define HMAC_MAX_MD_CBLOCK 144 /* largest known is SHA3-224 */ #ifdef __cplusplus extern "C" { -- cgit v1.2.3-55-g6feb