diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_PKEY_new.3')
-rw-r--r-- | src/lib/libcrypto/man/EVP_PKEY_new.3 | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_new.3 b/src/lib/libcrypto/man/EVP_PKEY_new.3 index 3b9611990a..36f3886856 100644 --- a/src/lib/libcrypto/man/EVP_PKEY_new.3 +++ b/src/lib/libcrypto/man/EVP_PKEY_new.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: EVP_PKEY_new.3,v 1.18 2022/12/14 22:37:07 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_PKEY_new.3,v 1.19 2024/07/21 08:36:43 tb Exp $ |
2 | .\" full merge up to: OpenSSL 4dcfdfce May 27 11:50:05 2020 +0100 | 2 | .\" full merge up to: OpenSSL 4dcfdfce May 27 11:50:05 2020 +0100 |
3 | .\" | 3 | .\" |
4 | .\" This file is a derived work. | 4 | .\" This file is a derived work. |
@@ -66,7 +66,7 @@ | |||
66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 66 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 67 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. |
68 | .\" | 68 | .\" |
69 | .Dd $Mdocdate: December 14 2022 $ | 69 | .Dd $Mdocdate: July 21 2024 $ |
70 | .Dt EVP_PKEY_NEW 3 | 70 | .Dt EVP_PKEY_NEW 3 |
71 | .Os | 71 | .Os |
72 | .Sh NAME | 72 | .Sh NAME |
@@ -95,20 +95,20 @@ | |||
95 | .Ft EVP_PKEY * | 95 | .Ft EVP_PKEY * |
96 | .Fo EVP_PKEY_new_raw_private_key | 96 | .Fo EVP_PKEY_new_raw_private_key |
97 | .Fa "int type" | 97 | .Fa "int type" |
98 | .Fa "ENGINE *e" | 98 | .Fa "ENGINE *engine" |
99 | .Fa "const unsigned char *rawpriv" | 99 | .Fa "const unsigned char *rawpriv" |
100 | .Fa "size_t rawlen" | 100 | .Fa "size_t rawlen" |
101 | .Fc | 101 | .Fc |
102 | .Ft EVP_PKEY * | 102 | .Ft EVP_PKEY * |
103 | .Fo EVP_PKEY_new_raw_public_key | 103 | .Fo EVP_PKEY_new_raw_public_key |
104 | .Fa "int type" | 104 | .Fa "int type" |
105 | .Fa "ENGINE *e" | 105 | .Fa "ENGINE *engine" |
106 | .Fa "const unsigned char *rawpub" | 106 | .Fa "const unsigned char *rawpub" |
107 | .Fa "size_t rawlen" | 107 | .Fa "size_t rawlen" |
108 | .Fc | 108 | .Fc |
109 | .Ft EVP_PKEY * | 109 | .Ft EVP_PKEY * |
110 | .Fo EVP_PKEY_new_CMAC_key | 110 | .Fo EVP_PKEY_new_CMAC_key |
111 | .Fa "ENGINE *e" | 111 | .Fa "ENGINE *engine" |
112 | .Fa "const unsigned char *rawpriv" | 112 | .Fa "const unsigned char *rawpriv" |
113 | .Fa "size_t rawlen" | 113 | .Fa "size_t rawlen" |
114 | .Fa "const EVP_CIPHER *cipher" | 114 | .Fa "const EVP_CIPHER *cipher" |
@@ -116,7 +116,7 @@ | |||
116 | .Ft EVP_PKEY * | 116 | .Ft EVP_PKEY * |
117 | .Fo EVP_PKEY_new_mac_key | 117 | .Fo EVP_PKEY_new_mac_key |
118 | .Fa "int type" | 118 | .Fa "int type" |
119 | .Fa "ENGINE *e" | 119 | .Fa "ENGINE *engine" |
120 | .Fa "const unsigned char *rawpriv" | 120 | .Fa "const unsigned char *rawpriv" |
121 | .Fa "int rawlen" | 121 | .Fa "int rawlen" |
122 | .Fc | 122 | .Fc |
@@ -165,12 +165,6 @@ pointer, no action occurs. | |||
165 | .Fn EVP_PKEY_new_raw_private_key | 165 | .Fn EVP_PKEY_new_raw_private_key |
166 | allocates a new | 166 | allocates a new |
167 | .Vt EVP_PKEY . | 167 | .Vt EVP_PKEY . |
168 | If | ||
169 | .Fa e | ||
170 | is | ||
171 | .Pf non- Dv NULL , | ||
172 | the new structure is associated with the engine | ||
173 | .Fa e . | ||
174 | The NID of a public key algorithm that supports raw private keys, i.e.\& | 168 | The NID of a public key algorithm that supports raw private keys, i.e.\& |
175 | .Dv EVP_PKEY_HMAC , | 169 | .Dv EVP_PKEY_HMAC , |
176 | .Dv EVP_PKEY_X25519 , | 170 | .Dv EVP_PKEY_X25519 , |
@@ -184,6 +178,11 @@ bytes of raw private key data of that type in | |||
184 | .Fa rawpriv . | 178 | .Fa rawpriv . |
185 | The public key data is automatically derived from the given private | 179 | The public key data is automatically derived from the given private |
186 | key data, if appropriate for the algorithm type. | 180 | key data, if appropriate for the algorithm type. |
181 | The | ||
182 | .Fa ENGINE *engine | ||
183 | argument is always ignored and passing | ||
184 | .Dv NULL | ||
185 | is recommended. | ||
187 | .Pp | 186 | .Pp |
188 | .Fn EVP_PKEY_new_raw_public_key | 187 | .Fn EVP_PKEY_new_raw_public_key |
189 | works in the same way as | 188 | works in the same way as |