crypto: caam - map src buffer before access
authorYashpal Dutta <yashpal.dutta@freescale.com>
Wed, 11 Sep 2013 19:24:06 +0000 (19:24 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Sep 2013 20:02:20 +0000 (06:02 +1000)
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 <yashpal.dutta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found