e22471c233
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>
23 lines
612 B
Plaintext
23 lines
612 B
Plaintext
#
|
|
# StarFive crypto drivers configuration
|
|
#
|
|
|
|
config CRYPTO_DEV_JH7110
|
|
tristate "StarFive JH7110 cryptographic engine driver"
|
|
depends on SOC_STARFIVE || AMBA_PL08X || COMPILE_TEST
|
|
depends on HAS_DMA
|
|
select CRYPTO_ENGINE
|
|
select CRYPTO_HMAC
|
|
select CRYPTO_SHA256
|
|
select CRYPTO_SHA512
|
|
select CRYPTO_SM3_GENERIC
|
|
select CRYPTO_RSA
|
|
select CRYPTO_AES
|
|
select CRYPTO_CCM
|
|
help
|
|
Support for StarFive JH7110 crypto hardware acceleration engine.
|
|
This module provides acceleration for public key algo,
|
|
skciphers, AEAD and hash functions.
|
|
|
|
If you choose 'M' here, this module will be called jh7110-crypto.
|