diff options
| author | beck <> | 2023-07-07 13:54:46 +0000 |
|---|---|---|
| committer | beck <> | 2023-07-07 13:54:46 +0000 |
| commit | f9fcde20a6214da85e802190ccd3a2bf5f891559 (patch) | |
| tree | 8637b2fb4bca234d55b598e035f23335be46ce49 /src/lib/libcrypto/evp/e_chacha20poly1305.c | |
| parent | 96c313e4aac4001ae9818efee3f34856cdf873b0 (diff) | |
| download | openbsd-f9fcde20a6214da85e802190ccd3a2bf5f891559.tar.gz openbsd-f9fcde20a6214da85e802190ccd3a2bf5f891559.tar.bz2 openbsd-f9fcde20a6214da85e802190ccd3a2bf5f891559.zip | |
Hide symbols in hkdf, evp, err, ecdsa, and ec
(part 2 of commit)
ok jsing@
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 1bd04c1f1f..4b8f47cefc 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.28 2023/03/01 11:16:06 tb Exp $ */ | 1 | /* $OpenBSD: e_chacha20poly1305.c,v 1.29 2023/07/07 13:54:45 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,6 +348,7 @@ EVP_aead_chacha20_poly1305() | |||
| 348 | { | 348 | { |
| 349 | return &aead_chacha20_poly1305; | 349 | return &aead_chacha20_poly1305; |
| 350 | } | 350 | } |
| 351 | LCRYPTO_ALIAS(EVP_aead_chacha20_poly1305); | ||
| 351 | 352 | ||
| 352 | static const EVP_AEAD aead_xchacha20_poly1305 = { | 353 | static const EVP_AEAD aead_xchacha20_poly1305 = { |
| 353 | .key_len = 32, | 354 | .key_len = 32, |
| @@ -366,6 +367,7 @@ EVP_aead_xchacha20_poly1305() | |||
| 366 | { | 367 | { |
| 367 | return &aead_xchacha20_poly1305; | 368 | return &aead_xchacha20_poly1305; |
| 368 | } | 369 | } |
| 370 | LCRYPTO_ALIAS(EVP_aead_xchacha20_poly1305); | ||
| 369 | 371 | ||
| 370 | struct chacha20_poly1305_ctx { | 372 | struct chacha20_poly1305_ctx { |
| 371 | ChaCha_ctx chacha; | 373 | ChaCha_ctx chacha; |
| @@ -606,5 +608,6 @@ EVP_chacha20_poly1305(void) | |||
| 606 | { | 608 | { |
| 607 | return &cipher_chacha20_poly1305; | 609 | return &cipher_chacha20_poly1305; |
| 608 | } | 610 | } |
| 611 | LCRYPTO_ALIAS(EVP_chacha20_poly1305); | ||
| 609 | 612 | ||
| 610 | #endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */ | 613 | #endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */ |
