diff options
author | Horia Geant? <horia.geanta@freescale.com> | 2015-08-11 17:19:20 (GMT) |
---|---|---|
committer | Alex Porosanu <alexandru.porosanu@freescale.com> | 2015-11-03 09:49:46 (GMT) |
commit | 4fd8cac059bd7eb2748fd1fbbf2baaa65b3b8a08 (patch) | |
tree | d4f52ca432a51fca5c2e05331b48d7fa4ef7c2fc /crypto/twofish_common.c | |
parent | 16d4087fef605b53c187e6f059747c8c31b93df1 (diff) | |
download | linux-fsl-qoriq-4fd8cac059bd7eb2748fd1fbbf2baaa65b3b8a08.tar.xz |
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>
(cherry picked from commit b310c178e6d897f82abb9da3af1cd7c02b09f592)
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions