OpenSSL_add_all_algorithms.pod 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. =pod
  2. =head1 NAME
  3. OpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests, EVP_cleanup -
  4. add algorithms to internal table
  5. =head1 SYNOPSIS
  6. #include <openssl/evp.h>
  7. Deprecated since OpenSSL 1.1.0, can be hidden entirely by defining
  8. B<OPENSSL_API_COMPAT> with a suitable version value, see
  9. L<openssl_user_macros(7)>:
  10. void OpenSSL_add_all_algorithms(void);
  11. void OpenSSL_add_all_ciphers(void);
  12. void OpenSSL_add_all_digests(void);
  13. void EVP_cleanup(void);
  14. =head1 DESCRIPTION
  15. OpenSSL keeps an internal table of digest algorithms and ciphers. It uses
  16. this table to lookup ciphers via functions such as EVP_get_cipher_byname().
  17. OpenSSL_add_all_digests() adds all digest algorithms to the table.
  18. OpenSSL_add_all_algorithms() adds all algorithms to the table (digests and
  19. ciphers).
  20. OpenSSL_add_all_ciphers() adds all encryption algorithms to the table including
  21. password based encryption algorithms.
  22. In versions prior to 1.1.0 EVP_cleanup() removed all ciphers and digests from
  23. the table. It no longer has any effect in OpenSSL 1.1.0.
  24. =head1 RETURN VALUES
  25. None of the functions return a value.
  26. =head1 SEE ALSO
  27. L<evp(7)>, L<EVP_DigestInit(3)>,
  28. L<EVP_EncryptInit(3)>
  29. =head1 HISTORY
  30. The OpenSSL_add_all_algorithms(), OpenSSL_add_all_ciphers(),
  31. OpenSSL_add_all_digests(), and EVP_cleanup(), functions
  32. were deprecated in OpenSSL 1.1.0 by OPENSSL_init_crypto() and should
  33. not be used.
  34. =head1 COPYRIGHT
  35. Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
  36. Licensed under the Apache License 2.0 (the "License"). You may not use
  37. this file except in compliance with the License. You can obtain a copy
  38. in the file LICENSE in the source distribution or at
  39. L<https://www.openssl.org/source/license.html>.
  40. =cut