From e8f1c0be6642d3594379f33e161010bbea6a3a8b Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 16 Sep 2017 23:15:28 +0200 Subject: [PATCH] secretstream: use "header" instead of "in" and "out" for clarity --- .../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 571b0009..93c26394 100644 --- a/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h +++ b/src/libsodium/include/sodium/crypto_secretstream_xchacha20poly1305.h @@ -68,7 +68,7 @@ void crypto_secretstream_xchacha20poly1305_keygen SODIUM_EXPORT int crypto_secretstream_xchacha20poly1305_init_push (crypto_secretstream_xchacha20poly1305_state *state, - unsigned char out[crypto_secretstream_xchacha20poly1305_INITBYTES], + unsigned char header[crypto_secretstream_xchacha20poly1305_INITBYTES], const unsigned char k[crypto_secretstream_xchacha20poly1305_KEYBYTES]); SODIUM_EXPORT @@ -81,7 +81,7 @@ int crypto_secretstream_xchacha20poly1305_push SODIUM_EXPORT int crypto_secretstream_xchacha20poly1305_init_pull (crypto_secretstream_xchacha20poly1305_state *state, - const unsigned char in[crypto_secretstream_xchacha20poly1305_INITBYTES], + const unsigned char header[crypto_secretstream_xchacha20poly1305_INITBYTES], const unsigned char k[crypto_secretstream_xchacha20poly1305_KEYBYTES]); SODIUM_EXPORT