aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2023-09-03 02:57:24 -0400
committerPaul Duncan <pabs@pablotron.org>2023-09-03 02:57:24 -0400
commit28df13db758044b0455723b8c1fefdba524b69ee (patch)
tree21f4aa94d0c90e086ec00706886fe6086aba821c
parent26526463b28095d93a4996d81bd78a3c041c974d (diff)
downloadsha3-28df13db758044b0455723b8c1fefdba524b69ee.tar.bz2
sha3-28df13db758044b0455723b8c1fefdba524b69ee.zip
sha3.h: add kmac{128,256}() prototypes
-rw-r--r--sha3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sha3.h b/sha3.h
index aa75cd6..aea3704 100644
--- a/sha3.h
+++ b/sha3.h
@@ -61,6 +61,9 @@ typedef struct {
const size_t custom_len; // length of customization string, in bytes
} kmac_params_t;
+void kmac128(const kmac_params_t params, const uint8_t * const msg, const size_t msg_len, uint8_t * const dst, const size_t dst_len);
+void kmac256(const kmac_params_t params, const uint8_t * const msg, const size_t msg_len, uint8_t * const dst, const size_t dst_len);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */