hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/lib/crypto/poly1305-donna32.c
....@@ -10,7 +10,8 @@
1010 #include <asm/unaligned.h>
1111 #include <crypto/internal/poly1305.h>
1212
13
-void poly1305_core_setkey(struct poly1305_core_key *key, const u8 raw_key[16])
13
+void poly1305_core_setkey(struct poly1305_core_key *key,
14
+ const u8 raw_key[POLY1305_BLOCK_SIZE])
1415 {
1516 /* r &= 0xffffffc0ffffffc0ffffffc0fffffff */
1617 key->key.r[0] = (get_unaligned_le32(&raw_key[0])) & 0x3ffffff;