445a4aaf58
Adding RSA enc/dec and sign/verify feature for StarFive cryptographic module. The module only supports mod sizes up to 2048, therefore calculations more than that will use fallback algo. 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>
21 lines
574 B
Plaintext
21 lines
574 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
|
|
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.
|