xref: /freebsd-src/crypto/openssl/doc/man3/OpenSSL_add_all_algorithms.pod (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1e71b7053SJung-uk Kim=pod
2e71b7053SJung-uk Kim
3e71b7053SJung-uk Kim=head1 NAME
4e71b7053SJung-uk Kim
5e71b7053SJung-uk KimOpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests, EVP_cleanup -
6e71b7053SJung-uk Kimadd algorithms to internal table
7e71b7053SJung-uk Kim
8e71b7053SJung-uk Kim=head1 SYNOPSIS
9e71b7053SJung-uk Kim
10e71b7053SJung-uk Kim #include <openssl/evp.h>
11e71b7053SJung-uk Kim
12*b077aed3SPierre ProncheryThe following functions have been deprecated since OpenSSL 1.1.0, and can be
13*b077aed3SPierre Proncheryhidden entirely by defining B<OPENSSL_API_COMPAT> with a suitable version value,
14*b077aed3SPierre Proncherysee L<openssl_user_macros(7)>:
15e71b7053SJung-uk Kim
16e71b7053SJung-uk Kim void OpenSSL_add_all_algorithms(void);
17e71b7053SJung-uk Kim void OpenSSL_add_all_ciphers(void);
18e71b7053SJung-uk Kim void OpenSSL_add_all_digests(void);
19e71b7053SJung-uk Kim
20*b077aed3SPierre Pronchery void EVP_cleanup(void);
21e71b7053SJung-uk Kim
22e71b7053SJung-uk Kim=head1 DESCRIPTION
23e71b7053SJung-uk Kim
24e71b7053SJung-uk KimOpenSSL keeps an internal table of digest algorithms and ciphers. It uses
25e71b7053SJung-uk Kimthis table to lookup ciphers via functions such as EVP_get_cipher_byname().
26e71b7053SJung-uk Kim
27e71b7053SJung-uk KimOpenSSL_add_all_digests() adds all digest algorithms to the table.
28e71b7053SJung-uk Kim
29e71b7053SJung-uk KimOpenSSL_add_all_algorithms() adds all algorithms to the table (digests and
30e71b7053SJung-uk Kimciphers).
31e71b7053SJung-uk Kim
32e71b7053SJung-uk KimOpenSSL_add_all_ciphers() adds all encryption algorithms to the table including
33e71b7053SJung-uk Kimpassword based encryption algorithms.
34e71b7053SJung-uk Kim
35e71b7053SJung-uk KimIn versions prior to 1.1.0 EVP_cleanup() removed all ciphers and digests from
36e71b7053SJung-uk Kimthe table. It no longer has any effect in OpenSSL 1.1.0.
37e71b7053SJung-uk Kim
38e71b7053SJung-uk Kim=head1 RETURN VALUES
39e71b7053SJung-uk Kim
40e71b7053SJung-uk KimNone of the functions return a value.
41e71b7053SJung-uk Kim
42e71b7053SJung-uk Kim=head1 SEE ALSO
43e71b7053SJung-uk Kim
44e71b7053SJung-uk KimL<evp(7)>, L<EVP_DigestInit(3)>,
45e71b7053SJung-uk KimL<EVP_EncryptInit(3)>
46e71b7053SJung-uk Kim
47e71b7053SJung-uk Kim=head1 HISTORY
48e71b7053SJung-uk Kim
49e71b7053SJung-uk KimThe OpenSSL_add_all_algorithms(), OpenSSL_add_all_ciphers(),
50e71b7053SJung-uk KimOpenSSL_add_all_digests(), and EVP_cleanup(), functions
51e71b7053SJung-uk Kimwere deprecated in OpenSSL 1.1.0 by OPENSSL_init_crypto() and should
52e71b7053SJung-uk Kimnot be used.
53e71b7053SJung-uk Kim
54e71b7053SJung-uk Kim=head1 COPYRIGHT
55e71b7053SJung-uk Kim
56*b077aed3SPierre ProncheryCopyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
57e71b7053SJung-uk Kim
58*b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License").  You may not use
59e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
60e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
61e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
62e71b7053SJung-uk Kim
63e71b7053SJung-uk Kim=cut
64