aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/internal/poly1305.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/internal/poly1305.h')
-rw-r--r--include/crypto/internal/poly1305.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crypto/internal/poly1305.h b/include/crypto/internal/poly1305.h
index 064e52ca5248..196aa769f296 100644
--- a/include/crypto/internal/poly1305.h
+++ b/include/crypto/internal/poly1305.h
@@ -18,7 +18,8 @@
* only the ε-almost-∆-universal hash function (not the full MAC) is computed.
*/
-void poly1305_core_setkey(struct poly1305_core_key *key, const u8 *raw_key);
+void poly1305_core_setkey(struct poly1305_core_key *key,
+ const u8 raw_key[POLY1305_BLOCK_SIZE]);
static inline void poly1305_core_init(struct poly1305_state *state)
{
*state = (struct poly1305_state){};