summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/marvell/Kconfig
diff options
context:
space:
mode:
authorSrujana Challa <schalla@marvell.com>2021-01-15 19:22:27 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-22 14:58:03 +1100
commit6f03f0e8b6c8a82d8e740ff3a87ed407ad423243 (patch)
tree4fa9bc61fd8b8af630f81f803ca5a40369ff79a0 /drivers/crypto/marvell/Kconfig
parent8ec8015a316816b07538635fe9c04c35ad63acfc (diff)
downloadlinux-6f03f0e8b6c8a82d8e740ff3a87ed407ad423243.tar.bz2
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>
Diffstat (limited to 'drivers/crypto/marvell/Kconfig')
-rw-r--r--drivers/crypto/marvell/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/crypto/marvell/Kconfig b/drivers/crypto/marvell/Kconfig
index 1440ec9e1fb4..2efbd79180ce 100644
--- a/drivers/crypto/marvell/Kconfig
+++ b/drivers/crypto/marvell/Kconfig
@@ -40,8 +40,12 @@ config CRYPTO_DEV_OCTEONTX2_CPT
tristate "Marvell OcteonTX2 CPT driver"
depends on ARM64 || COMPILE_TEST
depends on PCI_MSI && 64BIT
+ depends on CRYPTO_LIB_AES
select OCTEONTX2_MBOX
select CRYPTO_DEV_MARVELL
+ select CRYPTO_SKCIPHER
+ select CRYPTO_HASH
+ select CRYPTO_AEAD
help
This driver allows you to utilize the Marvell Cryptographic
Accelerator Unit(CPT) found in OcteonTX2 series of processors.