diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2023-04-15 19:44:37 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2023-04-15 19:44:37 +0000 |
commit | 5c576b0e7fba3488a1c3564ccf50c425bf8807aa (patch) | |
tree | bfb2602d8332e192aad86b8f4e50b5a8ae61a4c1 /lib/libcrypto/sha | |
parent | 3cea61f5143c48a81a16bc0b48d9691c44396554 (diff) |
Add SHA3 digest length define that was previously missed.
Diffstat (limited to 'lib/libcrypto/sha')
-rw-r--r-- | lib/libcrypto/sha/sha3_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/sha/sha3_internal.h b/lib/libcrypto/sha/sha3_internal.h index 7aaa0160500..befb615e486 100644 --- a/lib/libcrypto/sha/sha3_internal.h +++ b/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 { |