aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/crypto/sub.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/crypto/sub.mk b/core/crypto/sub.mk
index 873ef986..c9019431 100644
--- a/core/crypto/sub.mk
+++ b/core/crypto/sub.mk
@@ -1,5 +1,6 @@
srcs-y += crypto.c
+ifeq (y-y,$(CFG_CRYPTO_AES)-$(CFG_CRYPTO_GCM))
srcs-y += aes-gcm.c
ifneq ($(CFG_CRYPTO_WITH_CE),y)
srcs-y += aes-gcm-sw.c
@@ -7,6 +8,7 @@ ifeq ($(CFG_AES_GCM_TABLE_BASED),y)
srcs-y += aes-gcm-ghash-tbl.c
endif
endif
+endif
srcs-$(CFG_WITH_USER_TA) += signed_hdr.c