summaryrefslogtreecommitdiff
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-12-01 08:22:37 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-12-01 21:06:44 +0800
commit37b19e4e063f0b3c5c6721f5ee36efc8cac5156f (patch)
tree9a56beb9f1067eedc47a5976533dce353b4ccc27 /crypto/ansi_cprng.c
parent41ec79fb6d327cd4e082033ff3802ab23ba7d880 (diff)
downloadlinux-crypto-37b19e4e063f0b3c5c6721f5ee36efc8cac5156f.tar.gz
linux-crypto-37b19e4e063f0b3c5c6721f5ee36efc8cac5156f.zip
crypto: algif_aead - fix AIO handling of zero buffer
Handle the case when the caller provided a zero buffer to sendmsg/sendpage. Such scenario is legal for AEAD ciphers when no plaintext / ciphertext and no AAD is provided and the caller only requests the generation of the tag value. Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions