/optee_client-3.20.0/libteec/src/ |
A D | teec_trace.c | 52 static void log_to_file(const char *buffer) in log_to_file() argument 57 fprintf(log_file, "%s", buffer); in log_to_file() 63 #define log_to_file(buffer) argument 100 void dump_buffer(const char *bname, const uint8_t *buffer, size_t blen) in dump_buffer() argument 109 fprintf(stderr, "%02x ", (int)buffer[n]); in dump_buffer() 121 if (isprint(buffer[n])) in dump_buffer() 122 fprintf(stderr, "%c", (int)buffer[n]); in dump_buffer() 131 buffer += 16; in dump_buffer() 135 void dump_buffer(const char *bname, const uint8_t *buffer, size_t blen) in dump_buffer() argument 138 (void)buffer; in dump_buffer()
|
A D | tee_client_api.c | 217 if (!tmpref->buffer) { in teec_pre_process_tmpref() 232 shm->buffer = tmpref->buffer; in teec_pre_process_tmpref() 424 memcpy(shm->buffer, shm->shadow_buffer, in teec_post_process_whole() 788 if (!shm->buffer) in TEEC_RegisterSharedMemory() 871 shm->buffer = NULL; in TEEC_RegisterSharedMemoryFileDescriptor() 896 if (!shm->buffer) in TEEC_AllocateSharedMemory() 901 free(shm->buffer); in TEEC_AllocateSharedMemory() 902 shm->buffer = NULL; in TEEC_AllocateSharedMemory() 941 } else if (shm->buffer) { in TEEC_ReleaseSharedMemory() 944 free(shm->buffer); in TEEC_ReleaseSharedMemory() [all …]
|
/optee_client-3.20.0/libteeacl/src/ |
A D | group.c | 27 char *buffer = NULL; in teeacl_gid_from_name() local 33 buffer = calloc(1, b_size); in teeacl_gid_from_name() 34 if (!buffer) in teeacl_gid_from_name() 37 rv = getgrnam_r(group_name, &grp, buffer, b_size, &result); in teeacl_gid_from_name() 39 free(buffer); in teeacl_gid_from_name()
|
/optee_client-3.20.0/libckteec/src/ |
A D | pkcs11_processing.c | 46 buf = ctrl->buffer; in ck_create_object() 96 buf = ctrl->buffer; in ck_destroy_object() 143 buf = ctrl->buffer; in ck_encdecrypt_init() 396 buf = ctrl->buffer; in ck_digest_init() 431 buf = ctrl->buffer; in ck_digest_key() 467 buf = ctrl->buffer; in ck_digest_update() 518 buf = ctrl->buffer; in ck_digest_oneshot() 596 buf = ctrl->buffer; in ck_digest_final() 664 buf = ctrl->buffer; in ck_signverify_init() 911 buf = ctrl->buffer; in ck_generate_key() [all …]
|
A D | serializer.c | 30 memcpy(obj->buffer, &head, sizeof(head)); in finalize_serial_object() 35 free(obj->buffer); in release_serial_object() 36 obj->buffer = NULL; in release_serial_object() 63 return serialize(&obj->buffer, &obj->size, data, size); in serialize_buffer()
|
A D | pkcs11_token.c | 102 slot_ids = shm->buffer; in ck_slot_get_list() 147 ta_info = out->buffer; in ck_slot_get_info() 216 ta_info = out_shm->buffer; in ck_token_get_info() 315 mecha_ids = out->buffer; in ck_token_mechanism_ids() 351 buf = ctrl->buffer; in ck_token_mechanism_info() 373 ta_info = out->buffer; in ck_token_mechanism_info() 419 buf = (uint8_t *)ctrl->buffer; in ck_open_session() 580 buf = ctrl->buffer; in ck_init_token() 624 buf = ctrl->buffer; in ck_init_pin() 671 buf = ctrl->buffer; in ck_set_pin() [all …]
|
A D | invoke_ta.c | 75 TEEC_SharedMemory *ckteec_register_shm(void *buffer, size_t size, in ckteec_register_shm() argument 93 shm->buffer = buffer; in ckteec_register_shm() 148 op.params[0].tmpref.buffer = &ta_rc; in ckteec_invoke_ta() 173 memcpy(&ta_rc, ctrl->buffer, sizeof(ta_rc)); in ckteec_invoke_ta() 207 op.params[0].tmpref.buffer = &status; in ping_ta() 209 op.params[2].tmpref.buffer = ta_version; in ping_ta()
|
A D | serializer.h | 18 char *buffer; /* serial buffer base address */ member
|
A D | invoke_ta.h | 37 TEEC_SharedMemory *ckteec_register_shm(void *buffer, size_t size,
|
A D | serialize_ck.c | 104 rv = serialize_buffer(obj, obj2.buffer, obj2.size); in serialize_indirect_attribute()
|
/optee_client-3.20.0/libseteec/src/ |
A D | se.c | 135 op.params[1].tmpref.buffer = hdr; in se_apdu_request() 137 op.params[2].tmpref.buffer = src; in se_apdu_request() 139 op.params[3].tmpref.buffer = dst; in se_apdu_request()
|
/optee_client-3.20.0/public/ |
A D | tee_client_api.h | 292 void *buffer; member 321 void *buffer; member
|
A D | teec_trace.h | 141 void dump_buffer(const char *bname, const uint8_t *buffer, size_t blen);
|
/optee_client-3.20.0/tee-supplicant/src/ |
A D | teec_ta_load.c | 60 void *buffer; member
|
A D | tee_supplicant.c | 272 shm->buffer = (uint8_t *)tshm->p + offs; in get_param() 303 ta_found = TEECI_LoadSecureModule(supplicant_params.ta_dir, &uuid, shm_ta.buffer, &size); in load_ta() 315 if (shm_ta.buffer && size > shm_ta.size) in load_ta() 519 return rpmb_process_request(req.buffer, req.size, rsp.buffer, rsp.size); in process_rpmb()
|