linux_dsm_epyc7002/drivers/crypto/nx
jmlatten@linux.vnet.ibm.com b4eba0ca34 crypto: nx - fix nx-aes-gcm verification
This patch fixes a bug in the nx-aes-gcm implementation.
Corrected the code so that the authtag is always verified after
decrypting and not just when there is associated data included.
Also, corrected the code to retrieve the input authtag from src
instead of dst.

Reviewed-by: Fionnuala Gunter <fin@linux.vnet.ibm.com>
Reviewed-by: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
Signed-off-by: Joy Latten <jmlatten@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2013-08-21 21:08:38 +10:00
..
Kconfig powerpc/crypto: add 842 hardware compression driver 2012-08-01 17:47:56 +08:00
Makefile powerpc/crypto: add 842 hardware compression driver 2012-08-01 17:47:56 +08:00
nx_csbcpb.h powerpc/crypto: nx driver code supporting nx encryption 2012-05-16 15:05:41 +10:00
nx_debugfs.c powerpc/crypto: debugfs routines and docs for the nx device driver 2012-05-16 15:05:45 +10:00
nx-842.c powerpc+of: Add of node/property notification chain for adds and removes 2012-11-15 12:56:41 +11:00
nx-aes-cbc.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx-aes-ccm.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx-aes-ctr.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx-aes-ecb.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx-aes-gcm.c crypto: nx - fix nx-aes-gcm verification 2013-08-21 21:08:38 +10:00
nx-aes-xcbc.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx-sha256.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx-sha512.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx.c crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00
nx.h crypto: nx - fix concurrency issue 2013-08-14 20:42:04 +10:00