crypto: qce - Add support for AEAD algorithms
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 29 Apr 2021 15:07:04 +0000 (11:07 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 May 2021 11:07:55 +0000 (19:07 +0800)
commit9363efb4181c5e0fbf86bdfa759262aa29f0eb50
treef2aabc25891d04685b91540952a98738e40862ec
parent7ba9cd4e22a0c177a222669fc58ab300903b63e8
crypto: qce - Add support for AEAD algorithms

Introduce support to enable following algorithms in Qualcomm Crypto Engine.

- authenc(hmac(sha1),cbc(des))
- authenc(hmac(sha1),cbc(des3_ede))
- authenc(hmac(sha256),cbc(des))
- authenc(hmac(sha256),cbc(des3_ede))
- authenc(hmac(sha256),cbc(aes))
- ccm(aes)
- rfc4309(ccm(aes))

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
drivers/crypto/qce/Makefile
drivers/crypto/qce/aead.c [new file with mode: 0644]
drivers/crypto/qce/aead.h [new file with mode: 0644]
drivers/crypto/qce/common.h
drivers/crypto/qce/core.c