commit | 089b401856a4da378875e94108fe742d1cdf0db2 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Thu Jun 04 12:02:05 2015 -0700 |
committer | Sergio Giro <sgiro@google.com> | Mon Jun 22 15:08:12 2015 +0100 |
tree | a71c717ed142e7db80d39b36041d4b9d84b3e875 | |
parent | 97e54bdde00eae7ffe4eb382e3f2702af4a2197b [diff] |
Adjust Signature interface for BoringSSL BoringSSL will push the BAD_SIGNATURE error onto the stack for every signature error. In Java it just returns false from the Signature#verify call when the signature is incorrect. However, we still want to throw an exception for raw RSA when the number of signature bytes is larger than the modulus can express. Bug: 21209646 Change-Id: Ie29eba8b12bb8d3220b7b29146c45b8dd416e338