summaryrefslogtreecommitdiff
path: root/crypto/async_tx/async_memset.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-12-14 00:44:11 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:54 +1100
commit92631156d8a417295eecae6e8b163b6612e62ec4 (patch)
tree3d87cc50319fa578d52cfccf5075d1f2377f9999 /crypto/async_tx/async_memset.c
parenta171250096d03fa8fd76eb019fb488950cd28162 (diff)
downloadlinux-crypto-92631156d8a417295eecae6e8b163b6612e62ec4.tar.gz
linux-crypto-92631156d8a417295eecae6e8b163b6612e62ec4.zip
[CRYPTO] scatterwalk: Handle zero nbytes in scatterwalk_map_and_copy
It's better to return silently than crash and burn when someone feeds us a zero length. In particular the null digest algorithm when used as part of authenc will do that to us. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/async_tx/async_memset.c')
0 files changed, 0 insertions, 0 deletions