remove DSA512 from speed testing
authorMichael Baentsch <57787676+baentsch@users.noreply.github.com>
Sat, 25 Mar 2023 12:06:46 +0000 (13:06 +0100)
committerPauli <pauli@openssl.org>
Thu, 30 Mar 2023 01:26:50 +0000 (12:26 +1100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20603)

apps/speed.c
doc/man1/openssl-speed.pod.in

index 5d4b389da69e31f8e27e7e606f5763601dcb9e38..489548f5ca7668a4023080cc29aae98741ae3963 100644 (file)
@@ -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
index 011a086eab4b8c5293bd82d1cf3baf5ad77ed8fb..ab76ca6f137b614e7ad513e3a41d9664e20067aa 100644 (file)
@@ -146,6 +146,8 @@ supported by third party providers with the C<openssl speed> 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.