OPENSSL_ADD_ALL_ALGORITHMS(3ossl)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ’… OPENSSL_ADD_ALL_ALGORITHMS πŸ’…

okay so bestie, welcome to OPENSSL_ADD_ALL_ALGORITHMS(3ossl) β€” yes that's the whole page name, it's giving "my function name is a paragraph" energy but we move. this is an OpenSSL manual page and honestly? it's a lil bit of a throwback era. let's get into it πŸŽ€


✨ NAME ✨

OpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests, EVP_cleanup β€” the "add algorithms to internal table" girlies. that's the whole job description. that's the vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

first you gotta include the header, obviously:

#include <openssl/evp.h>

okay so here's the thing, and I need you to sit with me for a sec: the following functions have been deprecated since OpenSSL 1.1.0, and they can be hidden entirely by defining OPENSSL_API_COMPAT with a suitable version value β€” go check openssl_user_macros(7) for the tea on that. 🫢

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

void EVP_cleanup(void);

like, they exist, they're just... in their flop era. no cap. πŸ’€


πŸ’– DESCRIPTION πŸ’–

so OpenSSL keeps an internal table of digest algorithms and ciphers. it literally uses this table to look up ciphers via functions like EVP_get_cipher_byname(). that's the whole system. a table. she's organized. we respect her. πŸ‘‘

  • OpenSSL_add_all_digests() β€” adds all digest algorithms to the table. all of them. every last one. ✨
  • OpenSSL_add_all_algorithms() β€” adds all algorithms to the table (digests and ciphers). the full package deal, the main character of the group, she does both πŸ’…
  • OpenSSL_add_all_ciphers() β€” adds all encryption algorithms to the table, including password based encryption algorithms. yes queen, PBE included πŸ“
and now the sad part 😭 β€” in versions prior to 1.1.0, EVP_cleanup() removed all ciphers and digests from the table. in OpenSSL 1.1.0 it no longer has any effect. she's just there. existing. doing nothing. a decorative icon honestly. πŸ’€

🌈 RETURN VALUES 🌈

none of the functions return a value. not one. zero. void. she gives nothing and that's her right πŸ™ˆ


🧚 SEE ALSO 🧚

go read these, bestie, they're the friends of this page:


⭐ 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 they should not be used. like, at all. don't do it. this is your sign. 🚫✨


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>.


and that's the page, bestie 🫢 this iconic lil artifact is from 3.5.6, dated 2026-04-07 β€” go forth and not call these deprecated functions, mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from