Searched refs:buffer (Results 1 – 14 of 14) sorted by relevance
/optee_client/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/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/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/public/ |
A D | tee_client_api.h | 291 void *buffer; member 320 void *buffer; member
|
A D | teec_trace.h | 141 void dump_buffer(const char *bname, const uint8_t *buffer, size_t blen);
|
/optee_client/tee-supplicant/src/ |
A D | tee_supplicant.c | 262 shm->buffer = (uint8_t *)tshm->p + offs; in get_param() 293 ta_found = TEECI_LoadSecureModule(ta_dir, &uuid, shm_ta.buffer, &size); in load_ta() 305 if (shm_ta.buffer && size > shm_ta.size) in load_ta() 502 return rpmb_process_request(req.buffer, req.size, rsp.buffer, rsp.size); in process_rpmb()
|
A D | teec_ta_load.c | 60 void *buffer; member
|
Completed in 18 milliseconds