Home
last modified time | relevance | path

Searched refs:ta (Results 1 – 25 of 108) sorted by relevance

12345

/optee_os/ta/mk/
A Dbuild-user-ta.mk12 ifeq ($(ta-target),ta_arm32)
15 ifeq ($(ta-target),ta_arm64)
19 ta-dev-kit-dir$(sm) := $(out-dir)/export-$(ta-target)
23 user-ta-version := 0
25 include $(ta-mk-file)
26 ifeq ($(user-ta-uuid),)
27 $(error user-ta-uuid missing in $(ta-mk-file))
35 cppflags$(sm) := $(cppflags$(ta-target)) -I$(ta-dev-kit-dir$(sm))/include
67 ta_dev_kit: $(out-dir)/export-$(ta-target)/ta/$(user-ta-uuid).ta
69 $(out-dir)/export-$(ta-target)/ta/$(user-ta-uuid).ta: $(link-out-dir$(sm))/$(user-ta-uuid).ta
[all …]
A Dta_dev_kit.mk7 include $(ta-dev-kit-dir)/mk/conf.mk
8 ta-dev-kit-dir$(sm) := $(ta-dev-kit-dir)
22 user-ta-uuid := $(BINARY)
24 user-ta-ldadd := $(LDADD)
77 libdirs += $(ta-dev-kit-dir$(sm))/lib
122 ifneq ($(user-ta-uuid),)
124 vpath %.c $(ta-dev-kit-dir$(sm))/src
127 vpath %.S $(ta-dev-kit-dir$(sm))/src
132 SCRIPTS_DIR := $(ta-dev-kit-dir)/scripts
135 ifneq ($(user-ta-uuid),)
[all …]
/optee_os/core/tee/
A Dtadb.c382 ta = calloc(1, sizeof(*ta)); in tee_tadb_ta_create()
383 if (!ta) in tee_tadb_ta_create()
401 bit_ffc(ta->db->files, ta->db->nbits, &i); in tee_tadb_ta_create()
488 clear_file(ta->db, ta->entry.file_number); in tee_tadb_ta_close_and_delete()
575 res = write_ent(ta->db, idx, &ta->entry); in tee_tadb_ta_close_and_commit()
642 ta = calloc(1, sizeof(*ta)); in tee_tadb_ta_open()
643 if (!ta) in tee_tadb_ta_open()
651 res = find_ent(ta->db, uuid, &idx, &ta->entry); in tee_tadb_ta_open()
708 ta->ta_buf = mobj_get_va(ta->ta_mobj, 0, sz); in ta_load()
734 ta->ta_buf + ta->pos, l, buf); in tee_tadb_ta_read()
[all …]
/optee_os/ta/arch/arm/
A Dlink.mk1 link-script$(sm) = $(ta-dev-kit-dir$(sm))/src/ta.ld.S
2 link-script-pp$(sm) = $(link-out-dir$(sm))/ta.lds
3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ta.ld.d
19 all: $(link-out-dir$(sm))/$(user-ta-uuid).dmp \
21 $(link-out-dir$(sm))/$(user-ta-uuid).ta
26 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).ta
94 $(link-out-dir$(sm))/$(user-ta-uuid).dmp: \
104 cmd-echo$(user-ta-uuid) := SIGN #
107 cmd-echo$(user-ta-uuid) := SIGNENC
109 $(link-out-dir$(sm))/$(user-ta-uuid).ta: \
[all …]
/optee_os/out/arm/export-ta_arm32/mk/
A Dlink.mk1 link-script$(sm) = $(ta-dev-kit-dir$(sm))/src/ta.ld.S
2 link-script-pp$(sm) = $(link-out-dir$(sm))/ta.lds
3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ta.ld.d
19 all: $(link-out-dir$(sm))/$(user-ta-uuid).dmp \
21 $(link-out-dir$(sm))/$(user-ta-uuid).ta
26 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).ta
94 $(link-out-dir$(sm))/$(user-ta-uuid).dmp: \
104 cmd-echo$(user-ta-uuid) := SIGN #
107 cmd-echo$(user-ta-uuid) := SIGNENC
109 $(link-out-dir$(sm))/$(user-ta-uuid).ta: \
[all …]
A Dta_dev_kit.mk7 include $(ta-dev-kit-dir)/mk/conf.mk
8 ta-dev-kit-dir$(sm) := $(ta-dev-kit-dir)
22 user-ta-uuid := $(BINARY)
24 user-ta-ldadd := $(LDADD)
77 libdirs += $(ta-dev-kit-dir$(sm))/lib
122 ifneq ($(user-ta-uuid),)
124 vpath %.c $(ta-dev-kit-dir$(sm))/src
127 vpath %.S $(ta-dev-kit-dir$(sm))/src
132 SCRIPTS_DIR := $(ta-dev-kit-dir)/scripts
135 ifneq ($(user-ta-uuid),)
[all …]
/optee_os/out/arm/export-ta_arm64/mk/
A Dlink.mk1 link-script$(sm) = $(ta-dev-kit-dir$(sm))/src/ta.ld.S
2 link-script-pp$(sm) = $(link-out-dir$(sm))/ta.lds
3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ta.ld.d
19 all: $(link-out-dir$(sm))/$(user-ta-uuid).dmp \
21 $(link-out-dir$(sm))/$(user-ta-uuid).ta
26 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).ta
94 $(link-out-dir$(sm))/$(user-ta-uuid).dmp: \
104 cmd-echo$(user-ta-uuid) := SIGN #
107 cmd-echo$(user-ta-uuid) := SIGNENC
109 $(link-out-dir$(sm))/$(user-ta-uuid).ta: \
[all …]
A Dta_dev_kit.mk7 include $(ta-dev-kit-dir)/mk/conf.mk
8 ta-dev-kit-dir$(sm) := $(ta-dev-kit-dir)
22 user-ta-uuid := $(BINARY)
24 user-ta-ldadd := $(LDADD)
77 libdirs += $(ta-dev-kit-dir$(sm))/lib
122 ifneq ($(user-ta-uuid),)
124 vpath %.c $(ta-dev-kit-dir$(sm))/src
127 vpath %.S $(ta-dev-kit-dir$(sm))/src
132 SCRIPTS_DIR := $(ta-dev-kit-dir)/scripts
135 ifneq ($(user-ta-uuid),)
[all …]
/optee_os/ta/
A Dta.mk4 sm := $(ta-target)
52 ifeq ($(ta-target),ta_arm32)
117 ifeq ($(ta-target),ta_arm32)
145 ta/arch/$(ARCH)/link.mk ta/arch/$(ARCH)/link_shlib.mk \
146 ta/mk/ta_dev_kit.mk
148 $(foreach f, $(ta-mkfiles), \
167 ta-srcfiles = ta/arch/$(ARCH)/user_ta_header.c ta/arch/$(ARCH)/ta.ld.S
168 ifeq ($(ta-target),ta_arm32)
169 ta-srcfiles += ta/arch/$(ARCH)/ta_entry_a32.S
175 ta-keys = keys/default_ta.pem
[all …]
/optee_os/out/arm/ta/pkcs11/
A Dfd02c9da-306c-48c7-a49c-bbd827ae86ee.map2435 .rodata.ta/pkcs11/src/pkcs11_token.c
2461 .rodata.ta/pkcs11/src/attributes.c
2463 .rodata.str1.1.ta/pkcs11/src/entry.c
2465 .rodata.ta/pkcs11/src/entry.c
2470 .rodata.ta/pkcs11/src/object.c
2487 .rodata.ta/pkcs11/src/processing.c
2514 .rodata.ta/pkcs11/src/serializer.c
3327 LOAD out/arm/ta/pkcs11/src/entry.o
3328 LOAD out/arm/ta/pkcs11/src/handle.o
3329 LOAD out/arm/ta/pkcs11/src/object.o
[all …]
/optee_os/core/kernel/
A Dearly_ta.c20 const struct embedded_ts *ta = NULL; in find_early_ta() local
22 for_each_early_ta(ta) in find_early_ta()
23 if (!memcmp(&ta->uuid, uuid, sizeof(*uuid))) in find_early_ta()
24 return ta; in find_early_ta()
46 const struct embedded_ts *ta = NULL; in early_ta_init() local
49 for_each_early_ta(ta) { in early_ta_init()
50 if (ta->uncompressed_size) in early_ta_init()
53 ta->uncompressed_size); in early_ta_init()
56 DMSG("Early TA %pUl size %u%s", (void *)&ta->uuid, ta->size, in early_ta_init()
A Dsecstor_ta.c15 struct tee_tadb_ta_read *ta; in secstor_ta_open() local
19 res = tee_tadb_ta_open(uuid, &ta); in secstor_ta_open()
22 prop = tee_tadb_ta_get_property(ta); in secstor_ta_open()
25 res = tee_tadb_ta_read(ta, NULL, &l); in secstor_ta_open()
33 *handle = (struct ts_store_handle *)ta; in secstor_ta_open()
37 tee_tadb_ta_close(ta); in secstor_ta_open()
44 struct tee_tadb_ta_read *ta = (struct tee_tadb_ta_read *)h; in secstor_ta_get_size() local
61 struct tee_tadb_ta_read *ta = (struct tee_tadb_ta_read *)h; in secstor_ta_read() local
63 TEE_Result res = tee_tadb_ta_read(ta, data, &l); in secstor_ta_read()
75 struct tee_tadb_ta_read *ta = (struct tee_tadb_ta_read *)h; in secstor_ta_close() local
[all …]
/optee_os/
A DMakefile81 ta-targets ?= invalid
82 default-user-ta-target ?= $(firstword $(ta-targets))
86 define build-ta-target
87 ta-target := $(1)
88 include ta/ta.mk
90 $(foreach t, $(ta-targets), $(eval $(call build-ta-target, $(t))))
93 define build-user-ta
94 ta-mk-file := $(1)
95 include ta/mk/build-user-ta.mk
97 $(foreach t, $(sort $(wildcard ta/*/user_ta.mk)), $(eval $(call build-user-ta,$(t))))
/optee_os/out/arm/ta/pkcs11/src/
A D.pkcs11_attributes.o.d1 out/arm/ta/pkcs11/src/pkcs11_attributes.o: \
2 ta/pkcs11/src/pkcs11_attributes.c out/arm/include/generated/conf.h \
12 out/arm/export-ta_arm32/include/limits.h ta/pkcs11/include/pkcs11_ta.h \
27 out/arm/export-ta_arm32/include/util.h ta/pkcs11/src/attributes.h \
28 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/src/pkcs11_attributes.h \
29 ta/pkcs11/src/serializer.h ta/pkcs11/src/token_capabilities.h \
30 ta/pkcs11/src/handle.h ta/pkcs11/src/pkcs11_attributes.h \
31 ta/pkcs11/src/pkcs11_token.h out/arm/export-ta_arm32/include/sys/queue.h \
32 out/arm/export-ta_arm32/include/utee_defines.h ta/pkcs11/src/object.h \
33 ta/pkcs11/src/sanitize_object.h ta/pkcs11/src/token_capabilities.h
A D.processing_asymm.o.d1 out/arm/ta/pkcs11/src/processing_asymm.o: \
2 ta/pkcs11/src/processing_asymm.c out/arm/include/generated/conf.h \
21 ta/pkcs11/src/attributes.h out/arm/export-ta_arm32/include/util.h \
22 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/include/pkcs11_ta.h \
23 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/serializer.h \
24 ta/pkcs11/src/token_capabilities.h ta/pkcs11/src/pkcs11_token.h \
28 out/arm/export-ta_arm32/include/unistd.h ta/pkcs11/src/handle.h \
29 ta/pkcs11/src/object.h ta/pkcs11/src/pkcs11_attributes.h \
30 ta/pkcs11/src/processing.h
A D.processing_rsa.o.d1 out/arm/ta/pkcs11/src/processing_rsa.o: ta/pkcs11/src/processing_rsa.c \
10 ta/pkcs11/include/pkcs11_ta.h out/arm/export-ta_arm32/include/stdint.h \
21 ta/pkcs11/src/attributes.h out/arm/export-ta_arm32/include/util.h \
22 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/src/pkcs11_attributes.h \
23 ta/pkcs11/src/serializer.h ta/pkcs11/src/token_capabilities.h \
24 ta/pkcs11/src/object.h out/arm/export-ta_arm32/include/sys/queue.h \
25 ta/pkcs11/src/pkcs11_token.h \
28 out/arm/export-ta_arm32/include/unistd.h ta/pkcs11/src/handle.h \
29 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/processing.h
A D.pkcs11_token.o.d1 out/arm/ta/pkcs11/src/pkcs11_token.o: ta/pkcs11/src/pkcs11_token.c \
12 ta/pkcs11/include/pkcs11_ta.h out/arm/export-ta_arm32/include/stdint.h \
27 ta/pkcs11/src/attributes.h ta/pkcs11/src/pkcs11_helpers.h \
31 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/serializer.h \
32 ta/pkcs11/src/token_capabilities.h ta/pkcs11/src/handle.h \
33 ta/pkcs11/src/pkcs11_token.h \
36 out/arm/export-ta_arm32/include/unistd.h ta/pkcs11/src/object.h \
37 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/processing.h \
38 ta/pkcs11/src/token_capabilities.h
A D.object.o.d1 out/arm/ta/pkcs11/src/object.o: ta/pkcs11/src/object.c \
23 ta/pkcs11/src/attributes.h out/arm/export-ta_arm32/include/util.h \
24 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/include/pkcs11_ta.h \
25 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/serializer.h \
26 ta/pkcs11/src/token_capabilities.h ta/pkcs11/src/handle.h \
27 ta/pkcs11/src/object.h out/arm/export-ta_arm32/include/sys/queue.h \
28 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/pkcs11_token.h \
31 out/arm/export-ta_arm32/include/unistd.h ta/pkcs11/src/sanitize_object.h
A D.processing.o.d1 out/arm/ta/pkcs11/src/processing.o: ta/pkcs11/src/processing.c \
10 ta/pkcs11/include/pkcs11_ta.h out/arm/export-ta_arm32/include/stdint.h \
23 out/arm/export-ta_arm32/include/util.h ta/pkcs11/src/attributes.h \
24 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/src/pkcs11_attributes.h \
25 ta/pkcs11/src/serializer.h ta/pkcs11/src/token_capabilities.h \
26 ta/pkcs11/src/object.h out/arm/export-ta_arm32/include/sys/queue.h \
27 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/pkcs11_token.h \
30 out/arm/export-ta_arm32/include/unistd.h ta/pkcs11/src/handle.h \
31 ta/pkcs11/src/processing.h
A D.processing_digest.o.d1 out/arm/ta/pkcs11/src/processing_digest.o: \
2 ta/pkcs11/src/processing_digest.c out/arm/include/generated/conf.h \
10 out/arm/export-ta_arm32/include/config.h ta/pkcs11/include/pkcs11_ta.h \
27 out/arm/export-ta_arm32/include/util.h ta/pkcs11/src/attributes.h \
28 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/src/pkcs11_attributes.h \
29 ta/pkcs11/src/serializer.h ta/pkcs11/src/token_capabilities.h \
30 ta/pkcs11/src/object.h out/arm/export-ta_arm32/include/sys/queue.h \
31 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/pkcs11_token.h \
32 ta/pkcs11/src/handle.h ta/pkcs11/src/processing.h
A D.processing_symm.o.d1 out/arm/ta/pkcs11/src/processing_symm.o: ta/pkcs11/src/processing_symm.c \
10 ta/pkcs11/include/pkcs11_ta.h out/arm/export-ta_arm32/include/stdint.h \
26 out/arm/export-ta_arm32/include/util.h ta/pkcs11/src/attributes.h \
27 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/src/pkcs11_attributes.h \
28 ta/pkcs11/src/serializer.h ta/pkcs11/src/token_capabilities.h \
29 ta/pkcs11/src/object.h out/arm/export-ta_arm32/include/sys/queue.h \
30 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/pkcs11_token.h \
31 ta/pkcs11/src/handle.h ta/pkcs11/src/processing.h
A D.processing_aes.o.d1 out/arm/ta/pkcs11/src/processing_aes.o: ta/pkcs11/src/processing_aes.c \
18 out/arm/export-ta_arm32/include/util.h ta/pkcs11/src/pkcs11_helpers.h \
19 ta/pkcs11/include/pkcs11_ta.h ta/pkcs11/src/pkcs11_attributes.h \
20 ta/pkcs11/src/serializer.h ta/pkcs11/src/token_capabilities.h \
21 ta/pkcs11/src/pkcs11_token.h out/arm/export-ta_arm32/include/sys/queue.h \
25 out/arm/export-ta_arm32/include/unistd.h ta/pkcs11/src/handle.h \
26 ta/pkcs11/src/object.h ta/pkcs11/src/pkcs11_attributes.h \
27 ta/pkcs11/src/processing.h
A D.pkcs11_helpers.o.d1 out/arm/ta/pkcs11/src/pkcs11_helpers.o: ta/pkcs11/src/pkcs11_helpers.c \
2 out/arm/include/generated/conf.h ta/pkcs11/include/pkcs11_ta.h \
19 out/arm/export-ta_arm32/include/util.h ta/pkcs11/src/attributes.h \
20 ta/pkcs11/src/pkcs11_helpers.h ta/pkcs11/src/pkcs11_attributes.h \
21 ta/pkcs11/src/serializer.h ta/pkcs11/src/token_capabilities.h \
22 ta/pkcs11/src/object.h out/arm/export-ta_arm32/include/sys/queue.h \
23 ta/pkcs11/src/pkcs11_attributes.h ta/pkcs11/src/processing.h
/optee_os/core/include/tee/
A Dtadb.h48 struct tee_tadb_ta_write **ta);
49 TEE_Result tee_tadb_ta_write(struct tee_tadb_ta_write *ta, const void *buf,
51 void tee_tadb_ta_close_and_delete(struct tee_tadb_ta_write *ta);
52 TEE_Result tee_tadb_ta_close_and_commit(struct tee_tadb_ta_write *ta);
56 TEE_Result tee_tadb_ta_open(const TEE_UUID *uuid, struct tee_tadb_ta_read **ta);
58 tee_tadb_ta_get_property(struct tee_tadb_ta_read *ta);
59 TEE_Result tee_tadb_get_tag(struct tee_tadb_ta_read *ta, uint8_t *tag,
61 TEE_Result tee_tadb_ta_read(struct tee_tadb_ta_read *ta, void *buf,
63 void tee_tadb_ta_close(struct tee_tadb_ta_read *ta);
/optee_os/core/arch/arm/
A Darm.mk208 ifeq (,$(supported-ta-targets))
209 supported-ta-targets = ta_arm32
211 supported-ta-targets += ta_arm64
215 ta-targets := $(if $(CFG_USER_TA_TARGETS),$(filter $(supported-ta-targets),$(CFG_USER_TA_TARGETS)),…
221 ifneq ($(filter ta_arm32,$(ta-targets)),)
263 ta-mk-file-export-vars-ta_arm32 += CFG_ARM32_ta_arm32
272 ta-mk-file-export-add-ta_arm32 += COMPILER ?= gcc_nl_
277 ifneq ($(filter ta_arm64,$(ta-targets)),)
302 ifeq (,$(bti-ta-opt))
305 ta_arm64-platform-cflags += $(bti-ta-opt)
[all …]

Completed in 51 milliseconds

12345