1CFG_CRYPTO ?= y 2 3ifeq (y,$(CFG_CRYPTO)) 4 5# HMAC-based Extract-and-Expand Key Derivation Function 6# http://tools.ietf.org/html/rfc5869 7# This is an OP-TEE extension, not part of the GlobalPlatform Internal API v1.0 8CFG_CRYPTO_HKDF ?= y 9 10# NIST SP800-56A Concatenation Key Derivation Function 11# This is an OP-TEE extension 12CFG_CRYPTO_CONCAT_KDF ?= y 13 14# PKCS #5 v2.0 / RFC 2898 key derivation function 2 15# This is an OP-TEE extension 16CFG_CRYPTO_PBKDF2 ?= y 17 18endif 19 20srcs-y += entry_std.c 21srcs-y += tee_cryp_utl.c 22srcs-$(CFG_CRYPTO_HKDF) += tee_cryp_hkdf.c 23srcs-$(CFG_CRYPTO_CONCAT_KDF) += tee_cryp_concat_kdf.c 24srcs-$(CFG_CRYPTO_PBKDF2) += tee_cryp_pbkdf2.c 25 26ifeq ($(CFG_WITH_USER_TA),y) 27srcs-y += tee_obj.c 28srcs-y += tee_svc.c 29srcs-y += tee_svc_cryp.c 30srcs-y += tee_svc_storage.c 31cppflags-tee_svc.c-y += -DTEE_IMPL_VERSION=$(TEE_IMPL_VERSION) 32srcs-y += tee_time_generic.c 33srcs-$(CFG_SECSTOR_TA) += tadb.c 34srcs-$(CFG_GP_SOCKETS) += socket.c 35srcs-y += tee_ta_enc_manager.c 36endif #CFG_WITH_USER_TA,y 37 38srcs-$(_CFG_WITH_SECURE_STORAGE) += tee_fs_key_manager.c 39srcs-$(CFG_RPMB_FS) += tee_rpmb_fs.c 40srcs-$(CFG_REE_FS) += tee_ree_fs.c 41srcs-$(CFG_REE_FS) += fs_dirfile.c 42srcs-$(CFG_REE_FS) += fs_htree.c 43srcs-$(CFG_REE_FS) += tee_fs_rpc.c 44 45ifeq ($(call cfg-one-enabled,CFG_WITH_USER_TA _CFG_WITH_SECURE_STORAGE),y) 46srcs-y += tee_pobj.c 47endif 48 49srcs-y += uuid.c 50srcs-y += tee_supp_plugin_rpc.c 51