| commit | 41bfd5e7c8ac3a0874a94e4d15c006ad5eb48e59 | [log] [tgz] |
|---|---|---|
| author | Andy Polyakov <appro@openssl.org> | Fri Aug 10 19:46:03 2018 +0200 |
| committer | Andy Polyakov <appro@openssl.org> | Thu Aug 23 22:20:35 2018 +0200 |
| tree | 5b2133320c0b11fc99f2d2024921a8d069777251 | |
| parent | fcc4ee09473cac511eca90faa003661c7786e4f9 [diff] |
rsa/rsa_ossl.c: implement variant of "Smooth CRT-RSA." In [most common] case of p and q being of same width, it's possible to replace CRT modulo operations with Montgomery reductions. And those are even fixed-length Montgomery reductions... Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/6915)