From 3bded9cd35077363d1e70ac5fa8ad827b5dcc0b8 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 24 Nov 2017 22:45:45 +0100 Subject: rsa/rsa_gen.c: harmonize keygen's ability with RSA_security_bits. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4791) --- test/recipes/15-test_mp_rsa.t | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) (limited to 'test/recipes') diff --git a/test/recipes/15-test_mp_rsa.t b/test/recipes/15-test_mp_rsa.t index f601c4c11d..9271dba042 100644 --- a/test/recipes/15-test_mp_rsa.t +++ b/test/recipes/15-test_mp_rsa.t @@ -17,7 +17,7 @@ use OpenSSL::Test::Utils; setup("test_mp_rsa"); -plan tests => 61; +plan tests => 31; ok(run(test(["rsa_mp_test"])), "running rsa multi prime test"); @@ -29,30 +29,15 @@ my @test_param = ( primes => '3', bits => '2048', }, - # 4 primes, 2048-bit + # 4 primes, 4096-bit { primes => '4', - bits => '2048', - }, - # 8 primes, 2048-bit - { - primes => '8', - bits => '2048', - }, - # 15 primes, 2048-bit - { - primes => '15', - bits => '2048', - }, - # 8 primes, 15360-bit (3 & 4 primes for 15360 bit is too long to gen a key) - { - primes => '8', - bits => '15360', + bits => '4096', }, - # 15 primes, 15360-bit + # 5 primes, 8192-bit { - primes => '15', - bits => '15360', + primes => '5', + bits => '8192', }, ); -- cgit v1.2.3