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:10:51 -0700 |
commit | 66df6a5db4d2cc9b6a371c83c7141742a41b8372 (patch) | |
tree | 7bc5b67f7e3a29d8ca2a163f2c7e3f271d393f09 /net/lapb/lapb_in.c | |
parent | 0d57510d39d0b4d54b686a1df2e8e099ca588dcc (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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions