From: Michael Baentsch <57787676+baentsch@users.noreply.github.com> Date: Sat, 25 Mar 2023 12:06:46 +0000 (+0100) Subject: remove DSA512 from speed testing X-Git-Tag: openssl-3.2.0-alpha1~1077 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c966ab6b332d3666870856edb122d67cb09ead5;p=thirdparty%2Fopenssl.git remove DSA512 from speed testing Reviewed-by: Tomas Mraz Reviewed-by: Todd Short Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/20603) --- diff --git a/apps/speed.c b/apps/speed.c index 5d4b389da69..489548f5ca7 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -349,9 +349,8 @@ static const OPT_PAIR doit_choices[] = { static double results[ALGOR_NUM][SIZE_NUM]; -enum { R_DSA_512, R_DSA_1024, R_DSA_2048, DSA_NUM }; +enum { R_DSA_1024, R_DSA_2048, DSA_NUM }; static const OPT_PAIR dsa_choices[DSA_NUM] = { - {"dsa512", R_DSA_512}, {"dsa1024", R_DSA_1024}, {"dsa2048", R_DSA_2048} }; @@ -1447,7 +1446,7 @@ int speed_main(int argc, char **argv) uint8_t ffdh_doit[FFDH_NUM] = { 0 }; #endif /* OPENSSL_NO_DH */ - static const unsigned int dsa_bits[DSA_NUM] = { 512, 1024, 2048 }; + static const unsigned int dsa_bits[DSA_NUM] = { 1024, 2048 }; uint8_t dsa_doit[DSA_NUM] = { 0 }; /* * We only test over the following curves as they are representative, To diff --git a/doc/man1/openssl-speed.pod.in b/doc/man1/openssl-speed.pod.in index 011a086eab4..ab76ca6f137 100644 --- a/doc/man1/openssl-speed.pod.in +++ b/doc/man1/openssl-speed.pod.in @@ -146,6 +146,8 @@ supported by third party providers with the C command. The B<-engine> option was deprecated in OpenSSL 3.0. +DSA512 was removed in OpenSSL 3.2. + =head1 COPYRIGHT Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.