fix: openssl speed: RSA encryption is on the pubkey, not the privkey

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24776)
This commit is contained in:
Richard Levitte 2024-07-01 15:28:14 +02:00 committed by Tomas Mraz
parent 2c7cae53bc
commit bb90a7861c

View File

@ -3051,7 +3051,7 @@ int speed_main(int argc, char **argv)
ERR_print_errors(bio_err);
op_count = 1;
} else {
pkey_print_message("private", "rsa encrypt",
pkey_print_message("public", "rsa encrypt",
rsa_keys[testnum].bits, seconds.rsa);
/* RSA_blinding_on(rsa_key[testnum],NULL); */
Time_F(START);