Skip to content

Commit

Permalink
Revert "drivers: caam: disable CFG_CRYPTO_SM2_* when ECC CAAM driver …
Browse files Browse the repository at this point in the history
…is enabled"

This reverts commit 3489781.

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
  • Loading branch information
ldts committed Jan 19, 2024
1 parent c3e4ffd commit 07f60f6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/drivers/crypto/caam/crypto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 07f60f6

Please sign in to comment.