From 4fcb859cc315eaf474788aabba85ce6c3909cc87 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Fri, 1 Aug 2014 04:44:52 -0700 Subject: [PATCH] make the comment more precise. --- cbits/cryptonite_salsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cbits/cryptonite_salsa.c b/cbits/cryptonite_salsa.c index bc715f5..a82e792 100644 --- a/cbits/cryptonite_salsa.c +++ b/cbits/cryptonite_salsa.c @@ -116,7 +116,7 @@ void cryptonite_salsa_core_xor(int rounds, block *out, block *in) out->d[12] += x12; out->d[13] += x13; out->d[14] += x14; out->d[15] += x15; } -/* only 2 valids values are 256 (32) and 128 (16) */ +/* only 2 valid values for keylen are 256 (32) and 128 (16) */ void cryptonite_salsa_init(cryptonite_salsa_state *st, uint32_t keylen, const uint8_t *key, uint32_t ivlen, const uint8_t *iv)