Home
last modified time | relevance | path

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

/optee_client-3.20.0/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-3.20.0/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.c318 uint8_t *buf = NULL; in ree_fs_new_read() local
335 buf = tee_supp_param_to_va(params + 1); in ree_fs_new_read()
336 if (!buf) in ree_fs_new_read()
343 r = pread(fd, buf, len, offs); in ree_fs_new_read()
350 buf += r; in ree_fs_new_read()
363 uint8_t *buf = NULL; in ree_fs_new_write() local
380 if (!buf) in ree_fs_new_write()
385 r = pwrite(fd, buf, len, offs); in ree_fs_new_write()
392 buf += r; in ree_fs_new_write()
601 char *buf = NULL; in ree_fs_new_readdir() local
[all …]
A Drpmb.c288 char buf[255] = { 0 }; in read_mmc_sysfs_hex() local
289 char *endp = buf; in read_mmc_sysfs_hex()
302 ret = readn(fd, buf, sizeof(buf)); in read_mmc_sysfs_hex()
310 *value = strtol(buf, &endp, 16); in read_mmc_sysfs_hex()
311 if (errno || endp == buf) in read_mmc_sysfs_hex()
405 uint8_t buf[EMU_RPMB_SIZE_BYTES]; member
545 memptr = mem->buf + start + i * 256; in ioctl_emu_mem_transfer()
562 dump_blocks(mem->last_op.address, nfrm, mem->buf + start, to_mmc); in ioctl_emu_mem_transfer()
A Dtee_supplicant.c74 uint64_t buf[(RPC_BUF_SIZE - 1) / sizeof(uint64_t) + 1]; member
355 void *buf = NULL; in register_local_shm() local
360 buf = paged_aligned_alloc(size); in register_local_shm()
361 if (!buf) in register_local_shm()
366 free(buf); in register_local_shm()
370 data.addr = (uintptr_t)buf; in register_local_shm()
376 free(buf); in register_local_shm()
380 shm->p = buf; in register_local_shm()
/optee_client-3.20.0/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