Re: [PATCH v2] crypto: caam - map src buffer before access

2013-09-23 Thread Herbert Xu
On Wed, Sep 11, 2013 at 07:24:06PM +, Yashpal Dutta wrote: > KMap the buffers before copying trailing bytes during hmac into a session > temporary buffer. This is required if pinned buffer from user-space is send > during hmac and is safe even if hmac request is generated from within kernel. >

Re: [PATCH v2] crypto: caam - map src buffer before access

2013-09-19 Thread Horia Geantă
On 9/11/2013 10:24 PM, Yashpal Dutta wrote: KMap the buffers before copying trailing bytes during hmac into a session temporary buffer. This is required if pinned buffer from user-space is send during hmac and is safe even if hmac request is generated from within kernel. Signed-off-by: Yashpal D

[PATCH v2] crypto: caam - map src buffer before access

2013-09-11 Thread Yashpal Dutta
KMap the buffers before copying trailing bytes during hmac into a session temporary buffer. This is required if pinned buffer from user-space is send during hmac and is safe even if hmac request is generated from within kernel. Signed-off-by: Yashpal Dutta --- Patch covers review comments on firs