summaryrefslogtreecommitdiff
path: root/include/linux/ccp.h
diff options
context:
space:
mode:
authorGary R Hook <gary.hook@amd.com>2019-07-30 16:05:26 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-02 14:36:36 +1000
commite2664ecbb2f26225ac6646876f2899558ffb2604 (patch)
tree964f9ecafc8f0e6b6f9b0b09c083e6e14e44afb7 /include/linux/ccp.h
parent9f00baf74e4b6f79a3a3dfab44fb7bb2e797b551 (diff)
crypto: ccp - Ignore tag length when decrypting GCM ciphertext
AES GCM input buffers for decryption contain AAD+CTEXT+TAG. Only decrypt the ciphertext, and use the tag for comparison. Fixes: 36cf515b9bbe2 ("crypto: ccp - Enable support for AES GCM on v5 CCPs") Cc: <stable@vger.kernel.org> Signed-off-by: Gary R Hook <gary.hook@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/ccp.h')
0 files changed, 0 insertions, 0 deletions