From 104b6fe50b117e6cf0a4e2b9e78960fabeb9a82c Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Sun, 4 Sep 2016 17:51:17 +0200 Subject: [PATCH] typo --- chacha20.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chacha20.h b/chacha20.h index b57ec6c..d8e4518 100644 --- a/chacha20.h +++ b/chacha20.h @@ -13,7 +13,6 @@ typedef struct crypto_chacha_ctx { uint32_t input[16]; } crypto_chacha_ctx; - // Initializes a chacha context. // // WARNING: DON'T USE THE SAME NONCE AND KEY TWICE @@ -58,7 +57,7 @@ void crypto_block_chacha20(uint8_t output[64], crypto_chacha_ctx *ctx); // Encrypts the plain_text by XORing it with a pseudo-random -// stream of numbers, seeded by the provided chacha20 contex. +// stream of numbers, seeded by the provided chacha20 context. // It is built on top of crypto_chacha20_block, and can be safely // used with it, thus: // @@ -73,8 +72,6 @@ crypto_encrypt_chacha20(crypto_chacha_ctx *ctx, //////////////////////////////////////////////////////////////////////////////// -// Experimental: random number generator - typedef struct crypto_rng_context { crypto_chacha_ctx chacha_ctx; uint8_t reminder[64]; -- 2.47.3