diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/chacha/chacha.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/chacha/chacha.h b/src/lib/libcrypto/chacha/chacha.h index 636770ad99..a221825d9e 100644 --- a/src/lib/libcrypto/chacha/chacha.h +++ b/src/lib/libcrypto/chacha/chacha.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: chacha.h,v 1.4 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: chacha.h,v 1.5 2014/06/24 18:12:09 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -32,6 +32,8 @@ extern "C" { | |||
32 | 32 | ||
33 | typedef struct { | 33 | typedef struct { |
34 | unsigned int input[16]; | 34 | unsigned int input[16]; |
35 | unsigned char ks[64]; | ||
36 | unsigned char unused; | ||
35 | } ChaCha_ctx; | 37 | } ChaCha_ctx; |
36 | 38 | ||
37 | void ChaCha_set_key(ChaCha_ctx *ctx, const unsigned char *key, | 39 | void ChaCha_set_key(ChaCha_ctx *ctx, const unsigned char *key, |