linux_dsm_epyc7002/drivers/crypto/inside-secure
Pascal van Leeuwen a74d850f78 crypto: inside-secure - fix EINVAL error (buf overflow) for AEAD decrypt
This patch fixes a buffer overflow error returning -EINVAL for AEAD
decrypt operations by NOT appending the (already verified) ICV to
the output packet (which is not expected by the API anyway).
With this fix, all testmgr AEAD (extra) tests now pass.

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-07-26 14:52:00 +10:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
safexcel_cipher.c crypto: inside-secure - fix EINVAL error (buf overflow) for AEAD decrypt 2019-07-26 14:52:00 +10:00
safexcel_hash.c crypto: inside-secure - fix use of the SG list 2019-06-06 14:38:56 +08:00
safexcel_ring.c crypto: inside-secure - enable context reuse 2019-06-06 14:38:56 +08:00
safexcel.c crypto: inside-secure - silently return -EINVAL for input error cases 2019-07-26 14:51:58 +10:00
safexcel.h crypto: inside-secure - fix EINVAL error (buf overflow) for AEAD decrypt 2019-07-26 14:52:00 +10:00