mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-29 11:42:36 +00:00

Any driver that needs these library functions should already be selecting
the corresponding Kconfig symbols, so there is no real point in making
these visible.
The original patch that made these user selectable described problems
with drivers failing to select the code they use, but for consistency
it's better to always use 'select' on a symbol than to mix it with
'depends on'.
Fixes: e56e189855
("lib/crypto: add prompts back to crypto libraries")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
#
|
|
# Marvell crypto drivers configuration
|
|
#
|
|
|
|
config CRYPTO_DEV_MARVELL
|
|
tristate
|
|
|
|
config CRYPTO_DEV_MARVELL_CESA
|
|
tristate "Marvell's Cryptographic Engine driver"
|
|
depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
|
|
select CRYPTO_LIB_AES
|
|
select CRYPTO_LIB_DES
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_HASH
|
|
select SRAM
|
|
select CRYPTO_DEV_MARVELL
|
|
help
|
|
This driver allows you to utilize the Cryptographic Engines and
|
|
Security Accelerator (CESA) which can be found on MVEBU and ORION
|
|
platforms.
|
|
This driver supports CPU offload through DMA transfers.
|
|
|
|
config CRYPTO_DEV_OCTEONTX_CPT
|
|
tristate "Support for Marvell OcteonTX CPT driver"
|
|
depends on ARCH_THUNDER || COMPILE_TEST
|
|
depends on PCI_MSI && 64BIT
|
|
select CRYPTO_LIB_AES
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_HASH
|
|
select CRYPTO_AEAD
|
|
select CRYPTO_AUTHENC
|
|
select CRYPTO_DEV_MARVELL
|
|
help
|
|
This driver allows you to utilize the Marvell Cryptographic
|
|
Accelerator Unit(CPT) found in OcteonTX series of processors.
|
|
|
|
To compile this driver as module, choose M here:
|
|
the modules will be called octeontx-cpt and octeontx-cptvf
|
|
|
|
config CRYPTO_DEV_OCTEONTX2_CPT
|
|
tristate "Marvell OcteonTX2 CPT driver"
|
|
depends on ARCH_THUNDER2 || COMPILE_TEST
|
|
depends on PCI_MSI && 64BIT
|
|
depends on NET_VENDOR_MARVELL
|
|
select OCTEONTX2_MBOX
|
|
select CRYPTO_DEV_MARVELL
|
|
select CRYPTO_LIB_AES
|
|
select CRYPTO_SKCIPHER
|
|
select CRYPTO_HASH
|
|
select CRYPTO_AEAD
|
|
select CRYPTO_AUTHENC
|
|
select NET_DEVLINK
|
|
help
|
|
This driver allows you to utilize the Marvell Cryptographic
|
|
Accelerator Unit(CPT) found in OcteonTX2 series of processors.
|