commit | 5937d81a9613a98381c1571a159ac971ae02182c | [log] [tgz] |
---|---|---|
author | Stephan Mueller <smueller@chronox.de> | Thu Dec 01 08:22:37 2016 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Dec 01 21:06:44 2016 +0800 |
tree | 037fb547505846438c65f8afb8517f29654bba50 | |
parent | efad2b61ae258df4fb3896f5e7cd9c701f4979e6 [diff] |
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>