commit | c360f83ba48be15ba2bed984c306948e68822bb8 | [log] [tgz] |
---|---|---|
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Jun 12 13:21:50 2014 |
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Jun 12 13:21:50 2014 |
tree | 6f63434fde44c7207d1920e657ef2b944b715959 | |
parent | 345b686c7daab820bf0849ccba4fe0cc2e97e8d4 [diff] |
[webcrypto] Restrict public exponent for RSA key generation to 3 or 65537. OpenSSL can hang when given invalid values for the public exponent so do a whitelist validation approach to avoid this. For compatibility reasons the same restriction is applied to the NSS implementation. BUG=381844,245025 Review URL: https://codereview.chromium.org/329673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276658 0039d316-1c4b-4281-b951-d872f2087c98