diff options
Diffstat (limited to 'src/lib/libcrypto/man')
| -rw-r--r-- | src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 b/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 index ca3321c3cb..156e11edb9 100644 --- a/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 +++ b/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.18 2019/10/29 18:22:21 schwarze Exp $ | 1 | .\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.19 2019/10/29 18:40:47 schwarze Exp $ |
| 2 | .\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 | 2 | .\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 |
| 3 | .\" selective merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100 | 3 | .\" selective merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100 |
| 4 | .\" | 4 | .\" |
| @@ -59,6 +59,7 @@ | |||
| 59 | .Nm EVP_PKEY_CTX_ctrl_str , | 59 | .Nm EVP_PKEY_CTX_ctrl_str , |
| 60 | .Nm EVP_PKEY_CTX_set_signature_md , | 60 | .Nm EVP_PKEY_CTX_set_signature_md , |
| 61 | .Nm EVP_PKEY_CTX_get_signature_md , | 61 | .Nm EVP_PKEY_CTX_get_signature_md , |
| 62 | .Nm RSA_pkey_ctx_ctrl , | ||
| 62 | .Nm EVP_PKEY_CTX_set_rsa_padding , | 63 | .Nm EVP_PKEY_CTX_set_rsa_padding , |
| 63 | .Nm EVP_PKEY_CTX_get_rsa_padding , | 64 | .Nm EVP_PKEY_CTX_get_rsa_padding , |
| 64 | .Nm EVP_PKEY_CTX_set_rsa_pss_saltlen , | 65 | .Nm EVP_PKEY_CTX_set_rsa_pss_saltlen , |
| @@ -119,6 +120,14 @@ | |||
| 119 | .Fc | 120 | .Fc |
| 120 | .In openssl/rsa.h | 121 | .In openssl/rsa.h |
| 121 | .Ft int | 122 | .Ft int |
| 123 | .Fo RSA_pkey_ctx_ctrl | ||
| 124 | .Fa "EVP_PKEY_CTX *ctx" | ||
| 125 | .Fa "int optype" | ||
| 126 | .Fa "int cmd" | ||
| 127 | .Fa "int p1" | ||
| 128 | .Fa "void *p2" | ||
| 129 | .Fc | ||
| 130 | .Ft int | ||
| 122 | .Fo EVP_PKEY_CTX_set_rsa_padding | 131 | .Fo EVP_PKEY_CTX_set_rsa_padding |
| 123 | .Fa "EVP_PKEY_CTX *ctx" | 132 | .Fa "EVP_PKEY_CTX *ctx" |
| 124 | .Fa "int pad" | 133 | .Fa "int pad" |
| @@ -324,6 +333,17 @@ macros set and get the message digest type used in a signature. | |||
| 324 | They can be used with the RSA, DSA, and ECDSA algorithms. | 333 | They can be used with the RSA, DSA, and ECDSA algorithms. |
| 325 | .Ss RSA parameters | 334 | .Ss RSA parameters |
| 326 | The | 335 | The |
| 336 | .Fn RSA_pkey_ctx_ctrl | ||
| 337 | function is a shallow wrapper around | ||
| 338 | .Fn EVP_PKEY_CTX_ctrl | ||
| 339 | which only succeeds if | ||
| 340 | .Fa ctx | ||
| 341 | matches either | ||
| 342 | .Dv EVP_PKEY_RSA | ||
| 343 | or | ||
| 344 | .Dv EVP_PKEY_RSA_PSS . | ||
| 345 | .Pp | ||
| 346 | The | ||
| 327 | .Fn EVP_PKEY_CTX_set_rsa_padding | 347 | .Fn EVP_PKEY_CTX_set_rsa_padding |
| 328 | macro sets the RSA padding mode for | 348 | macro sets the RSA padding mode for |
| 329 | .Fa ctx . | 349 | .Fa ctx . |
| @@ -691,3 +711,8 @@ and | |||
| 691 | .Fn EVP_PKEY_CTX_get0_rsa_oaep_label | 711 | .Fn EVP_PKEY_CTX_get0_rsa_oaep_label |
| 692 | first appeared in OpenSSL 1.0.2 and have been available since | 712 | first appeared in OpenSSL 1.0.2 and have been available since |
| 693 | .Ox 6.7 . | 713 | .Ox 6.7 . |
| 714 | .Pp | ||
| 715 | The function | ||
| 716 | .Fn RSA_pkey_ctx_ctrl | ||
| 717 | first appeared in OpenSSL 1.1.1 and has been available since | ||
| 718 | .Ox 6.7 . | ||
