diff options
Diffstat (limited to 'src/lib/libcrypto/man')
| -rw-r--r-- | src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 | 13 | 
1 files changed, 6 insertions, 7 deletions
| diff --git a/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 b/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 index d6fcf1a8c1..cf16977e74 100644 --- a/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 +++ b/src/lib/libcrypto/man/RSA_pkey_ctx_ctrl.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: RSA_pkey_ctx_ctrl.3,v 1.6 2023/04/16 23:19:28 tb Exp $ | 1 | .\" $OpenBSD: RSA_pkey_ctx_ctrl.3,v 1.7 2023/05/05 12:22:21 tb Exp $ | 
| 2 | .\" full merge up to: | 2 | .\" full merge up to: | 
| 3 | .\" OpenSSL man3/EVP_PKEY_CTX_ctrl.pod 99d63d46 Oct 26 13:56:48 2016 -0400 | 3 | .\" OpenSSL man3/EVP_PKEY_CTX_ctrl.pod 99d63d46 Oct 26 13:56:48 2016 -0400 | 
| 4 | .\" OpenSSL man3/EVP_PKEY_CTX_set_rsa_pss_keygen_md.pod | 4 | .\" OpenSSL man3/EVP_PKEY_CTX_set_rsa_pss_keygen_md.pod | 
| @@ -55,7 +55,7 @@ | |||
| 55 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 55 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 
| 56 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 56 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 57 | .\" | 57 | .\" | 
| 58 | .Dd $Mdocdate: April 16 2023 $ | 58 | .Dd $Mdocdate: May 5 2023 $ | 
| 59 | .Dt RSA_PKEY_CTX_CTRL 3 | 59 | .Dt RSA_PKEY_CTX_CTRL 3 | 
| 60 | .Os | 60 | .Os | 
| 61 | .Sh NAME | 61 | .Sh NAME | 
| @@ -189,15 +189,12 @@ for PKCS#1 padding, | |||
| 189 | for no padding, | 189 | for no padding, | 
| 190 | .Dv RSA_PKCS1_OAEP_PADDING | 190 | .Dv RSA_PKCS1_OAEP_PADDING | 
| 191 | for OAEP padding (encrypt and decrypt only), | 191 | for OAEP padding (encrypt and decrypt only), | 
| 192 | and | 192 | .Dv RSA_X931_PADDING | 
| 193 | for X9.31 padding (signature operations only) and | ||
| 193 | .Dv RSA_PKCS1_PSS_PADDING | 194 | .Dv RSA_PKCS1_PSS_PADDING | 
| 194 | (sign and verify only). | 195 | (sign and verify only). | 
| 195 | Only the last one can be used with keys of the type | 196 | Only the last one can be used with keys of the type | 
| 196 | .Dv EVP_PKEY_RSA_PSS . | 197 | .Dv EVP_PKEY_RSA_PSS . | 
| 197 | X9.31 padding mode is unsupported. | ||
| 198 | .Dv RSA_X931_PADDING | ||
| 199 | is provided for backward compatibility with some existing | ||
| 200 | application software. | ||
| 201 | .Pp | 198 | .Pp | 
| 202 | Two RSA padding modes behave differently if | 199 | Two RSA padding modes behave differently if | 
| 203 | .Xr EVP_PKEY_CTX_set_signature_md 3 | 200 | .Xr EVP_PKEY_CTX_set_signature_md 3 | 
| @@ -209,6 +206,8 @@ structure according to PKCS#1 when signing and this structure is | |||
| 209 | expected (and stripped off) when verifying. | 206 | expected (and stripped off) when verifying. | 
| 210 | If this control is not used with RSA and PKCS#1 padding then the | 207 | If this control is not used with RSA and PKCS#1 padding then the | 
| 211 | supplied data is used directly and not encapsulated. | 208 | supplied data is used directly and not encapsulated. | 
| 209 | In the case of X9.31 padding for RSA the algorithm identifier byte is | ||
| 210 | added or checked and removed if this control is called. | ||
| 212 | If it is not called then the first byte of the plaintext buffer is | 211 | If it is not called then the first byte of the plaintext buffer is | 
| 213 | expected to be the algorithm identifier byte. | 212 | expected to be the algorithm identifier byte. | 
| 214 | .Pp | 213 | .Pp | 
