/optee_client-3.20.0/libckteec/src/ |
A D | serializer.c | 45 static CK_RV serialize(char **bstart, size_t *blen, void *data, size_t len) in serialize() argument 53 memcpy(buf + *blen, data, len); in serialize() 61 CK_RV serialize_buffer(struct serializer *obj, void *data, size_t size) in serialize_buffer() argument 63 return serialize(&obj->buffer, &obj->size, data, size); in serialize_buffer() 66 CK_RV serialize_32b(struct serializer *obj, uint32_t data) in serialize_32b() argument 68 return serialize_buffer(obj, &data, sizeof(data)); in serialize_32b() 71 CK_RV serialize_ck_ulong(struct serializer *obj, CK_ULONG data) in serialize_ck_ulong() argument 73 uint32_t data32 = data; in serialize_ck_ulong()
|
A D | serializer.h | 30 CK_RV serialize_buffer(struct serializer *obj, void *data, size_t size); 31 CK_RV serialize_32b(struct serializer *obj, uint32_t data); 32 CK_RV serialize_ck_ulong(struct serializer *obj, CK_ULONG data);
|
A D | serialize_ck.c | 131 return deserialize_ck_attributes(obj->data, attr, count); in deserialize_indirect_attribute() 271 uint8_t *data, CK_ATTRIBUTE_PTR out) in deserialize_ck_attribute() argument 302 memcpy(&pkcs11_data32, data, sizeof(uint32_t)); in deserialize_ck_attribute() 321 rv = deserialize_mecha_list(out->pValue, data, in deserialize_ck_attribute() 328 memcpy(out->pValue, data, in->size); in deserialize_ck_attribute() 356 data_ptr = cli_ref->data; in deserialize_ck_attributes()
|
A D | pkcs11_token.h | 56 CK_RV ck_generate_random(CK_SESSION_HANDLE session, CK_BYTE_PTR data,
|
A D | pkcs11_token.c | 802 CK_RV ck_generate_random(CK_SESSION_HANDLE session, CK_BYTE_PTR data, in ck_generate_random() argument 812 if (!data && length) in ck_generate_random() 815 if (!data) in ck_generate_random() 827 out_shm = ckteec_register_shm(data, length, CKTEEC_SHM_OUT); in ck_generate_random()
|
/optee_client-3.20.0/tee-supplicant/src/ |
A D | tee_supplicant.c | 326 memset(&data, 0, sizeof(data)); in alloc_shm() 332 data.size = size; in alloc_shm() 347 shm->id = data.id; in alloc_shm() 358 memset(&data, 0, sizeof(data)); in register_local_shm() 370 data.addr = (uintptr_t)buf; in register_local_shm() 371 data.length = size; in register_local_shm() 382 shm->id = data.id; in register_local_shm() 524 struct tee_ioctl_buf_data data; in read_request() local 526 memset(&data, 0, sizeof(data)); in read_request() 539 struct tee_ioctl_buf_data data; in write_response() local [all …]
|
A D | plugin.c | 95 unsigned int sub_cmd, void *data, in plugin_invoke() argument 106 return p->method->invoke(cmd, sub_cmd, data, in_len, out_len); in plugin_invoke() 188 void *data = NULL; in plugin_process() local 216 data = tee_supp_param_to_va(params + 3); in plugin_process() 219 if (data_len && !data) in plugin_process() 224 res = plugin_invoke(&uuid, cmd, sub_cmd, data, data_len, in plugin_process()
|
A D | rpmb.c | 89 uint8_t data[256]; member 463 hmac_sha256_update(ctx, CUC(frm->data), 256); in hmac_update_frm() 547 memcpy(memptr, frm[i].data, 256); in ioctl_emu_mem_transfer() 553 memcpy(frm[i].data, memptr, 256); in ioctl_emu_mem_transfer()
|
/optee_client-3.20.0/libteec/src/ |
A D | tee_client_api.c | 134 memset(&data, 0, sizeof(data)); in teec_shm_alloc() 136 data.size = size; in teec_shm_alloc() 140 *id = data.id; in teec_shm_alloc() 149 memset(&data, 0, sizeof(data)); in teec_shm_register() 152 data.length = size; in teec_shm_register() 156 *id = data.id; in teec_shm_register() 609 uint8_t data[arg_size]; in TEEC_OpenSession() member 858 memset(&data, 0, sizeof(data)); in TEEC_RegisterSharedMemoryFileDescriptor() 866 data.fd = fd; in TEEC_RegisterSharedMemoryFileDescriptor() 874 shm->id = data.id; in TEEC_RegisterSharedMemoryFileDescriptor() [all …]
|
/optee_client-3.20.0/ |
A D | Android.mk | 12 TEEC_TEST_LOAD_PATH ?= /data/vendor/tee 13 CFG_TEE_FS_PARENT_PATH ?= /data/vendor/tee
|
A D | config.mk | 26 CFG_TEE_FS_PARENT_PATH ?= /data/tee
|
/optee_client-3.20.0/public/ |
A D | tee_plugin_method.h | 17 void *data, size_t in_len, size_t *out_len);
|
/optee_client-3.20.0/libteec/ |
A D | CMakeLists.txt | 19 set (CFG_TEE_CLIENT_LOG_FILE "/data/tee/teec.log" CACHE STRING "Location of libteec log")
|
/optee_client-3.20.0/tee-supplicant/ |
A D | CMakeLists.txt | 15 set (CFG_TEE_FS_PARENT_PATH "/data/tee" CACHE STRING "Location of TEE filesystem (secure storage)")
|
/optee_client-3.20.0/libckteec/include/ |
A D | pkcs11_ta.h | 1020 uint8_t data[]; member
|