diff options
Diffstat (limited to 'src/lib/libcrypto/evp/e_chacha20poly1305.c')
-rw-r--r-- | src/lib/libcrypto/evp/e_chacha20poly1305.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/e_chacha20poly1305.c b/src/lib/libcrypto/evp/e_chacha20poly1305.c index 796824aeeb..cc2e0157e6 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.34 2023/12/30 18:24:09 tb Exp $ */ | 1 | /* $OpenBSD: e_chacha20poly1305.c,v 1.35 2024/04/09 13:52:41 beck Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> | 4 | * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> |
@@ -349,6 +349,7 @@ EVP_aead_chacha20_poly1305(void) | |||
349 | { | 349 | { |
350 | return &aead_chacha20_poly1305; | 350 | return &aead_chacha20_poly1305; |
351 | } | 351 | } |
352 | LCRYPTO_ALIAS(EVP_aead_chacha20_poly1305); | ||
352 | 353 | ||
353 | static const EVP_AEAD aead_xchacha20_poly1305 = { | 354 | static const EVP_AEAD aead_xchacha20_poly1305 = { |
354 | .key_len = 32, | 355 | .key_len = 32, |
@@ -367,6 +368,7 @@ EVP_aead_xchacha20_poly1305(void) | |||
367 | { | 368 | { |
368 | return &aead_xchacha20_poly1305; | 369 | return &aead_xchacha20_poly1305; |
369 | } | 370 | } |
371 | LCRYPTO_ALIAS(EVP_aead_xchacha20_poly1305); | ||
370 | 372 | ||
371 | struct chacha20_poly1305_ctx { | 373 | struct chacha20_poly1305_ctx { |
372 | ChaCha_ctx chacha; | 374 | ChaCha_ctx chacha; |
@@ -614,5 +616,6 @@ EVP_chacha20_poly1305(void) | |||
614 | { | 616 | { |
615 | return &cipher_chacha20_poly1305; | 617 | return &cipher_chacha20_poly1305; |
616 | } | 618 | } |
619 | LCRYPTO_ALIAS(EVP_chacha20_poly1305); | ||
617 | 620 | ||
618 | #endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */ | 621 | #endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */ |