forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/include/crypto/internal/poly1305.h
....@@ -18,7 +18,8 @@
1818 * only the ε-almost-∆-universal hash function (not the full MAC) is computed.
1919 */
2020
21
-void poly1305_core_setkey(struct poly1305_core_key *key, const u8 *raw_key);
21
+void poly1305_core_setkey(struct poly1305_core_key *key,
22
+ const u8 raw_key[POLY1305_BLOCK_SIZE]);
2223 static inline void poly1305_core_init(struct poly1305_state *state)
2324 {
2425 *state = (struct poly1305_state){};