1srcs-y += mbed_helpers.c 2srcs-y += tomcrypt.c 3srcs-$(call cfg-one-enabled, CFG_CRYPTO_MD5 CFG_CRYPTO_SHA1 CFG_CRYPTO_SHA224 \ 4 CFG_CRYPTO_SHA256 CFG_CRYPTO_SHA384 \ 5 CFG_CRYPTO_SHA512) += hash.c 6 7ifeq ($(CFG_CRYPTO_AES),y) 8srcs-y += aes.c 9srcs-$(CFG_CRYPTO_ECB) += aes_ecb.c 10srcs-$(CFG_CRYPTO_CBC) += aes_cbc.c 11srcs-$(CFG_CRYPTO_CTR) += aes_ctr.c 12endif 13ifeq ($(CFG_CRYPTO_DES),y) 14srcs-$(CFG_CRYPTO_ECB) += des_ecb.c 15srcs-$(CFG_CRYPTO_ECB) += des3_ecb.c 16srcs-$(CFG_CRYPTO_CBC) += des_cbc.c 17srcs-$(CFG_CRYPTO_CBC) += des3_cbc.c 18endif 19 20srcs-$(CFG_CRYPTO_HMAC) += hmac.c 21srcs-$(CFG_CRYPTO_CMAC) += cmac.c 22 23ifneq ($(CFG_CRYPTO_DSA),y) 24srcs-$(call cfg-one-enabled, CFG_CRYPTO_RSA CFG_CRYPTO_DH \ 25 CFG_CRYPTO_ECC) += bignum.c 26endif 27srcs-$(CFG_CRYPTO_RSA) += rsa.c 28srcs-$(CFG_CRYPTO_DH) += dh.c 29srcs-$(CFG_CRYPTO_ECC) += ecc.c 30srcs-$(CFG_CRYPTO_SM2_DSA) += sm2-dsa.c 31srcs-$(CFG_CRYPTO_SM2_KEP) += sm2-kep.c 32srcs-$(CFG_CRYPTO_SM2_PKE) += sm2-pke.c 33