summaryrefslogtreecommitdiff
path: root/crypto/seqiv.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-05-21 10:11:12 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-22 06:25:55 +0300
commit74412fd5d71b6eda0beb302aa467da000f0d530c (patch)
tree9a17d96184852eb0910c4960625567eebccc1439 /crypto/seqiv.c
parent17db8546997023ba5c931c1f250bb23bf8d0b958 (diff)
downloadlinux-74412fd5d71b6eda0beb302aa467da000f0d530c.tar.xz
crypto: scatterwalk - Check for same address in map_and_copy
This patch adds a check for in scatterwalk_map_and_copy to avoid copying from the same address to the same address. This is going to be used for IV copying in AEAD IV generators. There is no provision for partial overlaps. This patch also uses the new scatterwalk_ffwd instead of doing it by hand in scatterwalk_map_and_copy. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/seqiv.c')
0 files changed, 0 insertions, 0 deletions