From 07f60f6a42923df969886d8e42bc1c0133a69b05 Mon Sep 17 00:00:00 2001 From: Jorge Ramirez-Ortiz Date: Thu, 18 Jan 2024 19:41:41 +0100 Subject: [PATCH] Revert "drivers: caam: disable CFG_CRYPTO_SM2_* when ECC CAAM driver is enabled" This reverts commit 3489781e9072497f501511128da5ab7e9b9d84a3. Signed-off-by: Jorge Ramirez-Ortiz --- core/drivers/crypto/caam/crypto.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/drivers/crypto/caam/crypto.mk b/core/drivers/crypto/caam/crypto.mk index 13f8e4cc070..5dbb3c6729c 100644 --- a/core/drivers/crypto/caam/crypto.mk +++ b/core/drivers/crypto/caam/crypto.mk @@ -205,12 +205,5 @@ ifeq ($(call cfg-one-enabled,CFG_CRYPTO_DRV_RSA CFG_CRYPTO_DRV_ECC \ $(call force, CFG_CRYPTO_DRV_ACIPHER,y,Mandated by CFG_CRYPTO_DRV_{RSA|ECC|DSA|DH}) endif -# Disable SM2 as it is not supported by the CAAM driver -ifeq ($(CFG_NXP_CAAM_ECC_DRV),y) -$(call force,CFG_CRYPTO_SM2_PKE,n) -$(call force,CFG_CRYPTO_SM2_KEP,n) -$(call force,CFG_CRYPTO_SM2_DSA,n) -endif - endif # CFG_CRYPTO_DRIVER endif # CFG_NXP_CAAM