From 0844874af09457b529af6c869f4e893bf482dbef Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 15 Apr 2023 19:44:36 +0000 Subject: Add SHA3 digest length define that was previously missed. --- src/lib/libcrypto/sha/sha3_internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/sha/sha3_internal.h') diff --git a/src/lib/libcrypto/sha/sha3_internal.h b/src/lib/libcrypto/sha/sha3_internal.h index 7aaa016050..befb615e48 100644 --- a/src/lib/libcrypto/sha/sha3_internal.h +++ b/src/lib/libcrypto/sha/sha3_internal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sha3_internal.h,v 1.11 2023/04/15 19:30:31 jsing Exp $ */ +/* $OpenBSD: sha3_internal.h,v 1.12 2023/04/15 19:44:36 jsing Exp $ */ /* * The MIT License (MIT) * @@ -54,6 +54,7 @@ #define SHA3_512_BITRATE (2 * SHA3_512_BIT_LENGTH) #define SHA3_512_CAPACITY (KECCAK_BIT_WIDTH - SHA3_512_BITRATE) #define SHA3_512_BLOCK_SIZE (SHA3_512_CAPACITY / 8) +#define SHA3_512_DIGEST_LENGTH (SHA3_512_BIT_LENGTH / 8) typedef struct { union { -- cgit v1.2.3-55-g6feb