Skip to content
Snippets Groups Projects
Commit 82ad6bca authored by Yashpal Dutta's avatar Yashpal Dutta Committed by Herbert Xu
Browse files

crypto: caam - map src buffer before access


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: default avatarYashpal Dutta <yashpal.dutta@freescale.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1005bccd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment