diff options
Diffstat (limited to 'core/lib/libtomcrypt/src/sub.mk')
-rw-r--r-- | core/lib/libtomcrypt/src/sub.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/core/lib/libtomcrypt/src/sub.mk b/core/lib/libtomcrypt/src/sub.mk new file mode 100644 index 0000000..89e74bd --- /dev/null +++ b/core/lib/libtomcrypt/src/sub.mk @@ -0,0 +1,19 @@ +ifdef _CFG_CRYPTO_WITH_ACIPHER +srcs-y += mpa_desc.c +# Get mpa.h which normally is an internal .h file +cppflags-mpa_desc.c-y += -Ilib/libmpa +cflags-mpa_desc.c-y += -Wno-declaration-after-statement +cflags-mpa_desc.c-y += -Wno-unused-parameter +endif + +srcs-y += tee_ltc_provider.c + +subdirs-$(_CFG_CRYPTO_WITH_CIPHER) += ciphers +subdirs-$(_CFG_CRYPTO_WITH_AUTHENC) += encauth +subdirs-y += hashes +subdirs-$(_CFG_CRYPTO_WITH_MAC) += mac +subdirs-$(_CFG_CRYPTO_WITH_ACIPHER) += math +subdirs-y += misc +subdirs-y += modes +subdirs-$(_CFG_CRYPTO_WITH_ACIPHER) += pk +subdirs-$(CFG_WITH_SOFTWARE_PRNG) += prngs |