summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz <jorge@foundries.io>2020-12-13 10:26:41 +0100
committerJérôme Forissier <jerome@forissier.org>2020-12-14 09:42:13 +0100
commit3f66770601fa81b2dd16a51d66edf3030153da07 (patch)
tree231fd48d7cbf2718eb4d1c0c7c1b04647e444f67 /core
parentf8cb9adeab995ca3f6e09179108114fdd772570a (diff)
drivers: crypto: se050: strip spaces from crypto.mk
Some versions of the force function used in the makefile might produce incorrect results when spaces are included in the parameter field. In general is a better practice to strip spaces when invoking this sort of functions. To prevent issues (ie: in case of backport) make sure that the SE050 driver is not affected by that variability. Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Acked-by: Jerome Forissier <jerome@forissier.org>
Diffstat (limited to 'core')
-rw-r--r--core/drivers/crypto/se050/crypto.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/drivers/crypto/se050/crypto.mk b/core/drivers/crypto/se050/crypto.mk
index aa9000bb..0dd3fd1d 100644
--- a/core/drivers/crypto/se050/crypto.mk
+++ b/core/drivers/crypto/se050/crypto.mk
@@ -42,11 +42,11 @@ se050-one-enabled = $(call cfg-one-enabled, \
$(foreach v,$(1), CFG_NXP_SE05X_$(v)_DRV))
# Asymmetric ciphers
CFG_NXP_SE05X_RSA_DRV ?= y
-$(call force, CFG_NXP_SE05X_ACIPHER_DRV, $(call se050-one-enabled, RSA))
+$(call force,CFG_NXP_SE05X_ACIPHER_DRV,$(call se050-one-enabled,RSA))
# Asymmetric driver
ifeq ($(CFG_NXP_SE05X_ACIPHER_DRV),y)
-$(call force, CFG_CRYPTO_DRV_ACIPHER,y,Mandated by CFG_NXP_SE05X_ACIPHER_DRV)
+$(call force,CFG_CRYPTO_DRV_ACIPHER,y,Mandated by CFG_NXP_SE05X_ACIPHER_DRV)
endif
# Asymmetric ciphers configuration
@@ -59,11 +59,11 @@ endif
# Symmetric ciphers
CFG_NXP_SE05X_CTR_DRV ?= y
-$(call force, CFG_NXP_SE05X_CIPHER_DRV, $(call se050-one-enabled, CTR))
+$(call force,CFG_NXP_SE05X_CIPHER_DRV,$(call se050-one-enabled,CTR))
# Symmetric driver
ifeq ($(CFG_NXP_SE05X_CIPHER_DRV),y)
-$(call force, CFG_CRYPTO_DRV_CIPHER,y,Mandated by CFG_NXP_SE05X_CIPHER_DRV)
+$(call force,CFG_CRYPTO_DRV_CIPHER,y,Mandated by CFG_NXP_SE05X_CIPHER_DRV)
endif
# Plug and Trust NXP SE050X OP-TEE enabled static library