aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/sub.mk
diff options
context:
space:
mode:
Diffstat (limited to 'core/crypto/sub.mk')
-rw-r--r--core/crypto/sub.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/crypto/sub.mk b/core/crypto/sub.mk
index f21eface..bb16a3eb 100644
--- a/core/crypto/sub.mk
+++ b/core/crypto/sub.mk
@@ -6,4 +6,10 @@ srcs-y += aes-gcm-ghash-tbl.c
else
srcs-y += aes-gcm-ghash.c
endif
-srcs-$(CFG_WITH_USER_TA) += signed_hdr.c \ No newline at end of file
+srcs-$(CFG_WITH_USER_TA) += signed_hdr.c
+
+ifeq ($(CFG_WITH_SOFTWARE_PRNG),y)
+srcs-y += rng_fortuna.c
+else
+srcs-y += rng_hw.c
+endif