Re: [PATCH] crypto: caam - fix memory corruption in ahash_final_ctx

2015-08-13 Thread Herbert Xu
On Tue, Aug 11, 2015 at 08:19:20PM +0300, Horia Geantă wrote: 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: sta...@vger.kernel.org # 3.6+ Fixes: 045e36780f115 (crypto: caam - ahash hmac

[PATCH] crypto: caam - fix memory corruption in ahash_final_ctx

2015-08-11 Thread Horia Geantă
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: sta...@vger.kernel.org # 3.6+ Fixes: 045e36780f115 (crypto: caam - ahash hmac support) Signed-off-by: Horia Geantă horia.gea...@freescale.com ---