summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/caamalg.c
diff options
context:
space:
mode:
authorHoria Geant? <horia.geanta@freescale.com>2015-08-11 17:19:20 (GMT)
committerAlex Porosanu <alexandru.porosanu@freescale.com>2015-11-03 09:49:46 (GMT)
commit4fd8cac059bd7eb2748fd1fbbf2baaa65b3b8a08 (patch)
treed4f52ca432a51fca5c2e05331b48d7fa4ef7c2fc /drivers/crypto/caam/caamalg.c
parent16d4087fef605b53c187e6f059747c8c31b93df1 (diff)
downloadlinux-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 'drivers/crypto/caam/caamalg.c')
0 files changed, 0 insertions, 0 deletions