2015-08-22 07:16:58 +08:00
|
|
|
ccflags-y +=-I$(srctree)/lib/crypto/tinycrypt/include
|
|
|
|
lib-$(CONFIG_TINYCRYPT) := source/utils.o
|
2016-02-10 01:01:59 +08:00
|
|
|
lib-$(CONFIG_TINYCRYPT_ECC_DH) += source/ecc_dh.o source/ecc.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_ECC_DSA) += source/ecc_dsa.o source/ecc.o
|
2015-08-22 07:16:58 +08:00
|
|
|
lib-$(CONFIG_TINYCRYPT_AES) += source/aes_decrypt.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_AES) += source/aes_encrypt.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_AES_CBC) += source/cbc_mode.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_AES_CTR) += source/ctr_mode.o
|
2016-01-28 03:07:05 +08:00
|
|
|
lib-$(CONFIG_TINYCRYPT_AES_CCM) += source/ccm_mode.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_AES_CMAC) += source/cmac_mode.o
|
2015-08-22 07:16:58 +08:00
|
|
|
lib-$(CONFIG_TINYCRYPT_SHA256) += source/sha256.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_SHA256) += source/utils.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_SHA256_HMAC) += source/hmac.o
|
|
|
|
lib-$(CONFIG_TINYCRYPT_SHA256_HMAC_PRNG) += source/hmac_prng.o
|