From ddca829b6d5a73578df8bcf20e5c71e931b1f0ff Mon Sep 17 00:00:00 2001 From: Akhil R Date: Tue, 26 Sep 2023 19:48:02 +0530 Subject: [PATCH] NVIDIA: SAUCE: crypto: tegra: Add Kconfig to support Tegra SE BugLink: https://bugs.launchpad.net/bugs/2072591 Add a config to support Tegra SE driver. The config will primarily enable CONFIG_CRYPTO_ENGINE which is essential to compile tegra-se driver in nvidia-oot. http://nvbugs/4221414 http://nvbugs/3579794 Signed-off-by: Akhil R Reviewed-by: Bitan Biswas Tested-by: Kartik Rajput Reviewed-by: Kartik Rajput Signed-off-by: Laxman Dewangan Acked-by: Jacob Martin Acked-by: Noah Wager Signed-off-by: Noah Wager --- drivers/crypto/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 0991f026cb07..aaebe16d0046 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -779,6 +779,18 @@ source "drivers/crypto/hisilicon/Kconfig" source "drivers/crypto/amlogic/Kconfig" +config CRYPTO_DEV_TEGRA + tristate "Support Tegra Security Engine" + default m + depends on ARCH_TEGRA + select CRYPTO_ENGINE + help + config to support Tegra SE driver. The config will primarily + enable CONFIG_CRYPTO_ENGINE which is essential to compile tegra-se + driver in nvidia-oot. Adding this config here since CRYPTO_ENGINE + cannot be enabled from defconfig independently. It need to be + selected by the dependent module. + config CRYPTO_DEV_SA2UL tristate "Support for TI security accelerator" depends on ARCH_K3 || COMPILE_TEST