Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 9 of 9) sorted by relevance

/optee_client/libckteec/src/
A Dpkcs11_processing.c28 char *buf = NULL; in ck_create_object() local
46 buf = ctrl->buffer; in ck_create_object()
85 char *buf = NULL; in ck_destroy_object() local
96 buf = ctrl->buffer; in ck_destroy_object()
121 char *buf = NULL; in ck_encdecrypt_init() local
143 buf = ctrl->buffer; in ck_encdecrypt_init()
643 char *buf = NULL; in ck_signverify_init() local
884 char *buf = NULL; in ck_generate_key() local
958 char *buf = NULL; in ck_find_objects_init() local
1081 char *buf = NULL; in ck_get_object_size() local
[all …]
A Dpkcs11_token.c338 char *buf = NULL; in ck_token_mechanism_info() local
351 buf = ctrl->buffer; in ck_token_mechanism_info()
403 uint8_t *buf; in ck_open_session() local
564 char *buf = NULL; in ck_init_token() local
580 buf = ctrl->buffer; in ck_init_token()
611 char *buf = NULL; in ck_init_pin() local
624 buf = ctrl->buffer; in ck_init_pin()
654 char *buf; in ck_set_pin() local
671 buf = ctrl->buffer; in ck_set_pin()
707 char *buf = NULL; in ck_login() local
[all …]
A Dserializer.c48 char *buf = realloc(*bstart, nlen); in serialize() local
50 if (!buf) in serialize()
53 memcpy(buf + *blen, data, len); in serialize()
56 *bstart = buf; in serialize()
/optee_client/tee-supplicant/src/
A Dtee_socket.c456 r = write(fd, buf, *blen); in write_with_timeout()
473 void *buf = NULL; in tee_socket_send() local
488 buf = tee_supp_param_to_va(params + 1); in tee_socket_send()
612 void *buf = NULL; in tee_socket_recv() local
627 buf = tee_supp_param_to_va(params + 1); in tee_socket_recv()
638 void *buf, size_t *blen) in tee_socket_ioctl_tcp() argument
740 void *buf, size_t *blen) in tee_socket_ioctl_udp() argument
759 if (!blen || *((char *)buf + *blen - 1) != '\0') in tee_socket_ioctl_udp()
766 memcpy(&port, buf, sizeof(port)); in tee_socket_ioctl_udp()
786 void *buf = NULL; in tee_socket_ioctl() local
[all …]
A Dprof.c52 void *buf = NULL; in prof_process() local
76 buf = tee_supp_param_to_va(params + 2); in prof_process()
77 if (!buf) in prof_process()
118 st = write(fd, buf, bufsize); in prof_process()
A Dtee_supp_fs.c284 uint8_t *buf = NULL; in ree_fs_new_read() local
301 buf = tee_supp_param_to_va(params + 1); in ree_fs_new_read()
302 if (!buf) in ree_fs_new_read()
309 r = pread(fd, buf, len, offs); in ree_fs_new_read()
316 buf += r; in ree_fs_new_read()
329 uint8_t *buf = NULL; in ree_fs_new_write() local
346 if (!buf) in ree_fs_new_write()
351 r = pwrite(fd, buf, len, offs); in ree_fs_new_write()
358 buf += r; in ree_fs_new_write()
568 char *buf = NULL; in ree_fs_new_readdir() local
[all …]
A Dtee_supplicant.c70 uint64_t buf[(RPC_BUF_SIZE - 1) / sizeof(uint64_t) + 1]; member
345 void *buf = NULL; in register_local_shm() local
350 buf = paged_aligned_alloc(size); in register_local_shm()
351 if (!buf) in register_local_shm()
356 free(buf); in register_local_shm()
360 data.addr = (uintptr_t)buf; in register_local_shm()
366 free(buf); in register_local_shm()
370 shm->p = buf; in register_local_shm()
A Drpmb.c250 uint8_t buf[EMU_RPMB_SIZE_BYTES]; member
390 memptr = mem->buf + start + i * 256; in ioctl_emu_mem_transfer()
407 dump_blocks(mem->last_op.address, nfrm, mem->buf + start, to_mmc); in ioctl_emu_mem_transfer()
/optee_client/libteec/src/
A Dtee_client_api.c151 data.addr = (uintptr_t)buf; in teec_shm_register()
610 } buf; in TEEC_OpenSession() local
614 memset(&buf, 0, sizeof(buf)); in TEEC_OpenSession()
624 buf_data.buf_ptr = (uintptr_t)&buf; in TEEC_OpenSession()
625 buf_data.buf_len = sizeof(buf); in TEEC_OpenSession()
627 arg = &buf.arg; in TEEC_OpenSession()
692 } buf; in TEEC_InvokeCommand() local
696 memset(&buf, 0, sizeof(buf)); in TEEC_InvokeCommand()
708 buf_data.buf_ptr = (uintptr_t)&buf; in TEEC_InvokeCommand()
709 buf_data.buf_len = sizeof(buf); in TEEC_InvokeCommand()
[all …]

Completed in 18 milliseconds