-/* $OpenBSD: sha3.c,v 1.11 2023/04/15 19:27:54 jsing Exp $ */
+/* $OpenBSD: sha3.c,v 1.12 2023/04/15 19:29:20 jsing Exp $ */
/*
* The MIT License (MIT)
*
15, 23, 19, 13, 12, 2, 20, 14, 22, 9, 6, 1
};
-void
+static void
sha3_keccakf(uint64_t st[25])
{
uint64_t t, bc[5];
-/* $OpenBSD: sha3_internal.h,v 1.9 2023/04/15 19:22:34 jsing Exp $ */
+/* $OpenBSD: sha3_internal.h,v 1.10 2023/04/15 19:29:20 jsing Exp $ */
/*
* The MIT License (MIT)
*
int pt, rsiz, mdlen;
} sha3_ctx;
-void sha3_keccakf(uint64_t st[25]);
-
int sha3_init(sha3_ctx *c, int mdlen);
int sha3_update(sha3_ctx *c, const void *data, size_t len);
int sha3_final(void *md, sha3_ctx *c);