From d8a8201bb2a03be554f69e1c72d93eb8c6536179 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 16 Sep 2017 23:43:46 +0200 Subject: [PATCH] Avoid "in" and "out". Use "c" to represent the ciphertext. --- .../include/sodium/crypto_secretstream_xchacha20poly1305.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h b/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h index 2e57ed13..08b4f89c 100644 --- a/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h +++ b/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h @@ -74,7 +74,7 @@ int crypto_secretstream_xchacha20poly1305_init_push SODIUM_EXPORT int crypto_secretstream_xchacha20poly1305_push (crypto_secretstream_xchacha20poly1305_state *state, - unsigned char *out, unsigned long long *outlen_p, + unsigned char *c, unsigned long long *clen_p, const unsigned char *m, unsigned long long mlen, const unsigned char *ad, unsigned long long adlen, unsigned char tag); @@ -88,7 +88,7 @@ SODIUM_EXPORT int crypto_secretstream_xchacha20poly1305_pull (crypto_secretstream_xchacha20poly1305_state *state, unsigned char *m, unsigned long long *mlen_p, unsigned char *tag_p, - const unsigned char *in, unsigned long long inlen, + const unsigned char *c, unsigned long long clen, const unsigned char *ad, unsigned long long adlen); SODIUM_EXPORT