diff options
author | schwarze <> | 2021-12-18 17:47:45 +0000 |
---|---|---|
committer | schwarze <> | 2021-12-18 17:47:45 +0000 |
commit | 41fcc6b5e0fadf216f047f3ac32e97de6603fd6b (patch) | |
tree | 910b00af2161542e9a62b69fd3d2435e011e0314 | |
parent | f7d305590a6bc15a77694a68f5c4e5913c8aadf5 (diff) | |
download | openbsd-41fcc6b5e0fadf216f047f3ac32e97de6603fd6b.tar.gz openbsd-41fcc6b5e0fadf216f047f3ac32e97de6603fd6b.tar.bz2 openbsd-41fcc6b5e0fadf216f047f3ac32e97de6603fd6b.zip |
new manual page OBJ_add_sigid(3)
-rw-r--r-- | src/lib/libcrypto/man/ASN1_item_sign.3 | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/man/ASN1_item_verify.3 | 7 | ||||
-rw-r--r-- | src/lib/libcrypto/man/Makefile | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/man/OBJ_NAME_add.3 | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/man/OBJ_add_sigid.3 | 124 | ||||
-rw-r--r-- | src/lib/libcrypto/man/OBJ_create.3 | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/man/OBJ_nid2obj.3 | 5 | ||||
-rw-r--r-- | src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 | 15 | ||||
-rw-r--r-- | src/lib/libcrypto/man/X509_signature_dump.3 | 5 |
9 files changed, 155 insertions, 19 deletions
diff --git a/src/lib/libcrypto/man/ASN1_item_sign.3 b/src/lib/libcrypto/man/ASN1_item_sign.3 index 9dfc346fcc..b47fd1d04d 100644 --- a/src/lib/libcrypto/man/ASN1_item_sign.3 +++ b/src/lib/libcrypto/man/ASN1_item_sign.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ASN1_item_sign.3,v 1.1 2021/11/07 15:29:01 schwarze Exp $ | 1 | .\" $OpenBSD: ASN1_item_sign.3,v 1.2 2021/12/18 17:47:44 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: November 7 2021 $ | 17 | .Dd $Mdocdate: December 18 2021 $ |
18 | .Dt ASN1_ITEM_SIGN 3 | 18 | .Dt ASN1_ITEM_SIGN 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -116,6 +116,7 @@ is not fully initialized. | |||
116 | .\" We do not provide EVP_PKEY_asn1_set_item(3). | 116 | .\" We do not provide EVP_PKEY_asn1_set_item(3). |
117 | .\" .Xr EVP_PKEY_asn1_new 3 , | 117 | .\" .Xr EVP_PKEY_asn1_new 3 , |
118 | .Xr EVP_PKEY_new 3 , | 118 | .Xr EVP_PKEY_new 3 , |
119 | .Xr OBJ_find_sigid_by_algs 3 , | ||
119 | .Xr X509_ALGOR_new 3 | 120 | .Xr X509_ALGOR_new 3 |
120 | .Sh HISTORY | 121 | .Sh HISTORY |
121 | .Fn ASN1_item_sign | 122 | .Fn ASN1_item_sign |
diff --git a/src/lib/libcrypto/man/ASN1_item_verify.3 b/src/lib/libcrypto/man/ASN1_item_verify.3 index 5d18518577..d2810879e3 100644 --- a/src/lib/libcrypto/man/ASN1_item_verify.3 +++ b/src/lib/libcrypto/man/ASN1_item_verify.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: ASN1_item_verify.3,v 1.2 2021/11/26 13:48:21 jsg Exp $ | 1 | .\" $OpenBSD: ASN1_item_verify.3,v 1.3 2021/12/18 17:47:44 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: November 26 2021 $ | 17 | .Dd $Mdocdate: December 18 2021 $ |
18 | .Dt ASN1_ITEM_VERIFY 3 | 18 | .Dt ASN1_ITEM_VERIFY 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -45,7 +45,7 @@ and verifies in a way similar to | |||
45 | that | 45 | that |
46 | .Fa sig_in | 46 | .Fa sig_in |
47 | contains a valid signature of the resulting byte array, | 47 | contains a valid signature of the resulting byte array, |
48 | a signature that was created with the digest type | 48 | a signature that was created with the signature algorithm |
49 | .Fa algor1 | 49 | .Fa algor1 |
50 | and the private key corresponding to the public key | 50 | and the private key corresponding to the public key |
51 | .Fa pkey . | 51 | .Fa pkey . |
@@ -69,6 +69,7 @@ or does not work with the given | |||
69 | .Xr ASN1_item_sign 3 , | 69 | .Xr ASN1_item_sign 3 , |
70 | .Xr EVP_DigestVerify 3 , | 70 | .Xr EVP_DigestVerify 3 , |
71 | .Xr EVP_PKEY_new 3 , | 71 | .Xr EVP_PKEY_new 3 , |
72 | .Xr OBJ_find_sigid_algs 3 , | ||
72 | .Xr X509_ALGOR_new 3 | 73 | .Xr X509_ALGOR_new 3 |
73 | .Sh HISTORY | 74 | .Sh HISTORY |
74 | .Fn ASN1_item_verify | 75 | .Fn ASN1_item_verify |
diff --git a/src/lib/libcrypto/man/Makefile b/src/lib/libcrypto/man/Makefile index 9f9b152d12..79da1eb54f 100644 --- a/src/lib/libcrypto/man/Makefile +++ b/src/lib/libcrypto/man/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.230 2021/12/17 17:56:14 schwarze Exp $ | 1 | # $OpenBSD: Makefile,v 1.231 2021/12/18 17:47:44 schwarze Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | 4 | ||
@@ -207,6 +207,7 @@ MAN= \ | |||
207 | MD5.3 \ | 207 | MD5.3 \ |
208 | NAME_CONSTRAINTS_new.3 \ | 208 | NAME_CONSTRAINTS_new.3 \ |
209 | OBJ_NAME_add.3 \ | 209 | OBJ_NAME_add.3 \ |
210 | OBJ_add_sigid.3 \ | ||
210 | OBJ_create.3 \ | 211 | OBJ_create.3 \ |
211 | OBJ_nid2obj.3 \ | 212 | OBJ_nid2obj.3 \ |
212 | OCSP_CRLID_new.3 \ | 213 | OCSP_CRLID_new.3 \ |
diff --git a/src/lib/libcrypto/man/OBJ_NAME_add.3 b/src/lib/libcrypto/man/OBJ_NAME_add.3 index 4fc4d566a7..4b1c39676f 100644 --- a/src/lib/libcrypto/man/OBJ_NAME_add.3 +++ b/src/lib/libcrypto/man/OBJ_NAME_add.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: OBJ_NAME_add.3,v 1.1 2021/12/17 17:56:14 schwarze Exp $ | 1 | .\" $OpenBSD: OBJ_NAME_add.3,v 1.2 2021/12/18 17:47:45 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: December 17 2021 $ | 17 | .Dd $Mdocdate: December 18 2021 $ |
18 | .Dt OBJ_NAME_ADD 3 | 18 | .Dt OBJ_NAME_ADD 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -315,6 +315,7 @@ representing the new type or 0 if memory allocation fails. | |||
315 | .Xr EVP_get_cipherbyname 3 , | 315 | .Xr EVP_get_cipherbyname 3 , |
316 | .Xr EVP_get_digestbyname 3 , | 316 | .Xr EVP_get_digestbyname 3 , |
317 | .Xr lh_new 3 , | 317 | .Xr lh_new 3 , |
318 | .Xr OBJ_add_sigid 3 , | ||
318 | .Xr OBJ_create 3 , | 319 | .Xr OBJ_create 3 , |
319 | .Xr OBJ_nid2obj 3 | 320 | .Xr OBJ_nid2obj 3 |
320 | .Sh BUGS | 321 | .Sh BUGS |
diff --git a/src/lib/libcrypto/man/OBJ_add_sigid.3 b/src/lib/libcrypto/man/OBJ_add_sigid.3 new file mode 100644 index 0000000000..abfe825e88 --- /dev/null +++ b/src/lib/libcrypto/man/OBJ_add_sigid.3 | |||
@@ -0,0 +1,124 @@ | |||
1 | .\" $OpenBSD: OBJ_add_sigid.3,v 1.1 2021/12/18 17:47:45 schwarze Exp $ | ||
2 | .\" | ||
3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | ||
4 | .\" | ||
5 | .\" Permission to use, copy, modify, and distribute this software for any | ||
6 | .\" purpose with or without fee is hereby granted, provided that the above | ||
7 | .\" copyright notice and this permission notice appear in all copies. | ||
8 | .\" | ||
9 | .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
10 | .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
11 | .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
12 | .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
13 | .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
16 | .\" | ||
17 | .Dd $Mdocdate: December 18 2021 $ | ||
18 | .Dt OBJ_ADD_SIGID 3 | ||
19 | .Os | ||
20 | .Sh NAME | ||
21 | .Nm OBJ_add_sigid , | ||
22 | .Nm OBJ_sigid_free , | ||
23 | .Nm OBJ_find_sigid_algs , | ||
24 | .Nm OBJ_find_sigid_by_algs | ||
25 | .Nd signature algorithm mappings | ||
26 | .Sh SYNOPSIS | ||
27 | .In openssl/objects.h | ||
28 | .Ft int | ||
29 | .Fo OBJ_add_sigid | ||
30 | .Fa "int signature" | ||
31 | .Fa "int digest" | ||
32 | .Fa "int encryption" | ||
33 | .Fc | ||
34 | .Ft void | ||
35 | .Fn OBJ_sigid_free void | ||
36 | .Ft int | ||
37 | .Fo OBJ_find_sigid_algs | ||
38 | .Fa "int signature" | ||
39 | .Fa "int *pdigest" | ||
40 | .Fa "int *pencryption" | ||
41 | .Fc | ||
42 | .Ft int | ||
43 | .Fo OBJ_find_sigid_by_algs | ||
44 | .Fa "int *psignature" | ||
45 | .Fa "int digest" | ||
46 | .Fa "int encryption" | ||
47 | .Fc | ||
48 | .Sh DESCRIPTION | ||
49 | .Fn OBJ_add_sigid | ||
50 | defines the | ||
51 | .Fa signature | ||
52 | algorithm to use the specified | ||
53 | .Fa digest | ||
54 | and | ||
55 | .Fa encryption | ||
56 | algorithms. | ||
57 | Making sure that this does not conflict with earlier invocations of | ||
58 | .Fn OBJ_add_sigid | ||
59 | is the responsibility of the caller. | ||
60 | Definitions made with | ||
61 | .Fn OBJ_add_sigid | ||
62 | take precedence over definitions built into the library. | ||
63 | .Pp | ||
64 | .Fn OBJ_sigid_free | ||
65 | deletes all definitions made with | ||
66 | .Fn OBJ_add_sigid . | ||
67 | .Pp | ||
68 | .Fn OBJ_find_sigid_algs | ||
69 | looks up the | ||
70 | .Fa signature | ||
71 | algorithm. | ||
72 | If it is found, the associated digest algorithm is stored in | ||
73 | .Pf * Fa pdigest | ||
74 | unless | ||
75 | .Fa pdigest | ||
76 | is a | ||
77 | .Dv NULL | ||
78 | pointer, and the associated encryption algorithm is stored in | ||
79 | .Pf * Fa pencryption | ||
80 | unless | ||
81 | .Fa pencryption | ||
82 | is a | ||
83 | .Dv NULL | ||
84 | pointer. | ||
85 | .Pp | ||
86 | .Fn OBJ_find_sigid_by_algs | ||
87 | looks up the pair | ||
88 | .Pq Fa digest , encryption . | ||
89 | If it is found, the associated signature algorithm is stored in | ||
90 | .Pf * Fa psignature | ||
91 | unless | ||
92 | .Fa psignature | ||
93 | is a | ||
94 | .Dv NULL | ||
95 | pointer. | ||
96 | .Sh RETURN VALUES | ||
97 | .Fn OBJ_add_sigid | ||
98 | returns 1 on success or 0 if memory allocation fails. | ||
99 | .Pp | ||
100 | .Fn OBJ_find_sigid_algs | ||
101 | returns 1 if a definition of the | ||
102 | .Fa signature | ||
103 | algorithm is found or 0 if a definition of the | ||
104 | .Fa signature | ||
105 | algorithm is neither built into the library nor provided with | ||
106 | .Fn OBJ_add_sigid . | ||
107 | .Pp | ||
108 | .Fn OBJ_find_sigid_by_algs | ||
109 | returns 1 if a signature algorithm using the specified | ||
110 | .Fa digest | ||
111 | and | ||
112 | .Fa encryption | ||
113 | algorithms is defined or 0 if the definition of such an algorithm | ||
114 | is neither built into the library nor provided with | ||
115 | .Fn OBJ_add_sigid . | ||
116 | .Sh SEE ALSO | ||
117 | .Xr EVP_cleanup 3 , | ||
118 | .Xr OBJ_create 3 , | ||
119 | .Xr OBJ_NAME_add 3 , | ||
120 | .Xr OBJ_nid2obj 3 | ||
121 | .Sh HISTORY | ||
122 | These functions first appeared in OpenSSL 1.0.0 | ||
123 | and have been available since | ||
124 | .Ox 4.9 . | ||
diff --git a/src/lib/libcrypto/man/OBJ_create.3 b/src/lib/libcrypto/man/OBJ_create.3 index bc081a8c80..1710d76e5a 100644 --- a/src/lib/libcrypto/man/OBJ_create.3 +++ b/src/lib/libcrypto/man/OBJ_create.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: OBJ_create.3,v 1.4 2021/12/17 17:56:14 schwarze Exp $ | 1 | .\" $OpenBSD: OBJ_create.3,v 1.5 2021/12/18 17:47:45 schwarze Exp $ |
2 | .\" full merge up to: | 2 | .\" full merge up to: |
3 | .\" OpenSSL OBJ_nid2obj.pod 9b86974e Aug 17 15:21:33 2015 -0400 | 3 | .\" OpenSSL OBJ_nid2obj.pod 9b86974e Aug 17 15:21:33 2015 -0400 |
4 | .\" selective merge up to: | 4 | .\" selective merge up to: |
@@ -69,7 +69,7 @@ | |||
69 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 69 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
70 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 70 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
71 | .\" | 71 | .\" |
72 | .Dd $Mdocdate: December 17 2021 $ | 72 | .Dd $Mdocdate: December 18 2021 $ |
73 | .Dt OBJ_CREATE 3 | 73 | .Dt OBJ_CREATE 3 |
74 | .Os | 74 | .Os |
75 | .Sh NAME | 75 | .Sh NAME |
@@ -253,6 +253,7 @@ obj = OBJ_nid2obj(new_nid); | |||
253 | .Sh SEE ALSO | 253 | .Sh SEE ALSO |
254 | .Xr ASN1_OBJECT_new 3 , | 254 | .Xr ASN1_OBJECT_new 3 , |
255 | .Xr EVP_cleanup 3 , | 255 | .Xr EVP_cleanup 3 , |
256 | .Xr OBJ_add_sigid 3 , | ||
256 | .Xr OBJ_NAME_add 3 , | 257 | .Xr OBJ_NAME_add 3 , |
257 | .Xr OBJ_nid2obj 3 | 258 | .Xr OBJ_nid2obj 3 |
258 | .Sh HISTORY | 259 | .Sh HISTORY |
diff --git a/src/lib/libcrypto/man/OBJ_nid2obj.3 b/src/lib/libcrypto/man/OBJ_nid2obj.3 index a337cedf18..511bf8567a 100644 --- a/src/lib/libcrypto/man/OBJ_nid2obj.3 +++ b/src/lib/libcrypto/man/OBJ_nid2obj.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: OBJ_nid2obj.3,v 1.17 2021/12/17 17:56:14 schwarze Exp $ | 1 | .\" $OpenBSD: OBJ_nid2obj.3,v 1.18 2021/12/18 17:47:45 schwarze Exp $ |
2 | .\" full merge up to: OpenSSL c264592d May 14 11:28:00 2006 +0000 | 2 | .\" full merge up to: OpenSSL c264592d May 14 11:28:00 2006 +0000 |
3 | .\" selective merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200 | 3 | .\" selective merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200 |
4 | .\" | 4 | .\" |
@@ -67,7 +67,7 @@ | |||
67 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 67 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
68 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 68 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
69 | .\" | 69 | .\" |
70 | .Dd $Mdocdate: December 17 2021 $ | 70 | .Dd $Mdocdate: December 18 2021 $ |
71 | .Dt OBJ_NID2OBJ 3 | 71 | .Dt OBJ_NID2OBJ 3 |
72 | .Os | 72 | .Os |
73 | .Sh NAME | 73 | .Sh NAME |
@@ -389,6 +389,7 @@ obj = OBJ_txt2obj("1.2.3.4", 1); | |||
389 | .Xr ASN1_OBJECT_new 3 , | 389 | .Xr ASN1_OBJECT_new 3 , |
390 | .Xr BIO_new 3 , | 390 | .Xr BIO_new 3 , |
391 | .Xr d2i_ASN1_OBJECT 3 , | 391 | .Xr d2i_ASN1_OBJECT 3 , |
392 | .Xr OBJ_add_sigid 3 , | ||
392 | .Xr OBJ_create 3 , | 393 | .Xr OBJ_create 3 , |
393 | .Xr OBJ_NAME_add 3 | 394 | .Xr OBJ_NAME_add 3 |
394 | .Sh HISTORY | 395 | .Sh HISTORY |
diff --git a/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 b/src/lib/libcrypto/man/OpenSSL_add_all_algorithms.3 index f95c0713ef..908b344f8a 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.10 2021/12/17 17:56:14 schwarze Exp $ | 1 | .\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.11 2021/12/18 17:47:45 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: December 17 2021 $ | 51 | .Dd $Mdocdate: December 18 2021 $ |
52 | .Dt OPENSSL_ADD_ALL_ALGORITHMS 3 | 52 | .Dt OPENSSL_ADD_ALL_ALGORITHMS 3 |
53 | .Os | 53 | .Os |
54 | .Sh NAME | 54 | .Sh NAME |
@@ -100,15 +100,20 @@ only the first call has an effect. | |||
100 | .Fn EVP_cleanup | 100 | .Fn EVP_cleanup |
101 | removes all ciphers and digests from the table and also calls | 101 | removes all ciphers and digests from the table and also calls |
102 | .Xr OBJ_NAME_cleanup 3 | 102 | .Xr OBJ_NAME_cleanup 3 |
103 | with an argument of \-1, thus resetting the global associative array | 103 | with an argument of \-1 and |
104 | to its default state, removing all types, key-value pairs, and aliases | 104 | .Xr OBJ_sigid_free 3 , |
105 | from it, including any that are unrelated to the EVP library. | 105 | thus resetting the global associative array of names |
106 | and all signature algorithm definitions to their default states, | ||
107 | removing all application-defined types, key-value pairs, aliases, | ||
108 | and signature algorithm definitions, | ||
109 | including any that are unrelated to the EVP library. | ||
106 | .Sh SEE ALSO | 110 | .Sh SEE ALSO |
107 | .Xr evp 3 , | 111 | .Xr evp 3 , |
108 | .Xr EVP_DigestInit 3 , | 112 | .Xr EVP_DigestInit 3 , |
109 | .Xr EVP_EncryptInit 3 , | 113 | .Xr EVP_EncryptInit 3 , |
110 | .Xr OBJ_cleanup 3 , | 114 | .Xr OBJ_cleanup 3 , |
111 | .Xr OBJ_NAME_add 3 , | 115 | .Xr OBJ_NAME_add 3 , |
116 | .Xr OBJ_sigid_free 3 , | ||
112 | .Xr OPENSSL_config 3 | 117 | .Xr OPENSSL_config 3 |
113 | .Sh HISTORY | 118 | .Sh HISTORY |
114 | .Fn EVP_cleanup | 119 | .Fn EVP_cleanup |
diff --git a/src/lib/libcrypto/man/X509_signature_dump.3 b/src/lib/libcrypto/man/X509_signature_dump.3 index 8fff79ce89..bc41cc8b61 100644 --- a/src/lib/libcrypto/man/X509_signature_dump.3 +++ b/src/lib/libcrypto/man/X509_signature_dump.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: X509_signature_dump.3,v 1.1 2021/07/06 16:05:44 schwarze Exp $ | 1 | .\" $OpenBSD: X509_signature_dump.3,v 1.2 2021/12/18 17:47:45 schwarze Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
4 | .\" | 4 | .\" |
@@ -14,7 +14,7 @@ | |||
14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | .\" | 16 | .\" |
17 | .Dd $Mdocdate: July 6 2021 $ | 17 | .Dd $Mdocdate: December 18 2021 $ |
18 | .Dt X509_SIGNATURE_DUMP 3 | 18 | .Dt X509_SIGNATURE_DUMP 3 |
19 | .Os | 19 | .Os |
20 | .Sh NAME | 20 | .Sh NAME |
@@ -72,6 +72,7 @@ They fail and return as soon as any write operation fails. | |||
72 | .Xr ASN1_STRING_print_ex 3 , | 72 | .Xr ASN1_STRING_print_ex 3 , |
73 | .Xr BIO_new 3 , | 73 | .Xr BIO_new 3 , |
74 | .Xr EVP_PKEY_asn1_new 3 , | 74 | .Xr EVP_PKEY_asn1_new 3 , |
75 | .Xr OBJ_find_sigid_algs 3 , | ||
75 | .Xr X509_ALGOR_new 3 , | 76 | .Xr X509_ALGOR_new 3 , |
76 | .Xr X509_get0_signature 3 | 77 | .Xr X509_get0_signature 3 |
77 | .Sh HISTORY | 78 | .Sh HISTORY |