crypto: ccp - Enable support for AES GCM on v5 CCPs
authorGary R Hook <gary.hook@amd.com>
Wed, 15 Mar 2017 18:21:01 +0000 (13:21 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Mar 2017 14:02:55 +0000 (22:02 +0800)
commit36cf515b9bbe298e1ce7384620f0d4ec45ad3328
tree4772df5332d0e077e6eb51660a064c632ce3ec18
parent990672d48515ce09c76fcf1ceccee48b0dd1942b
crypto: ccp - Enable support for AES GCM on v5 CCPs

A version 5 device provides the primitive commands
required for AES GCM. This patch adds support for
en/decryption.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/Makefile
drivers/crypto/ccp/ccp-crypto-aes-galois.c [new file with mode: 0644]
drivers/crypto/ccp/ccp-crypto-main.c
drivers/crypto/ccp/ccp-crypto.h
drivers/crypto/ccp/ccp-ops.c
include/linux/ccp.h