[openssl/openssl] 3100e5: Document that the RSA e value is mandatory when im...
Shane
noreply at github.com
Thu Jan 26 10:07:26 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 3100e52ebad9b43c241882be294ec18f9fe7f958
https://github.com/openssl/openssl/commit/3100e52ebad9b43c241882be294ec18f9fe7f958
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)
(cherry picked from commit 6e3b1c81736b1829584e3f40c2d00040fe1aa881)
More information about the openssl-commits
mailing list