summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/evp/e_chacha.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/e_chacha.c b/src/lib/libcrypto/evp/e_chacha.c
index 198eaef09f..a27a3c6470 100644
--- a/src/lib/libcrypto/evp/e_chacha.c
+++ b/src/lib/libcrypto/evp/e_chacha.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_chacha.c,v 1.7 2020/01/26 07:34:05 tb Exp $ */ 1/* $OpenBSD: e_chacha.c,v 1.8 2020/01/26 07:47:26 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -37,7 +37,7 @@ static const EVP_CIPHER chacha20_cipher = {
37 /* 37 /*
38 * The 128 bit EVP IV is split for ChaCha into four 32 bit pieces: 38 * The 128 bit EVP IV is split for ChaCha into four 32 bit pieces:
39 * counter[0] counter[1] iv[0] iv[1] 39 * counter[0] counter[1] iv[0] iv[1]
40 * OpenSSL exposes these as; 40 * OpenSSL exposes these as:
41 * openssl_iv = counter[0] iv[0] iv[1] iv[2] 41 * openssl_iv = counter[0] iv[0] iv[1] iv[2]
42 * Due to the cipher internal state's symmetry, these are functionally 42 * Due to the cipher internal state's symmetry, these are functionally
43 * equivalent. 43 * equivalent.