artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6be04bb
)
Add SHA3 digest length define that was previously missed.
author
jsing
<jsing@openbsd.org>
Sat, 15 Apr 2023 19:44:36 +0000
(19:44 +0000)
committer
jsing
<jsing@openbsd.org>
Sat, 15 Apr 2023 19:44:36 +0000
(19:44 +0000)
lib/libcrypto/sha/sha3_internal.h
patch
|
blob
|
history
diff --git
a/lib/libcrypto/sha/sha3_internal.h
b/lib/libcrypto/sha/sha3_internal.h
index
7aaa016
..
befb615
100644
(file)
--- a/
lib/libcrypto/sha/sha3_internal.h
+++ b/
lib/libcrypto/sha/sha3_internal.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: sha3_internal.h,v 1.1
1 2023/04/15 19:30:31
jsing Exp $ */
+/* $OpenBSD: sha3_internal.h,v 1.1
2 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 {