162306a36Sopenharmony_ci#
262306a36Sopenharmony_ci# Marvell crypto drivers configuration
362306a36Sopenharmony_ci#
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciconfig CRYPTO_DEV_MARVELL
662306a36Sopenharmony_ci	tristate
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciconfig CRYPTO_DEV_MARVELL_CESA
962306a36Sopenharmony_ci	tristate "Marvell's Cryptographic Engine driver"
1062306a36Sopenharmony_ci	depends on PLAT_ORION || ARCH_MVEBU
1162306a36Sopenharmony_ci	select CRYPTO_LIB_AES
1262306a36Sopenharmony_ci	select CRYPTO_LIB_DES
1362306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
1462306a36Sopenharmony_ci	select CRYPTO_HASH
1562306a36Sopenharmony_ci	select SRAM
1662306a36Sopenharmony_ci	select CRYPTO_DEV_MARVELL
1762306a36Sopenharmony_ci	help
1862306a36Sopenharmony_ci	  This driver allows you to utilize the Cryptographic Engines and
1962306a36Sopenharmony_ci	  Security Accelerator (CESA) which can be found on MVEBU and ORION
2062306a36Sopenharmony_ci	  platforms.
2162306a36Sopenharmony_ci	  This driver supports CPU offload through DMA transfers.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig CRYPTO_DEV_OCTEONTX_CPT
2462306a36Sopenharmony_ci	tristate "Support for Marvell OcteonTX CPT driver"
2562306a36Sopenharmony_ci	depends on ARCH_THUNDER || COMPILE_TEST
2662306a36Sopenharmony_ci	depends on PCI_MSI && 64BIT
2762306a36Sopenharmony_ci	depends on CRYPTO_LIB_AES
2862306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
2962306a36Sopenharmony_ci	select CRYPTO_HASH
3062306a36Sopenharmony_ci	select CRYPTO_AEAD
3162306a36Sopenharmony_ci	select CRYPTO_DEV_MARVELL
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci		This driver allows you to utilize the Marvell Cryptographic
3462306a36Sopenharmony_ci		Accelerator Unit(CPT) found in OcteonTX series of processors.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci		To compile this driver as module, choose M here:
3762306a36Sopenharmony_ci		the modules will be called octeontx-cpt and octeontx-cptvf
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig CRYPTO_DEV_OCTEONTX2_CPT
4062306a36Sopenharmony_ci	tristate "Marvell OcteonTX2 CPT driver"
4162306a36Sopenharmony_ci	depends on ARCH_THUNDER2 || COMPILE_TEST
4262306a36Sopenharmony_ci	depends on PCI_MSI && 64BIT
4362306a36Sopenharmony_ci	depends on CRYPTO_LIB_AES
4462306a36Sopenharmony_ci	depends on NET_VENDOR_MARVELL
4562306a36Sopenharmony_ci	select OCTEONTX2_MBOX
4662306a36Sopenharmony_ci	select CRYPTO_DEV_MARVELL
4762306a36Sopenharmony_ci	select CRYPTO_SKCIPHER
4862306a36Sopenharmony_ci	select CRYPTO_HASH
4962306a36Sopenharmony_ci	select CRYPTO_AEAD
5062306a36Sopenharmony_ci	select NET_DEVLINK
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci		This driver allows you to utilize the Marvell Cryptographic
5362306a36Sopenharmony_ci		Accelerator Unit(CPT) found in OcteonTX2 series of processors.
54