From a5f002bb596c498197a3a22894cfb7dafb997bc7 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Thu, 31 Oct 2019 14:29:41 +0000 Subject: In rsa_pmeth.c rev. 1.30, jsing@ set the minimum RSA key length for RSA key generation to 512 bits. Document that minimum. --- src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 b/src/lib/libcrypto/man/EVP_PKEY_CTX_ctrl.3 index 156e11edb9..b9332a7ec1 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 @@ -.\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.19 2019/10/29 18:40:47 schwarze Exp $ +.\" $OpenBSD: EVP_PKEY_CTX_ctrl.3,v 1.20 2019/10/31 14:29:41 schwarze Exp $ .\" full merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 .\" selective merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100 .\" @@ -51,7 +51,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: October 29 2019 $ +.Dd $Mdocdate: October 31 2019 $ .Dt EVP_PKEY_CTX_CTRL 3 .Os .Sh NAME @@ -405,6 +405,7 @@ The .Fn EVP_PKEY_CTX_set_rsa_keygen_bits macro sets the RSA key length for RSA key generation to .Fa mbits . +The smallest supported value is 512 bits. If not specified, 1024 bits is used. .Pp The -- cgit v1.2.3-55-g6feb