hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/mips/crypto/poly1305-glue.c
....@@ -17,7 +17,7 @@
1717 asmlinkage void poly1305_blocks_mips(void *state, const u8 *src, u32 len, u32 hibit);
1818 asmlinkage void poly1305_emit_mips(void *state, u8 *digest, const u32 *nonce);
1919
20
-void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 *key)
20
+void poly1305_init_arch(struct poly1305_desc_ctx *dctx, const u8 key[POLY1305_KEY_SIZE])
2121 {
2222 poly1305_init_mips(&dctx->h, key);
2323 dctx->s[0] = get_unaligned_le32(key + 16);