diff options
author | Andy Polyakov <appro@openssl.org> | 2017-11-24 22:45:45 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2017-11-28 20:05:48 +0100 |
commit | 3bded9cd35077363d1e70ac5fa8ad827b5dcc0b8 (patch) | |
tree | d1eaef575db625565cac1be48d4126b4b70c8bfb /test/recipes | |
parent | 0122add6549c7d5671f77a81c5a32571a5d46f3f (diff) |
rsa/rsa_gen.c: harmonize keygen's ability with RSA_security_bits.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4791)
Diffstat (limited to 'test/recipes')
-rw-r--r-- | test/recipes/15-test_mp_rsa.t | 27 |
1 files changed, 6 insertions, 21 deletions
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', }, ); |