summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_chacha20poly1305.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/e_chacha20poly1305.c')
-rw-r--r--src/lib/libcrypto/evp/e_chacha20poly1305.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/e_chacha20poly1305.c b/src/lib/libcrypto/evp/e_chacha20poly1305.c
index 4b8f47cefc..a17657899b 100644
--- a/src/lib/libcrypto/evp/e_chacha20poly1305.c
+++ b/src/lib/libcrypto/evp/e_chacha20poly1305.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_chacha20poly1305.c,v 1.29 2023/07/07 13:54:45 beck Exp $ */ 1/* $OpenBSD: e_chacha20poly1305.c,v 1.30 2023/07/07 19:37:53 beck Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
@@ -348,7 +348,6 @@ EVP_aead_chacha20_poly1305()
348{ 348{
349 return &aead_chacha20_poly1305; 349 return &aead_chacha20_poly1305;
350} 350}
351LCRYPTO_ALIAS(EVP_aead_chacha20_poly1305);
352 351
353static const EVP_AEAD aead_xchacha20_poly1305 = { 352static const EVP_AEAD aead_xchacha20_poly1305 = {
354 .key_len = 32, 353 .key_len = 32,
@@ -367,7 +366,6 @@ EVP_aead_xchacha20_poly1305()
367{ 366{
368 return &aead_xchacha20_poly1305; 367 return &aead_xchacha20_poly1305;
369} 368}
370LCRYPTO_ALIAS(EVP_aead_xchacha20_poly1305);
371 369
372struct chacha20_poly1305_ctx { 370struct chacha20_poly1305_ctx {
373 ChaCha_ctx chacha; 371 ChaCha_ctx chacha;
@@ -608,6 +606,5 @@ EVP_chacha20_poly1305(void)
608{ 606{
609 return &cipher_chacha20_poly1305; 607 return &cipher_chacha20_poly1305;
610} 608}
611LCRYPTO_ALIAS(EVP_chacha20_poly1305);
612 609
613#endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */ 610#endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */