hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
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;