|
|
|
|
|
by tptacek
957 days ago
|
|
IIUC, the original 2001 countermeasure for this is embedded in the modexp routine, and both OpenSSL (in rsa_ossl.c) and LibreSSL libcrypto (in rsa_eay.c) have substantially the same logic. Look for the comment: /*
* 'I' and 'vrfy' aren't congruent mod n. Don't leak
* miscalculated CRT output, just do a raw (slower)
* mod_exp and return that instead.
*/
|
|
(I expect that LibreSSL removed the plugin framework, but I haven't checked.)