LIBRESSL-OPENSSL_ADD_ALL_ALGORITHMS(3)
π NAME π
hiii bestie π welcome to LIBRESSL-OPENSSL_ADD_ALL_ALGORITHMS(3), a Library Functions Manual page about the OpenSSL βadd all the algorithmsβ era. The whole squad is:
OpenSSL_add_all_algorithms,OpenSSL_add_all_ciphers,OpenSSL_add_all_digests,EVP_cleanup,SSLeay_add_all_algorithmsβ add algorithms to internal table
β¨ SYNOPSIS β¨
library βlibcryptoβ
#include <openssl/evp.h>
void
OpenSSL_add_all_algorithms(void);
void
OpenSSL_add_all_ciphers(void);
void
OpenSSL_add_all_digests(void);
void
EVP_cleanup(void);
void
SSLeay_add_all_algorithms(void);
πΈ DESCRIPTION πΈ
okay so first thing, bestie: these functions are deprecated. It is never useful for any application program to call any of them explicitly. Most of them have no effect except that they may or may not call OPENSSL_init_crypto(3). Thatβs the whole vibe. π
The library contains internal tables of digest algorithms and ciphers. It uses these tables to look up digests and ciphers via EVP_get_digestbyname(3) and EVP_get_cipherbyname(3), respectively. In LibreSSL, these tables are static constants and do not require initialization. slay for static constants, honestly π
π«Ά the function-by-function tea β
OpenSSL_add_all_algorithms()β used to add all digests and ciphers to the tables. If an application is compiled with the preprocessor symbolOPENSSL_LOAD_CONFdefined, it also callsOPENSSL_config(3)with aNULLargument, loading the default configuration file. Relying on this behaviour is not recommended π. If loading a configuration file is desired, callOPENSSL_config(3)orCONF_modules_load_file(3)directly.OpenSSL_add_all_digests()β used to add all digest algorithms to the table.OpenSSL_add_all_ciphers()β used to add all encryption algorithms to the table.EVP_cleanup()β has no effect; it used to remove various kinds of application-supplied data that is no longer supported in the first place. literally no notes πSSLeay_add_all_algorithms()β a deprecated alias forOpenSSL_add_all_algorithms().OpenSSL_add_all_algorithms()andSSLeay_add_all_algorithms()β implemented as macros.
π¦ SEE ALSO π¦
evp(3), EVP_DigestInit(3), EVP_EncryptInit(3), OPENSSL_config(3)
go read those if you want the full lore π
π HISTORY π
EVP_cleanup(),SSLeay_add_all_algorithms(), and precursor functionsSSLeay_add_all_ciphers()andSSLeay_add_all_digests()first appeared in SSLeay 0.8.0 and have been available since OpenBSD 2.4. vintage behavior β¨OpenSSL_add_all_algorithms(),OpenSSL_add_all_ciphers(), andOpenSSL_add_all_digests()first appeared in OpenSSL 0.9.5 and have been available since OpenBSD 2.7. and thatβs the timeline, bestie π«Ά
π BUGS π
Although the functions do not return error codes, it is possible for them to fail. not the βno error code means guaranteed successβ plot twist π
xoxo, this page came to you from Debian, dated June 12, 2025, with footer energy OPENSSL_ADD_ALL_ALGORITHMS(3). mwah πβ¨
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2018, 2019, 2023, 2025 Ingo Schwarze <schwarze@openbsd.org>
- Copyright (c) 2000, 2003, 2013 The OpenSSL Project. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms