]> git.codecow.com Git - Monocypher.git/commitdiff
typo
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 4 Sep 2016 15:51:17 +0000 (17:51 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 4 Sep 2016 15:51:17 +0000 (17:51 +0200)
chacha20.h

index b57ec6ce1393513ed055f26dde9964ce24ed06b3..d8e4518311fdf8e971152966af74b2969bc21129 100644 (file)
@@ -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];