diff options
author | Horia Geant? <horia.geanta@freescale.com> | 2015-08-11 20:19:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-13 09:07:45 -0700 |
commit | 47c47104b9908154a09565122f3dc6cf82182ee2 (patch) | |
tree | c7176fc939b50c6e968354c69948c847eaf2039a /include | |
parent | 686cb03a4e6bf3aef1dd46bf29ebb20866dbbd12 (diff) |
crypto: caam - fix memory corruption in ahash_final_ctx
commit b310c178e6d897f82abb9da3af1cd7c02b09f592 upstream.
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.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions