mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
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:
parent
2c7cae53bc
commit
bb90a7861c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user