xref: /optee_os/core/tee/sub.mk (revision 0fcbddd4dd17a070eef49e4a45ef5580467e001c)
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 += tee_svc.c
21srcs-y += tee_svc_cryp.c
22srcs-y += tee_svc_storage.c
23srcs-y += tee_cryp_utl.c
24srcs-$(CFG_CRYPTO_HKDF) += tee_cryp_hkdf.c
25srcs-$(CFG_CRYPTO_CONCAT_KDF) += tee_cryp_concat_kdf.c
26srcs-$(CFG_CRYPTO_PBKDF2) += tee_cryp_pbkdf2.c
27
28srcs-y += tee_fs_common.c
29srcs-y += tee_fs_key_manager.c
30srcs-y += tee_fs.c
31
32srcs-y += tee_obj.c
33srcs-y += tee_pobj.c
34srcs-y += tee_rpmb_fs.c
35srcs-y += tee_time_generic.c
36
37subdirs-${CFG_SE_API} += se
38