summaryrefslogtreecommitdiff
path: root/libs/libsodium/src/crypto_stream/xchacha20/stream_xchacha20.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libsodium/src/crypto_stream/xchacha20/stream_xchacha20.c')
-rw-r--r--libs/libsodium/src/crypto_stream/xchacha20/stream_xchacha20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libsodium/src/crypto_stream/xchacha20/stream_xchacha20.c b/libs/libsodium/src/crypto_stream/xchacha20/stream_xchacha20.c
index 47807e0a44..c9d7e70dcc 100644
--- a/libs/libsodium/src/crypto_stream/xchacha20/stream_xchacha20.c
+++ b/libs/libsodium/src/crypto_stream/xchacha20/stream_xchacha20.c
@@ -35,7 +35,7 @@ crypto_stream_xchacha20(unsigned char *c, unsigned long long clen,
COMPILER_ASSERT(crypto_stream_chacha20_KEYBYTES <= sizeof k2);
COMPILER_ASSERT(crypto_stream_chacha20_NONCEBYTES ==
crypto_stream_xchacha20_NONCEBYTES -
- crypto_core_hchacha20_INPUTBYTES);
+ crypto_core_hchacha20_INPUTBYTES);
return crypto_stream_chacha20(c, clen, n + crypto_core_hchacha20_INPUTBYTES,
k2);