diff options
author | Stephan Mueller <smueller@chronox.de> | 2016-12-01 08:22:37 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-12-01 21:06:44 +0800 |
commit | 37b19e4e063f0b3c5c6721f5ee36efc8cac5156f (patch) | |
tree | 9a56beb9f1067eedc47a5976533dce353b4ccc27 /crypto/jitterentropy-kcapi.c | |
parent | 41ec79fb6d327cd4e082033ff3802ab23ba7d880 (diff) | |
download | linux-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 '')
0 files changed, 0 insertions, 0 deletions