Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 14 of 14) sorted by relevance

/optee_client/libteec/src/
A Dteec_trace.c52 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 Dtee_client_api.c217 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 Dpkcs11_processing.c46 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 Dserializer.c30 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 Dpkcs11_token.c102 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 Dinvoke_ta.c75 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 Dserializer.h18 char *buffer; /* serial buffer base address */ member
A Dinvoke_ta.h37 TEEC_SharedMemory *ckteec_register_shm(void *buffer, size_t size,
A Dserialize_ck.c104 rv = serialize_buffer(obj, obj2.buffer, obj2.size); in serialize_indirect_attribute()
/optee_client/libseteec/src/
A Dse.c135 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 Dtee_client_api.h291 void *buffer; member
320 void *buffer; member
A Dteec_trace.h141 void dump_buffer(const char *bname, const uint8_t *buffer, size_t blen);
/optee_client/tee-supplicant/src/
A Dtee_supplicant.c262 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 Dteec_ta_load.c60 void *buffer; member

Completed in 18 milliseconds