summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha/sha3.c
diff options
context:
space:
mode:
authorjsing <>2023-04-15 19:29:20 +0000
committerjsing <>2023-04-15 19:29:20 +0000
commitf5f53d20559e63b9ce2cd0a84f8564b5751f3f2c (patch)
tree00bb71e8e81f83604013890b0ca24acb17f84004 /src/lib/libcrypto/sha/sha3.c
parenta866975c1f7d904a6cab7d3f16fe3af292d7cf1a (diff)
downloadopenbsd-f5f53d20559e63b9ce2cd0a84f8564b5751f3f2c.tar.gz
openbsd-f5f53d20559e63b9ce2cd0a84f8564b5751f3f2c.tar.bz2
openbsd-f5f53d20559e63b9ce2cd0a84f8564b5751f3f2c.zip
Mark sha3_keccakf() as static and remove prototype from header.
Diffstat (limited to 'src/lib/libcrypto/sha/sha3.c')
-rw-r--r--src/lib/libcrypto/sha/sha3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/sha/sha3.c b/src/lib/libcrypto/sha/sha3.c
index d246d53ce4..0ef5bf216e 100644
--- a/src/lib/libcrypto/sha/sha3.c
+++ b/src/lib/libcrypto/sha/sha3.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha3.c,v 1.11 2023/04/15 19:27:54 jsing Exp $ */ 1/* $OpenBSD: sha3.c,v 1.12 2023/04/15 19:29:20 jsing Exp $ */
2/* 2/*
3 * The MIT License (MIT) 3 * The MIT License (MIT)
4 * 4 *
@@ -51,7 +51,7 @@ static const int sha3_keccakf_piln[24] = {
51 15, 23, 19, 13, 12, 2, 20, 14, 22, 9, 6, 1 51 15, 23, 19, 13, 12, 2, 20, 14, 22, 9, 6, 1
52}; 52};
53 53
54void 54static void
55sha3_keccakf(uint64_t st[25]) 55sha3_keccakf(uint64_t st[25])
56{ 56{
57 uint64_t t, bc[5]; 57 uint64_t t, bc[5];