=head1 DESCRIPTION
-RSA is vulnerable from timing attacks. In a setup where attackers can
+RSA is vulnerable to timing attacks. In a setup where attackers can
measure the time of RSA decryption or signature operations, blinding
must be used to protect the RSA operation from that attack.
This function validates RSA keys. It checks that B<p> and B<q> are
in fact prime, and that B<n = p*q>.
-In the case of private keys, it also checks that B<d*e = 1 mod (p-1*q-1)>,
+It also checks that B<d*e = 1 mod (p-1*q-1)>,
and that B<dmp1>, B<dmq1> and B<iqmp> are set correctly or are B<NULL>.
The key's public components may not be B<NULL>.