commit | b310c178e6d897f82abb9da3af1cd7c02b09f592 | [log] [tgz] |
---|---|---|
author | Horia Geant? <horia.geanta@freescale.com> | Tue Aug 11 20:19:20 2015 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Aug 13 15:08:25 2015 +0800 |
tree | 225eeba9d20daed08880f7d6e64859826e6497c5 | |
parent | d3392f41f6d3cd0a034bd0aca47fabea2b47218e [diff] |
crypto: caam - fix memory corruption in ahash_final_ctx When doing pointer operation for accessing the HW S/G table, a value representing number of entries (and not number of bytes) must be used. Cc: <stable@vger.kernel.org> # 3.6+ Fixes: 045e36780f115 ("crypto: caam - ahash hmac support") Signed-off-by: Horia Geant? <horia.geanta@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>