summaryrefslogtreecommitdiff
path: root/code/core/crypto/include
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-11 18:03:01 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-11 18:03:01 +0100
commitdea99b85dc52341265ae2e8463afee8a9709127a (patch)
tree4d4c52d046e76374314d5c88137e406a3d238ec2 /code/core/crypto/include
parenteb8c9fe176721d5e8dd24febec88e1665ca70c26 (diff)
fe310 platform introdiced
Diffstat (limited to 'code/core/crypto/include')
-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,