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:59 -0700 |
| commit | d51689e20adbf8fe2c3999939da8d61ed2ccbc58 (patch) | |
| tree | 283921ca78ba3c7433904fae082e60b58da64aa6 /include | |
| parent | 0a1b726993ae45ffda33dde0a5760926f682faf8 (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
