summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-10-21 13:39:35 +0000
committertb <>2022-10-21 13:39:35 +0000
commit4b5677c34b2bc1d878be9cdbdb02565a7bccb5b6 (patch)
tree80ef5a52edeb8dbd7445c176ace552d018e6a743 /src
parentbcc6795d7c9d440c0bfb13e305709deacb2110ce (diff)
downloadopenbsd-4b5677c34b2bc1d878be9cdbdb02565a7bccb5b6.tar.gz
openbsd-4b5677c34b2bc1d878be9cdbdb02565a7bccb5b6.tar.bz2
openbsd-4b5677c34b2bc1d878be9cdbdb02565a7bccb5b6.zip
Add EVP_chacha20_poly1305()
Omission reported by jca. ok jca jsing
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/evp/c_all.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/c_all.c b/src/lib/libcrypto/evp/c_all.c
index 690215c8e8..8fc1aa6a17 100644
--- a/src/lib/libcrypto/evp/c_all.c
+++ b/src/lib/libcrypto/evp/c_all.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: c_all.c,v 1.27 2022/01/14 08:38:05 tb Exp $ */ 1/* $OpenBSD: c_all.c,v 1.28 2022/10/21 13:39:35 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -224,6 +224,9 @@ OpenSSL_add_all_ciphers_internal(void)
224#ifndef OPENSSL_NO_CHACHA 224#ifndef OPENSSL_NO_CHACHA
225 EVP_add_cipher(EVP_chacha20()); 225 EVP_add_cipher(EVP_chacha20());
226#endif 226#endif
227#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305)
228 EVP_add_cipher(EVP_chacha20_poly1305());
229#endif
227 230
228#ifndef OPENSSL_NO_GOST 231#ifndef OPENSSL_NO_GOST
229 EVP_add_cipher(EVP_gost2814789_ecb()); 232 EVP_add_cipher(EVP_gost2814789_ecb());