diff options
author | jsing <> | 2023-04-15 19:29:20 +0000 |
---|---|---|
committer | jsing <> | 2023-04-15 19:29:20 +0000 |
commit | f5f53d20559e63b9ce2cd0a84f8564b5751f3f2c (patch) | |
tree | 00bb71e8e81f83604013890b0ca24acb17f84004 /src/lib/libcrypto/sha/sha3_internal.h | |
parent | a866975c1f7d904a6cab7d3f16fe3af292d7cf1a (diff) | |
download | openbsd-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_internal.h')
-rw-r--r-- | src/lib/libcrypto/sha/sha3_internal.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/sha/sha3_internal.h b/src/lib/libcrypto/sha/sha3_internal.h index 05a02c8e2c..9b5b9e2b6a 100644 --- a/src/lib/libcrypto/sha/sha3_internal.h +++ b/src/lib/libcrypto/sha/sha3_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sha3_internal.h,v 1.9 2023/04/15 19:22:34 jsing Exp $ */ | 1 | /* $OpenBSD: sha3_internal.h,v 1.10 2023/04/15 19:29:20 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * The MIT License (MIT) | 3 | * The MIT License (MIT) |
4 | * | 4 | * |
@@ -63,8 +63,6 @@ typedef struct { | |||
63 | int pt, rsiz, mdlen; | 63 | int pt, rsiz, mdlen; |
64 | } sha3_ctx; | 64 | } sha3_ctx; |
65 | 65 | ||
66 | void sha3_keccakf(uint64_t st[25]); | ||
67 | |||
68 | int sha3_init(sha3_ctx *c, int mdlen); | 66 | int sha3_init(sha3_ctx *c, int mdlen); |
69 | int sha3_update(sha3_ctx *c, const void *data, size_t len); | 67 | int sha3_update(sha3_ctx *c, const void *data, size_t len); |
70 | int sha3_final(void *md, sha3_ctx *c); | 68 | int sha3_final(void *md, sha3_ctx *c); |