summaryrefslogtreecommitdiff
path: root/drivers/crypto/atmel-tdes-regs.h
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2017-02-10 15:07:19 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-02-15 08:23:39 +0300
commitfa0c92db1eb818a36c1b837b5f6da7e95b181247 (patch)
treeea919e3f21fb0fbff4c7e5dd6e4eadf88904371e /drivers/crypto/atmel-tdes-regs.h
parentfd144d83cc42cfe6c82cba76bc0113dacd53a4d4 (diff)
downloadlinux-fa0c92db1eb818a36c1b837b5f6da7e95b181247.tar.xz
crypto: caam - replace sg_count() with sg_nents_for_len()
Replace internal sg_count() function and the convoluted logic around it with the standard sg_nents_for_len() function. src_nents, dst_nents now hold the number of SW S/G entries, instead of the HW S/G table entries. With this change, null (zero length) input data for AEAD case needs to be handled in a visible way. req->src is no longer (un)mapped, pointer address is set to 0 in SEQ IN PTR command. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-tdes-regs.h')
0 files changed, 0 insertions, 0 deletions