summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
diff options
context:
space:
mode:
authorschwarze <>2025-06-09 12:43:53 +0000
committerschwarze <>2025-06-09 12:43:53 +0000
commit32b60effa89c7fa97c04b7e9e8e6b1304d3a4ad3 (patch)
tree9fc9332adb5e1c9914a47453e24d14e40e5cd765 /src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
parent0f2ff66f233cd2c66afdc89bc6e649d3333a8ccd (diff)
downloadopenbsd-32b60effa89c7fa97c04b7e9e8e6b1304d3a4ad3.tar.gz
openbsd-32b60effa89c7fa97c04b7e9e8e6b1304d3a4ad3.tar.bz2
openbsd-32b60effa89c7fa97c04b7e9e8e6b1304d3a4ad3.zip
Retire the manual pages OPENSSL_load_builtin_modules(3) and OBJ_NAME_add(3)
because these functions no longer exist. OK tb@
Diffstat (limited to 'src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3')
-rw-r--r--src/lib/libcrypto/man/OpenSSL_add_all_algorithms.334
1 files changed, 13 insertions, 21 deletions
diff --git a/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 b/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
index ff1c3df6d9..64f71590fe 100644
--- a/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
+++ b/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.17 2025/06/08 22:40:30 schwarze Exp $ 1.\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.18 2025/06/09 12:43:53 schwarze Exp $
2.\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400 2.\" full merge up to: OpenSSL b3696a55 Sep 2 09:35:50 2017 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: June 8 2025 $ 51.Dd $Mdocdate: June 9 2025 $
52.Dt OPENSSL_ADD_ALL_ALGORITHMS 3 52.Dt OPENSSL_ADD_ALL_ALGORITHMS 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -80,17 +80,21 @@
80These functions are deprecated. 80These functions are deprecated.
81It is never useful for any application program 81It is never useful for any application program
82to call any of them explicitly. 82to call any of them explicitly.
83The library automatically calls them internally whenever needed.
84.Pp 83.Pp
85OpenSSL keeps an internal table of digest algorithms and ciphers. 84The library contains internal tables of digest algorithms and ciphers.
86It uses this table to look up ciphers via functions such as 85It uses these tables to look up digests and ciphers via
87.Xr EVP_get_cipherbyname 3 . 86.Xr EVP_get_digestbyname 3
87and
88.Xr EVP_get_cipherbyname 3 ,
89respectively.
90In LibreSSL, these tables are static constants and do not require
91initialization.
88.Pp 92.Pp
89.Fn OpenSSL_add_all_algorithms 93.Fn OpenSSL_add_all_algorithms
90adds all algorithms to the table (digests and ciphers). 94adds all algorithms to the table (digests and ciphers).
91If an application is compiled with the preprocessor symbol 95If an application is compiled with the preprocessor symbol
92.Dv OPENSSL_LOAD_CONF 96.Dv OPENSSL_LOAD_CONF
93#define'd, it also calls 97defined, it also calls
94.Xr OPENSSL_config 3 98.Xr OPENSSL_config 3
95with a 99with a
96.Dv NULL 100.Dv NULL
@@ -103,17 +107,9 @@ adds all digest algorithms to the table.
103adds all encryption algorithms to the table including password based 107adds all encryption algorithms to the table including password based
104encryption algorithms. 108encryption algorithms.
105.Pp 109.Pp
106If any of the above functions is called more than once,
107only the first call has an effect.
108.Pp
109.Fn EVP_cleanup 110.Fn EVP_cleanup
110removes all ciphers and digests from the table and also calls 111has no effect; it used to remove various kinds of application-supplied
111.Xr OBJ_NAME_cleanup 3 112data that is no longer supported in the first place.
112with an argument of \-1 ,
113thus resetting the global associative array of names
114and all signature algorithm definitions to their default states,
115removing all application-defined types, key-value pairs, and aliases,
116including any that are unrelated to the EVP library.
117.Pp 113.Pp
118.Fn SSLeay_add_all_algorithms 114.Fn SSLeay_add_all_algorithms
119is a deprecated alias for 115is a deprecated alias for
@@ -127,8 +123,6 @@ are implemented as macros.
127.Xr evp 3 , 123.Xr evp 3 ,
128.Xr EVP_DigestInit 3 , 124.Xr EVP_DigestInit 3 ,
129.Xr EVP_EncryptInit 3 , 125.Xr EVP_EncryptInit 3 ,
130.Xr OBJ_cleanup 3 ,
131.Xr OBJ_NAME_add 3 ,
132.Xr OPENSSL_config 3 126.Xr OPENSSL_config 3
133.Sh HISTORY 127.Sh HISTORY
134.Fn EVP_cleanup , 128.Fn EVP_cleanup ,
@@ -149,5 +143,3 @@ first appeared in OpenSSL 0.9.5 and have been available since
149.Sh BUGS 143.Sh BUGS
150Although the functions do not return error codes, it is possible for them 144Although the functions do not return error codes, it is possible for them
151to fail. 145to fail.
152This will only happen as a result of a memory allocation failure so this
153is not too much of a problem in practice.