summaryrefslogtreecommitdiff
path: root/code/core/crypto/include/chacha.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/core/crypto/include/chacha.h')
-rw-r--r--code/core/crypto/include/chacha.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/core/crypto/include/chacha.h b/code/core/crypto/include/chacha.h
index 11885b7..25a3ef3 100644
--- a/code/core/crypto/include/chacha.h
+++ b/code/core/crypto/include/chacha.h
@@ -32,7 +32,7 @@ typedef struct {
} ChaCha_ctx;
void ChaCha_set_key(ChaCha_ctx *ctx, const unsigned char *key,
- unsigned int keybits);
+ uint32_t keybits);
void ChaCha_set_iv(ChaCha_ctx *ctx, const unsigned char *iv,
const unsigned char *counter);
void ChaCha(ChaCha_ctx *ctx, unsigned char *out, const unsigned char *in,