[openssl/openssl] a47eff: 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/openssl-3.0
Home: https://github.com/openssl/openssl
Commit: a47eff38d7e7dd2e0cfba304fc588c4b6f3ab5c0
https://github.com/openssl/openssl/commit/a47eff38d7e7dd2e0cfba304fc588c4b6f3ab5c0
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