2020-03-13 19:47:05 +08:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
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.
|
2020-03-13 19:47:08 +08:00
|
|
|
|
|
|
|
config CRYPTO_DEV_OCTEONTX_CPT
|
|
|
|
tristate "Support for Marvell OcteonTX CPT driver"
|
|
|
|
depends on ARCH_THUNDER || COMPILE_TEST
|
|
|
|
depends on PCI_MSI && 64BIT
|
|
|
|
depends on CRYPTO_LIB_AES
|
|
|
|
select CRYPTO_SKCIPHER
|
|
|
|
select CRYPTO_HASH
|
|
|
|
select CRYPTO_AEAD
|
|
|
|
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
|
2021-01-15 21:52:19 +08:00
|
|
|
|
|
|
|
config CRYPTO_DEV_OCTEONTX2_CPT
|
|
|
|
tristate "Marvell OcteonTX2 CPT driver"
|
2021-02-01 21:44:31 +08:00
|
|
|
depends on ARCH_THUNDER2 || COMPILE_TEST
|
2021-01-15 21:52:19 +08:00
|
|
|
depends on PCI_MSI && 64BIT
|
crypto: octeontx2 - register with linux crypto framework
CPT offload module utilises the linux crypto framework to offload
crypto processing. This patch registers supported algorithms by
calling registration functions provided by the kernel crypto API.
The module currently supports:
- AES block cipher in CBC,ECB and XTS mode.
- 3DES block cipher in CBC and ECB mode.
- AEAD algorithms.
authenc(hmac(sha1),cbc(aes)),
authenc(hmac(sha256),cbc(aes)),
authenc(hmac(sha384),cbc(aes)),
authenc(hmac(sha512),cbc(aes)),
authenc(hmac(sha1),ecb(cipher_null)),
authenc(hmac(sha256),ecb(cipher_null)),
authenc(hmac(sha384),ecb(cipher_null)),
authenc(hmac(sha512),ecb(cipher_null)),
rfc4106(gcm(aes)).
Signed-off-by: Suheil Chandran <schandran@marvell.com>
Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com>
Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-01-15 21:52:27 +08:00
|
|
|
depends on CRYPTO_LIB_AES
|
2021-01-29 13:48:56 +08:00
|
|
|
depends on NET_VENDOR_MARVELL
|
2021-01-15 21:52:19 +08:00
|
|
|
select OCTEONTX2_MBOX
|
|
|
|
select CRYPTO_DEV_MARVELL
|
crypto: octeontx2 - register with linux crypto framework
CPT offload module utilises the linux crypto framework to offload
crypto processing. This patch registers supported algorithms by
calling registration functions provided by the kernel crypto API.
The module currently supports:
- AES block cipher in CBC,ECB and XTS mode.
- 3DES block cipher in CBC and ECB mode.
- AEAD algorithms.
authenc(hmac(sha1),cbc(aes)),
authenc(hmac(sha256),cbc(aes)),
authenc(hmac(sha384),cbc(aes)),
authenc(hmac(sha512),cbc(aes)),
authenc(hmac(sha1),ecb(cipher_null)),
authenc(hmac(sha256),ecb(cipher_null)),
authenc(hmac(sha384),ecb(cipher_null)),
authenc(hmac(sha512),ecb(cipher_null)),
rfc4106(gcm(aes)).
Signed-off-by: Suheil Chandran <schandran@marvell.com>
Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com>
Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2021-01-15 21:52:27 +08:00
|
|
|
select CRYPTO_SKCIPHER
|
|
|
|
select CRYPTO_HASH
|
|
|
|
select CRYPTO_AEAD
|
2021-01-15 21:52:19 +08:00
|
|
|
help
|
|
|
|
This driver allows you to utilize the Marvell Cryptographic
|
|
|
|
Accelerator Unit(CPT) found in OcteonTX2 series of processors.
|