summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_set1_RSA.319
1 files changed, 13 insertions, 6 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_set1_RSA.3 b/src/lib/libcrypto/man/EVP_PKEY_set1_RSA.3
index e897dacf68..4847309da0 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_set1_RSA.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_set1_RSA.3
@@ -1,9 +1,9 @@
1.\" $OpenBSD: EVP_PKEY_set1_RSA.3,v 1.6 2018/02/17 16:59:48 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_set1_RSA.3,v 1.7 2018/02/24 17:11:20 schwarze Exp $
2.\" full merge up to: OpenSSL 9b86974e Aug 17 15:21:33 2015 -0400 2.\" full merge up to: OpenSSL bb9ad09e Jun 6 00:43:05 2016 -0400
3.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 3.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
4.\" 4.\"
5.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 5.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
6.\" Copyright (c) 2002, 2014, 2016 The OpenSSL Project. All rights reserved. 6.\" Copyright (c) 2002, 2015, 2016 The OpenSSL Project. All rights reserved.
7.\" 7.\"
8.\" Redistribution and use in source and binary forms, with or without 8.\" Redistribution and use in source and binary forms, with or without
9.\" modification, are permitted provided that the following conditions 9.\" modification, are permitted provided that the following conditions
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: February 17 2018 $ 52.Dd $Mdocdate: February 24 2018 $
53.Dt EVP_PKEY_SET1_RSA 3 53.Dt EVP_PKEY_SET1_RSA 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -64,6 +64,7 @@
64.Nm EVP_PKEY_get0_RSA , 64.Nm EVP_PKEY_get0_RSA ,
65.Nm EVP_PKEY_get0_DSA , 65.Nm EVP_PKEY_get0_DSA ,
66.Nm EVP_PKEY_get0_DH , 66.Nm EVP_PKEY_get0_DH ,
67.Nm EVP_PKEY_get0_EC_KEY ,
67.Nm EVP_PKEY_assign_RSA , 68.Nm EVP_PKEY_assign_RSA ,
68.Nm EVP_PKEY_assign_DSA , 69.Nm EVP_PKEY_assign_DSA ,
69.Nm EVP_PKEY_assign_DH , 70.Nm EVP_PKEY_assign_DH ,
@@ -122,6 +123,10 @@
122.Fo EVP_PKEY_get0_DH 123.Fo EVP_PKEY_get0_DH
123.Fa "EVP_PKEY *pkey" 124.Fa "EVP_PKEY *pkey"
124.Fc 125.Fc
126.Ft EC_KEY *
127.Fo EVP_PKEY_get0_EC_KEY
128.Fa "EVP_PKEY *pkey"
129.Fc
125.Ft int 130.Ft int
126.Fo EVP_PKEY_assign_RSA 131.Fo EVP_PKEY_assign_RSA
127.Fa "EVP_PKEY *pkey" 132.Fa "EVP_PKEY *pkey"
@@ -178,8 +183,9 @@ if the key is not of the correct type.
178.Pp 183.Pp
179.Fn EVP_PKEY_get0_RSA , 184.Fn EVP_PKEY_get0_RSA ,
180.Fn EVP_PKEY_get0_DSA , 185.Fn EVP_PKEY_get0_DSA ,
186.Fn EVP_PKEY_get0_DH ,
181and 187and
182.Fn EVP_PKEY_get0_DH 188.Fn EVP_PKEY_get0_EC_KEY
183are identical except that they do not increment the reference count. 189are identical except that they do not increment the reference count.
184Consequently, the returned key must not be freed by the caller. 190Consequently, the returned key must not be freed by the caller.
185.Pp 191.Pp
@@ -261,8 +267,9 @@ return 1 for success or 0 for failure.
261.Fn EVP_PKEY_get1_EC_KEY , 267.Fn EVP_PKEY_get1_EC_KEY ,
262.Fn EVP_PKEY_get0_RSA , 268.Fn EVP_PKEY_get0_RSA ,
263.Fn EVP_PKEY_get0_DSA , 269.Fn EVP_PKEY_get0_DSA ,
270.Fn EVP_PKEY_get0_DH ,
264and 271and
265.Fn EVP_PKEY_get0_DH 272.Fn EVP_PKEY_get0_EC_KEY
266return the referenced key or 273return the referenced key or
267.Dv NULL 274.Dv NULL
268if an error occurred. 275if an error occurred.