Re: [PATCH] drivers/crypto:caam:Map src buffer before access in CAAM driver

2013-09-11 Thread Horia Geantă
On 9/11/2013 9:02 AM, yashpal.du...@freescale.com wrote: From: Yashpal Dutta KMap the buffers before copying trailing bytes during hmac in CAAM driver into a session temporary buffer. This is required if pinned buffer from user-space is send to CAAM driver during hmac and is safe even if hmac r

[PATCH] drivers/crypto:caam:Map src buffer before access in CAAM driver

2013-09-10 Thread Yashpal.Dutta
From: Yashpal Dutta KMap the buffers before copying trailing bytes during hmac in CAAM driver into a session temporary buffer. This is required if pinned buffer from user-space is send to CAAM driver during hmac and is safe even if hmac request is generated from within kernel. Signed-off-by: Yas