diff options
Diffstat (limited to 'src/lib/libcrypto/man')
| -rw-r--r-- | src/lib/libcrypto/man/OBJ_NAME_add.3 | 5 | ||||
| -rw-r--r-- | src/lib/libcrypto/man/OBJ_add_sigid.3 | 42 | ||||
| -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 | 11 |
5 files changed, 14 insertions, 54 deletions
diff --git a/src/lib/libcrypto/man/OBJ_NAME_add.3 b/src/lib/libcrypto/man/OBJ_NAME_add.3 index 6d57416273..685619db51 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.3 2022/09/10 10:22:46 jsg Exp $ | 1 | .\" $OpenBSD: OBJ_NAME_add.3,v 1.4 2023/07/21 05:02:53 tb 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: September 10 2022 $ | 17 | .Dd $Mdocdate: July 21 2023 $ |
| 18 | .Dt OBJ_NAME_ADD 3 | 18 | .Dt OBJ_NAME_ADD 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| @@ -315,7 +315,6 @@ 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 , | ||
| 319 | .Xr OBJ_create 3 , | 318 | .Xr OBJ_create 3 , |
| 320 | .Xr OBJ_nid2obj 3 | 319 | .Xr OBJ_nid2obj 3 |
| 321 | .Sh BUGS | 320 | .Sh BUGS |
diff --git a/src/lib/libcrypto/man/OBJ_add_sigid.3 b/src/lib/libcrypto/man/OBJ_add_sigid.3 index abfe825e88..685fbfa07f 100644 --- a/src/lib/libcrypto/man/OBJ_add_sigid.3 +++ b/src/lib/libcrypto/man/OBJ_add_sigid.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: OBJ_add_sigid.3,v 1.1 2021/12/18 17:47:45 schwarze Exp $ | 1 | .\" $OpenBSD: OBJ_add_sigid.3,v 1.2 2023/07/21 05:02:53 tb Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2021 Ingo Schwarze <schwarze@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -14,26 +14,16 @@ | |||
| 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 18 2021 $ | 17 | .Dd $Mdocdate: July 21 2023 $ |
| 18 | .Dt OBJ_ADD_SIGID 3 | 18 | .Dt OBJ_ADD_SIGID 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| 21 | .Nm OBJ_add_sigid , | ||
| 22 | .Nm OBJ_sigid_free , | ||
| 23 | .Nm OBJ_find_sigid_algs , | 21 | .Nm OBJ_find_sigid_algs , |
| 24 | .Nm OBJ_find_sigid_by_algs | 22 | .Nm OBJ_find_sigid_by_algs |
| 25 | .Nd signature algorithm mappings | 23 | .Nd signature algorithm mappings |
| 26 | .Sh SYNOPSIS | 24 | .Sh SYNOPSIS |
| 27 | .In openssl/objects.h | 25 | .In openssl/objects.h |
| 28 | .Ft int | 26 | .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 | 27 | .Fo OBJ_find_sigid_algs |
| 38 | .Fa "int signature" | 28 | .Fa "int signature" |
| 39 | .Fa "int *pdigest" | 29 | .Fa "int *pdigest" |
| @@ -46,25 +36,6 @@ | |||
| 46 | .Fa "int encryption" | 36 | .Fa "int encryption" |
| 47 | .Fc | 37 | .Fc |
| 48 | .Sh DESCRIPTION | 38 | .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 | 39 | .Fn OBJ_find_sigid_algs |
| 69 | looks up the | 40 | looks up the |
| 70 | .Fa signature | 41 | .Fa signature |
| @@ -94,16 +65,12 @@ is a | |||
| 94 | .Dv NULL | 65 | .Dv NULL |
| 95 | pointer. | 66 | pointer. |
| 96 | .Sh RETURN VALUES | 67 | .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 | 68 | .Fn OBJ_find_sigid_algs |
| 101 | returns 1 if a definition of the | 69 | returns 1 if a definition of the |
| 102 | .Fa signature | 70 | .Fa signature |
| 103 | algorithm is found or 0 if a definition of the | 71 | algorithm is found or 0 if a definition of the |
| 104 | .Fa signature | 72 | .Fa signature |
| 105 | algorithm is neither built into the library nor provided with | 73 | algorithm is not built into the library. |
| 106 | .Fn OBJ_add_sigid . | ||
| 107 | .Pp | 74 | .Pp |
| 108 | .Fn OBJ_find_sigid_by_algs | 75 | .Fn OBJ_find_sigid_by_algs |
| 109 | returns 1 if a signature algorithm using the specified | 76 | returns 1 if a signature algorithm using the specified |
| @@ -111,8 +78,7 @@ returns 1 if a signature algorithm using the specified | |||
| 111 | and | 78 | and |
| 112 | .Fa encryption | 79 | .Fa encryption |
| 113 | algorithms is defined or 0 if the definition of such an algorithm | 80 | algorithms is defined or 0 if the definition of such an algorithm |
| 114 | is neither built into the library nor provided with | 81 | is not built into the library. |
| 115 | .Fn OBJ_add_sigid . | ||
| 116 | .Sh SEE ALSO | 82 | .Sh SEE ALSO |
| 117 | .Xr EVP_cleanup 3 , | 83 | .Xr EVP_cleanup 3 , |
| 118 | .Xr OBJ_create 3 , | 84 | .Xr OBJ_create 3 , |
diff --git a/src/lib/libcrypto/man/OBJ_create.3 b/src/lib/libcrypto/man/OBJ_create.3 index e587eb1517..690c1c77f0 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.6 2022/01/01 02:06:07 jsg Exp $ | 1 | .\" $OpenBSD: OBJ_create.3,v 1.7 2023/07/21 05:02:53 tb 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: January 1 2022 $ | 72 | .Dd $Mdocdate: July 21 2023 $ |
| 73 | .Dt OBJ_CREATE 3 | 73 | .Dt OBJ_CREATE 3 |
| 74 | .Os | 74 | .Os |
| 75 | .Sh NAME | 75 | .Sh NAME |
| @@ -253,7 +253,6 @@ 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 , | ||
| 257 | .Xr OBJ_NAME_add 3 , | 256 | .Xr OBJ_NAME_add 3 , |
| 258 | .Xr OBJ_nid2obj 3 | 257 | .Xr OBJ_nid2obj 3 |
| 259 | .Sh HISTORY | 258 | .Sh HISTORY |
diff --git a/src/lib/libcrypto/man/OBJ_nid2obj.3 b/src/lib/libcrypto/man/OBJ_nid2obj.3 index 4b35762dcf..62d67ac740 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.19 2022/03/31 17:27:17 naddy Exp $ | 1 | .\" $OpenBSD: OBJ_nid2obj.3,v 1.20 2023/07/21 05:02:53 tb 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: March 31 2022 $ | 70 | .Dd $Mdocdate: July 21 2023 $ |
| 71 | .Dt OBJ_NID2OBJ 3 | 71 | .Dt OBJ_NID2OBJ 3 |
| 72 | .Os | 72 | .Os |
| 73 | .Sh NAME | 73 | .Sh NAME |
| @@ -389,7 +389,6 @@ 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 , | ||
| 393 | .Xr OBJ_create 3 , | 392 | .Xr OBJ_create 3 , |
| 394 | .Xr OBJ_NAME_add 3 | 393 | .Xr OBJ_NAME_add 3 |
| 395 | .Sh HISTORY | 394 | .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 908b344f8a..364a6c1067 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.11 2021/12/18 17:47:45 schwarze Exp $ | 1 | .\" $OpenBSD: OpenSSL_add_all_algorithms.3,v 1.12 2023/07/21 05:02:53 tb 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 18 2021 $ | 51 | .Dd $Mdocdate: July 21 2023 $ |
| 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,12 +100,10 @@ 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 and | 103 | with an argument of \-1 , |
| 104 | .Xr OBJ_sigid_free 3 , | ||
| 105 | thus resetting the global associative array of names | 104 | thus resetting the global associative array of names |
| 106 | and all signature algorithm definitions to their default states, | 105 | and all signature algorithm definitions to their default states, |
| 107 | removing all application-defined types, key-value pairs, aliases, | 106 | removing all application-defined types, key-value pairs, and aliases, |
| 108 | and signature algorithm definitions, | ||
| 109 | including any that are unrelated to the EVP library. | 107 | including any that are unrelated to the EVP library. |
| 110 | .Sh SEE ALSO | 108 | .Sh SEE ALSO |
| 111 | .Xr evp 3 , | 109 | .Xr evp 3 , |
| @@ -113,7 +111,6 @@ including any that are unrelated to the EVP library. | |||
| 113 | .Xr EVP_EncryptInit 3 , | 111 | .Xr EVP_EncryptInit 3 , |
| 114 | .Xr OBJ_cleanup 3 , | 112 | .Xr OBJ_cleanup 3 , |
| 115 | .Xr OBJ_NAME_add 3 , | 113 | .Xr OBJ_NAME_add 3 , |
| 116 | .Xr OBJ_sigid_free 3 , | ||
| 117 | .Xr OPENSSL_config 3 | 114 | .Xr OPENSSL_config 3 |
| 118 | .Sh HISTORY | 115 | .Sh HISTORY |
| 119 | .Fn EVP_cleanup | 116 | .Fn EVP_cleanup |
