]> git.ipfire.org Git - thirdparty/openssl.git/commit
speed: Also measure RSA encrypt/decrypt, not only RSA sign/verify
authorIngo Franzki <ifranzki@linux.ibm.com>
Tue, 20 Jun 2023 11:40:41 +0000 (13:40 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 1 Aug 2023 17:10:39 +0000 (19:10 +0200)
commit0195df8baa12ac2f1364f55db09ba7fabb67df93
treebbdc93ac665d0acf11419a4f53b07ba5b02259b6
parente3d897d3fa3b48bb835fab0665a435469beea7ae
speed: Also measure RSA encrypt/decrypt, not only RSA sign/verify

While RSA encrypt/decrypt and sign/verify are basically the same mod-expo
operations, the speed of the operation may still differ, due to different
padding, as well as the use of implicit rejection for RSA decrypt.

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21383)
apps/speed.c