From 350c92351705aa5916ffdf07fd7b81c1cbcb178b Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 11 Nov 2019 16:33:24 +0000 Subject: [PATCH] Add documentation for the newly added RSA_PKCS1_WITH_TLS_PADDING Documentation for RSA_PKCS1_WITH_TLS_PADDING padding mode as per the previous commits, as well as the associated parameters for this mode. Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/10411) --- doc/man3/EVP_PKEY_CTX_ctrl.pod | 23 ++++++++++++++++++++++- doc/man7/provider-asymcipher.pod | 17 +++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/doc/man3/EVP_PKEY_CTX_ctrl.pod b/doc/man3/EVP_PKEY_CTX_ctrl.pod index 06151d4a5c..306b20b603 100644 --- a/doc/man3/EVP_PKEY_CTX_ctrl.pod +++ b/doc/man3/EVP_PKEY_CTX_ctrl.pod @@ -258,7 +258,9 @@ The B parameter can take the value B for PKCS#1 padding, B for SSLv23 padding, B for no padding, B for OAEP padding (encrypt and decrypt only), B for X9.31 padding (signature operations -only) and B (sign and verify only). +only), B (sign and verify only) and +B for TLS RSA ClientKeyExchange message padding +(decryption only). Two RSA padding modes behave differently if EVP_PKEY_CTX_set_signature_md() is used. If this macro is called for PKCS#1 padding the plaintext buffer is @@ -352,6 +354,25 @@ B