commit | f39085971c8c4e36cadbf8a72aabe6c7ff538ffa | [log] [tgz] |
---|---|---|
author | Sundarajan Srinivasan <sundaraj@codeaurora.org> | Mon Apr 21 14:14:30 2014 -0700 |
committer | Sundarajan Srinivasan <sundaraj@codeaurora.org> | Tue Apr 22 11:04:39 2014 -0700 |
tree | 3cd6b9f7ef80a2d50dddabc1266dfa9f07c9b86c | |
parent | d08046f256a54dbe428b16d50bd7211f46720f04 [diff] |
platform: msm_shared: Size of decrypted signature should be equal to size of digest For a successful boot image authentication, the RSA_public_decrypt() api returns the size of the digest otherwise its a failure. This check avoids vulnerability due to trailing data placed at the end of digest. CRs-Fixed: 646385 Change-Id: I32c2d97d5c308d33146c509347915ca65fdd11ac