crypto: starfive - Add AES skcipher and aead support
authorJia Jie Ho <jiajie.ho@starfivetech.com>
Mon, 17 Jul 2023 04:03:02 +0000 (12:03 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Jul 2023 10:20:25 +0000 (18:20 +0800)
commite22471c2331c984ba48e89acd00d0ba1f60a3ea7
tree45f1f333ed747ba420f40cbe5c963872bf7b4e51
parentdd105461ad15ea930d88aec1e4fcfc1f3186da43
crypto: starfive - Add AES skcipher and aead support

Adding AES skcipher and aead support to Starfive crypto module.
Skcipher modes of operation include ecb, cbc, ctr, ofb, cfb. Aead modes
include ccm and gcm.

v1->v2:
- Add include interrupt.h to fix compile error. (Herbert)

Co-developed-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/starfive/Kconfig
drivers/crypto/starfive/Makefile
drivers/crypto/starfive/jh7110-aes.c [new file with mode: 0644]
drivers/crypto/starfive/jh7110-cryp.c
drivers/crypto/starfive/jh7110-cryp.h