Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDouglas Katzman <dougk@google.com>2015-01-31 01:13:38 +0300
committerAdam Langley <agl@google.com>2015-01-31 01:31:00 +0300
commit0bb81fcd66609967b35ef1074d865716520f1dd4 (patch)
tree3bb0ad1e05563a743c4fb2a0a82a0f0ad99703b8 /crypto
parentab21891e34399429e5a0ce56fefade145e81d43f (diff)
Fix misleading comment.
|num_rounds| is neither a parameter nor manifest constant. Change-Id: I6c1d3a3819731f53fdd01eef6bb4de8a45176a1d Reviewed-on: https://boringssl-review.googlesource.com/3180 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/chacha/chacha_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/chacha/chacha_generic.c b/crypto/chacha/chacha_generic.c
index e9fc70e2..c5e50039 100644
--- a/crypto/chacha/chacha_generic.c
+++ b/crypto/chacha/chacha_generic.c
@@ -54,7 +54,7 @@ void CRYPTO_chacha_20_neon(uint8_t *out, const uint8_t *in, size_t in_len,
size_t counter);
#endif
-/* chacha_core performs |num_rounds| rounds of ChaCha20 on the input words in
+/* chacha_core performs 20 rounds of ChaCha on the input words in
* |input| and writes the 64 output bytes to |output|. */
static void chacha_core(uint8_t output[64], const uint32_t input[16]) {
uint32_t x[16];