crypto: aead - add check for presence of auth tag
authorStephan Mueller <smueller@chronox.de>
Mon, 5 Jan 2015 11:21:45 +0000 (12:21 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Jan 2015 10:46:18 +0000 (21:46 +1100)
commit15acabfd02e35e270360fbe0def898e48754b3d6
tree7d510d2073d5504d17bed2b9038057f16bf2f97b
parent42d2e780c6239040ec29d404f87e752de3627e08
crypto: aead - add check for presence of auth tag

The AEAD decryption operation requires the authentication tag to be
present as part of the cipher text buffer. The added check verifies that
the caller provides a cipher text with at least the authentication tag.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/crypto.h