From 633da2c3502ffdaaa8ddd84b60fe1e17345f2191 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Sun, 4 Sep 2016 02:16:58 +0200 Subject: [PATCH] comment re-arrangement --- chacha20.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chacha20.c b/chacha20.c index 97b9c9d..54a32d5 100644 --- a/chacha20.c +++ b/chacha20.c @@ -301,6 +301,9 @@ init_Xchacha20(crypto_chacha_ctx *ctx, half_chacha20_block(ctx->input + 5, &init_ctx); // init derived key } +////////////////// +/// Encryption /// +////////////////// static void encrypt_chacha20(crypto_chacha_ctx *ctx, const uint8_t *plain_text, @@ -330,9 +333,6 @@ encrypt_chacha20(crypto_chacha_ctx *ctx, } } -////////////////// -/// Encryption /// -////////////////// void crypto_encrypt_chacha20(const uint8_t key[32], const uint8_t nonce[8], -- 2.47.3