| /optee_os/core/tee/ |
| H A D | tee_time_generic.c | 13 TEE_UUID uuid; 21 static TEE_Result tee_time_ta_get_offs(const TEE_UUID *uuid, in tee_time_ta_get_offs() 27 if (memcmp(uuid, &tee_time_offs[n].uuid, sizeof(TEE_UUID)) in tee_time_ta_get_offs() 37 static TEE_Result tee_time_ta_set_offs(const TEE_UUID *uuid, in tee_time_ta_set_offs() 44 if (memcmp(uuid, &tee_time_offs[n].uuid, sizeof(TEE_UUID)) in tee_time_ta_set_offs() 64 TEE_Result tee_time_get_ta_time(const TEE_UUID *uuid, TEE_Time *time) in tee_time_get_ta_time() 98 TEE_Result tee_time_set_ta_time(const TEE_UUID *uuid, const TEE_Time *time) in tee_time_set_ta_time()
|
| H A D | uuid.c | 10 void tee_uuid_to_octets(uint8_t *d, const TEE_UUID *s) in tee_uuid_to_octets() 23 void tee_uuid_from_octets(TEE_UUID *d, const uint8_t *s) in tee_uuid_from_octets()
|
| /optee_os/ta/pkcs11/src/ |
| H A D | persistent_token.c | 293 static int get_persistent_obj_idx(struct ck_token *token, TEE_UUID *uuid) in get_persistent_obj_idx() 302 uuid, sizeof(TEE_UUID))) in get_persistent_obj_idx() 314 obj->uuid = TEE_Malloc(sizeof(TEE_UUID), in create_object_uuid() 322 TEE_GenerateRandom(obj->uuid, sizeof(TEE_UUID)); in create_object_uuid() 338 TEE_UUID *array, size_t *size) in get_persistent_objects_list() 342 *size = token->db_objs->count * sizeof(TEE_UUID); in get_persistent_objects_list() 354 TEE_UUID *uuid) in unregister_persistent_object() 372 ((token->db_objs->count - 1) * sizeof(TEE_UUID)), in unregister_persistent_object() 390 idx * sizeof(TEE_UUID)); in unregister_persistent_object() 397 count * sizeof(TEE_UUID)); in unregister_persistent_object() [all …]
|
| /optee_os/core/include/tee/ |
| H A D | tee_fs_key_manager.h | 19 TEE_Result tee_fs_generate_fek(const TEE_UUID *uuid, void *encrypted_fek, 21 TEE_Result tee_fs_crypt_block(const TEE_UUID *uuid, uint8_t *out, 26 TEE_Result tee_fs_fek_crypt(const TEE_UUID *uuid, TEE_OperationMode mode,
|
| H A D | fs_dirfile.h | 38 const TEE_UUID *uuid, 99 const TEE_UUID *uuid, const void *oid, 123 const TEE_UUID *uuid, 155 const TEE_UUID *uuid, int *idx, void *oid,
|
| H A D | uuid.h | 17 void tee_uuid_to_octets(uint8_t *dst, const TEE_UUID *src); 24 void tee_uuid_from_octets(TEE_UUID *dst, const uint8_t *src);
|
| H A D | tadb.h | 23 TEE_UUID uuid; 54 TEE_Result tee_tadb_ta_delete(const TEE_UUID *uuid); 56 TEE_Result tee_tadb_ta_open(const TEE_UUID *uuid, struct tee_tadb_ta_read **ta);
|
| H A D | tee_pobj.h | 17 TEE_UUID uuid; 35 TEE_Result tee_pobj_get(TEE_UUID *uuid, void *obj_id, uint32_t obj_id_len,
|
| /optee_os/core/include/kernel/ |
| H A D | embedded_ts.h | 17 TEE_UUID uuid; 29 TEE_Result emb_ts_open(const TEE_UUID *uuid, 32 (const TEE_UUID *uuid));
|
| H A D | tee_time.h | 13 TEE_Result tee_time_get_ta_time(const TEE_UUID *uuid, TEE_Time *time); 15 TEE_Result tee_time_set_ta_time(const TEE_UUID *uuid, const TEE_Time *time);
|
| H A D | ldelf_loader.h | 19 TEE_Result ldelf_dlopen(struct user_mode_ctx *uctx, TEE_UUID *uuid, 21 TEE_Result ldelf_dlsym(struct user_mode_ctx *uctx, TEE_UUID *uuid,
|
| H A D | user_ta.h | 66 TEE_Result tee_ta_init_user_ta_session(const TEE_UUID *uuid, 76 tee_ta_init_user_ta_session(const TEE_UUID *uuid __unused, in tee_ta_init_user_ta_session()
|
| /optee_os/core/include/ |
| H A D | signed_hdr.h | 111 uint8_t uuid[sizeof(TEE_UUID)]; 130 uint8_t uuid[sizeof(TEE_UUID)]; 200 uint8_t uuid[sizeof(TEE_UUID)]; 201 uint8_t next_uuid[sizeof(TEE_UUID)]; 212 const uint8_t next_uuid[sizeof(TEE_UUID)],
|
| /optee_os/core/arch/arm/plat-vexpress/ |
| H A D | vendor_props.c | 33 uint8_t data[sizeof(TEE_UUID) + ta_endorsement_seed_size]; in get_prop_endorsement() 44 memcpy(data, &sess->ctx->uuid, sizeof(TEE_UUID)); in get_prop_endorsement() 46 if (tee_otp_get_die_id(&data[sizeof(TEE_UUID)], in get_prop_endorsement()
|
| /optee_os/core/arch/arm/include/kernel/ |
| H A D | stmm_sp.h | 163 TEE_Result stmm_init_session(const TEE_UUID *uuid, 173 stmm_init_session(const TEE_UUID *uuid __unused, in stmm_init_session() 187 const TEE_UUID *stmm_get_uuid(void); 189 static inline const TEE_UUID *stmm_get_uuid(void) { return NULL; } in stmm_get_uuid()
|
| /optee_os/core/lib/libefi/include/efi/ |
| H A D | hob.h | 73 TEE_UUID owner; 85 TEE_UUID name; 118 TEE_UUID *guid, uint16_t data_length,
|
| /optee_os/ldelf/include/ |
| H A D | ldelf.h | 32 TEE_UUID uuid; 88 TEE_UUID uuid; /* in */ 92 TEE_UUID uuid; /* in */
|
| /optee_os/ldelf/ |
| H A D | ta_elf.h | 96 TEE_UUID uuid; 121 struct ta_elf *ta_elf_find_elf(const TEE_UUID *uuid); 123 void ta_elf_load_main(const TEE_UUID *uuid, uint32_t *is_32bit, uint64_t *sp, 149 TEE_Result ta_elf_add_library(const TEE_UUID *uuid);
|
| H A D | dl.c | 13 TEE_UUID zero = { }; in dlopen_entry() 27 TEE_UUID zero = { }; in dlsym_entry()
|
| /optee_os/core/arch/riscv/include/kernel/ |
| H A D | stmm_sp.h | 32 stmm_init_session(const TEE_UUID *uuid __unused, in stmm_init_session() 44 static inline const TEE_UUID *stmm_get_uuid(void) { return NULL; } in stmm_get_uuid()
|
| /optee_os/lib/libutee/include/ |
| H A D | tee_internal_api_extensions.h | 64 TEE_Result tee_uuid_from_str(TEE_UUID *uuid, const char *s); 77 TEE_Result tee_invoke_supp_plugin(const TEE_UUID *uuid, uint32_t cmd,
|
| /optee_os/core/kernel/ |
| H A D | early_ta.c | 18 static const struct embedded_ts *find_early_ta(const TEE_UUID *uuid) in find_early_ta() 29 static TEE_Result early_ta_open(const TEE_UUID *uuid, in early_ta_open()
|
| /optee_os/lib/libdl/ |
| H A D | dlfcn.c | 21 const TEE_UUID core_uuid = PTA_SYSTEM_UUID; in invoke_system_pta() 35 TEE_UUID uuid; 44 TEE_UUID uuid = { }; in dlopen()
|
| /optee_os/lib/libutee/ |
| H A D | tee_system_pta.c | 18 static const TEE_UUID uuid = PTA_SYSTEM_UUID; in invoke_system_pta() 81 TEE_Result tee_invoke_supp_plugin(const TEE_UUID *uuid, uint32_t cmd, in tee_invoke_supp_plugin() 96 params[0].memref.size = sizeof(TEE_UUID); in tee_invoke_supp_plugin()
|
| /optee_os/core/crypto/ |
| H A D | signed_hdr.c | 200 static TEE_Result calc_next_uuid(uint8_t uuid[sizeof(TEE_UUID)], in calc_next_uuid() argument 201 const uint8_t my_uuid[sizeof(TEE_UUID)], in calc_next_uuid() argument 208 TEE_UUID uuid; in calc_next_uuid() 213 memcpy(uuid, my_uuid, sizeof(TEE_UUID)); in calc_next_uuid() 230 crypto_hash_update(ctx, my_uuid, sizeof(TEE_UUID)) || in calc_next_uuid() 263 const uint8_t next_uuid[sizeof(TEE_UUID)], in shdr_load_pub_key() argument 311 if (next_uuid && memcmp(next_uuid, subkey->uuid, sizeof(TEE_UUID))) { in shdr_load_pub_key() 318 memcpy(key->uuid, subkey->uuid, sizeof(TEE_UUID)); in shdr_load_pub_key()
|