OPENSSL_ADD_ALL_ALGORITHMS(3ossl)

πŸ“¦ version 3.5.0, in opensuse-leap 16.0

πŸ’… OPENSSL_ADD_ALL_ALGORITHMS πŸ’…

okay so bestie, this is a page from the OpenSSL manual, section 3ossl β€” and honestly? It's a little bit of a throwback era. We're talking about the algorithm-registry functions: OpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests, and EVP_cleanup. Their whole job is adding algorithms to an internal table. Iconic behavior, but also: deprecated. We'll get there. πŸŽ€


✨ NAME ✨

OpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests, EVP_cleanup β€” literally just adding algorithms to the internal table. That's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <openssl/evp.h>

so here's the thing, right β€” these functions have been deprecated since OpenSSL 1.1.0, and you can hide them entirely by defining OPENSSL_API_COMPAT with a suitable version value. Check openssl_user_macros(7) for the deets. 🫢

void OpenSSL_add_all_algorithms(void);
void OpenSSL_add_all_ciphers(void);
void OpenSSL_add_all_digests(void);

void EVP_cleanup(void);

πŸ’– DESCRIPTION πŸ’–

OpenSSL keeps an internal table of digest algorithms and ciphers, and it uses this table to look up ciphers via functions such as EVP_get_cipher_byname(). Think of it as the group chat of algorithms β€” everything's in there, and you go find who you need. πŸ’…

OpenSSL_add_all_digests() adds all digest algorithms to the table. All of them. Not a single one left out. slay. πŸ”₯

OpenSSL_add_all_algorithms() adds all algorithms to the table β€” that's digests and ciphers. The full package. ✨

OpenSSL_add_all_ciphers() adds all encryption algorithms to the table, including password based encryption algorithms. yeah, those too. 🌈

Now, in versions prior to 1.1.0, EVP_cleanup() removed all ciphers and digests from the table. But in OpenSSL 1.1.0 it no longer has any effect. It's giving retired influencer β€” still in the credits, does nothing. πŸ’€


🧚 RETURN VALUES 🧚

None of the functions return a value. Not one. Zero. Nada. All void, all the time. πŸ™ˆ


πŸ‘‘ SEE ALSO πŸ‘‘


⭐ HISTORY ⭐

The OpenSSL_add_all_algorithms(), OpenSSL_add_all_ciphers(), OpenSSL_add_all_digests(), and EVP_cleanup() functions were deprecated in OpenSSL 1.1.0 by OPENSSL_init_crypto() and should not be used. Like, don't. Bestie, I'm begging. OPENSSL_init_crypto() is the main character now. πŸ‘‘


Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.


fr fr, remember: deprecated β‰  deleted. If you see these in old code, that's your sign to migrate to OPENSSL_init_crypto(). iykyk πŸ’œ

k byeee, this page was OpenSSL 3.5.0, dated 2026-09-25 β€” catch you in the next man page, bestie! πŸŽ€βœ¨πŸŒΈ

πŸ“¦ where this page comes from