[openssl/openssl] 6e3b1c: Document that the RSA e value is mandatory when im...
Shane
noreply at github.com
Thu Jan 26 10:07:24 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 6e3b1c81736b1829584e3f40c2d00040fe1aa881
https://github.com/openssl/openssl/commit/6e3b1c81736b1829584e3f40c2d00040fe1aa881
Author: slontis <shane.lontis at oracle.com>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
M doc/man7/EVP_PKEY-RSA.pod
Log Message:
-----------
Document that the RSA e value is mandatory when importing.
The lab tried doing a RSA decryption primitive using just n (using p, q) and d.
This failed for 2 reasons:
(1) e is required when importing
(2) Internally e is used for blinding.
Note n and e can be calculated using:
n = pq
e = (1/d) mod (p-1)(q-1)
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20133)
More information about the openssl-commits
mailing list