summaryrefslogtreecommitdiff
path: root/lib/crypto/libchacha.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/libchacha.c')
-rw-r--r--lib/crypto/libchacha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/libchacha.c b/lib/crypto/libchacha.c
index cc1be0496eb9..ebcca381e248 100644
--- a/lib/crypto/libchacha.c
+++ b/lib/crypto/libchacha.c
@@ -12,7 +12,7 @@
#include <crypto/algapi.h> // for crypto_xor_cpy
#include <crypto/chacha.h>
-void chacha_crypt_generic(u32 *state, u8 *dst, const u8 *src,
+void chacha_crypt_generic(struct chacha_state *state, u8 *dst, const u8 *src,
unsigned int bytes, int nrounds)
{
/* aligned to potentially speed up crypto_xor() */