Skip to content

Commit

Permalink
[FIO toup] drivers: se050: disable SM2_* when enabled
Browse files Browse the repository at this point in the history
Not supported by se050, disable following changes done for the CAAM
crypto driver.

Proper fix requires software crypto fallback.

Signed-off-by: Ricardo Salveti <[email protected]>
  • Loading branch information
ricardosalveti committed Dec 17, 2023
1 parent 2c32781 commit 33d9bf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/drivers/crypto/se050/crypto.mk
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ endif
# - ECC
ifeq ($(CFG_NXP_SE05X_ECC_DRV),y)
$(call force,CFG_CRYPTO_DRV_ECC,y)
# Disable SM2 as it is not supported by the driver
$(call force,CFG_CRYPTO_SM2_PKE,n)
$(call force,CFG_CRYPTO_SM2_KEP,n)
$(call force,CFG_CRYPTO_SM2_DSA,n)
endif

# Symmetric ciphers
Expand Down

0 comments on commit 33d9bf3

Please sign in to comment.