18854d3c6SJerome ForissierCFG_CRYPTO ?= y 28854d3c6SJerome Forissier 38854d3c6SJerome Forissierifeq (y,$(CFG_CRYPTO)) 4cdb198a7SJerome Forissier 5cdb198a7SJerome Forissier# HMAC-based Extract-and-Expand Key Derivation Function 6cdb198a7SJerome Forissier# http://tools.ietf.org/html/rfc5869 7cdb198a7SJerome Forissier# This is an OP-TEE extension, not part of the GlobalPlatform Internal API v1.0 8cdb198a7SJerome ForissierCFG_CRYPTO_HKDF ?= y 9cdb198a7SJerome Forissier 108854d3c6SJerome Forissier# NIST SP800-56A Concatenation Key Derivation Function 118854d3c6SJerome Forissier# This is an OP-TEE extension 128854d3c6SJerome ForissierCFG_CRYPTO_CONCAT_KDF ?= y 13cdb198a7SJerome Forissier 140f2293b7SJerome Forissier# PKCS #5 v2.0 / RFC 2898 key derivation function 2 150f2293b7SJerome Forissier# This is an OP-TEE extension 160f2293b7SJerome ForissierCFG_CRYPTO_PBKDF2 ?= y 170f2293b7SJerome Forissier 188854d3c6SJerome Forissierendif 198854d3c6SJerome Forissier 20ffe04039SJerome Forissiersrcs-y += tee_cryp_utl.c 21cdb198a7SJerome Forissiersrcs-$(CFG_CRYPTO_HKDF) += tee_cryp_hkdf.c 228854d3c6SJerome Forissiersrcs-$(CFG_CRYPTO_CONCAT_KDF) += tee_cryp_concat_kdf.c 230f2293b7SJerome Forissiersrcs-$(CFG_CRYPTO_PBKDF2) += tee_cryp_pbkdf2.c 24a8224611SJames Kung 256fbac37eSJens Wiklanderifeq ($(CFG_WITH_USER_TA),y) 266fbac37eSJens Wiklander 276fbac37eSJens Wiklandersrcs-y += tee_svc.c 286fbac37eSJens Wiklandercppflags-tee_svc.c-y += -DTEE_IMPL_VERSION=$(TEE_IMPL_VERSION) 296fbac37eSJens Wiklandersrcs-y += tee_svc_cryp.c 306fbac37eSJens Wiklandersrcs-y += tee_svc_storage.c 31b44708c1SJerome Forissiersrcs-$(CFG_RPMB_FS) += tee_rpmb_fs.c 32b44708c1SJerome Forissiersrcs-$(CFG_REE_FS) += tee_ree_fs.c 332ef14de1SJerome Forissiersrcs-$(CFG_SQL_FS) += tee_sql_fs.c 34040bc0f0SJens Wiklandersrcs-$(call cfg-one-enabled,CFG_REE_FS CFG_SQL_FS \ 35040bc0f0SJens Wiklander CFG_TEE_CORE_EMBED_INTERNAL_TESTS) += fs_htree.c 36*ac0bab7fSJens Wiklandersrcs-$(CFG_REE_FS) += fs_dirfile.c 37b48323a9SJerome Forissiersrcs-$(call cfg-one-enabled,CFG_REE_FS CFG_SQL_FS) += tee_fs_rpc.c 38c3b3c4deSJens Wiklandersrcs-$(call cfg-one-enabled,CFG_REE_FS CFG_SQL_FS CFG_RPMB_FS) += \ 39c3b3c4deSJens Wiklander tee_fs_rpc_cache.c 40c7856574SJames Kungsrcs-y += tee_fs_key_manager.c 41b0104773SPascal Brandsrcs-y += tee_obj.c 42b0104773SPascal Brandsrcs-y += tee_pobj.c 43b0104773SPascal Brandsrcs-y += tee_time_generic.c 44f362e777SSY Chiu 456fbac37eSJens Wiklanderendif #CFG_WITH_USER_TA,y 466fbac37eSJens Wiklander 479a8a19cdSJens Wiklandersrcs-y += uuid.c 489a8a19cdSJens Wiklander 496fbac37eSJens Wiklandersubdirs-$(CFG_SE_API) += se 509a8a19cdSJens Wiklander 51