Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 11 of 11) sorted by relevance

/optee_client/tee-supplicant/src/
A Dhandle.c113 void *handle_put(struct handle_db *db, int handle) in handle_put() argument
117 if (!db || handle < 0) in handle_put()
122 if ((size_t)handle >= db->max_ptrs) { in handle_put()
127 p = db->ptrs[handle]; in handle_put()
128 db->ptrs[handle] = NULL; in handle_put()
135 void *handle_lookup(struct handle_db *db, int handle) in handle_lookup() argument
139 if (!db || handle < 0) in handle_lookup()
144 if ((size_t)handle >= db->max_ptrs) { in handle_lookup()
149 p = db->ptrs[handle]; in handle_lookup()
157 void (*cb)(int handle, void *ptr, void *arg), in handle_foreach_put() argument
A Dhandle.h69 void *handle_put(struct handle_db *db, int handle);
76 void *handle_lookup(struct handle_db *db, int handle);
79 void (*cb)(int handle, void *ptr, void *arg),
A Dtee_socket.c123 int handle = -1; in sock_handle_get() local
140 return handle; in sock_handle_get()
264 int handle = 0; in tee_socket_open() local
293 if (handle < 0) { in tee_socket_open()
298 params[3].a = handle; in tee_socket_open()
305 int handle = 0; in tee_socket_close() local
314 handle = params[0].c; in tee_socket_close()
470 int handle = 0; in tee_socket_send() local
483 handle = params[0].c; in tee_socket_send()
609 int handle = 0; in tee_socket_recv() local
[all …]
A Dplugin.c76 void *handle = NULL; in load_plugin() local
79 handle = dlopen(name, RTLD_LAZY); in load_plugin()
80 if (!handle) in load_plugin()
83 p->handle = handle; in load_plugin()
85 m = (struct plugin_method *)dlsym(handle, "plugin_method"); in load_plugin()
A Dplugin.h17 void *handle; member
A Dtee_supp_fs.c485 int handle = 0; in ree_fs_new_opendir() local
534 handle = handle_get(&dir_handle_db, dir); in ree_fs_new_opendir()
535 if (handle < 0) { in ree_fs_new_opendir()
540 params[2].a = handle; in ree_fs_new_opendir()
/optee_client/libckteec/src/
A Dpkcs11_processing.h81 CK_OBJECT_HANDLE_PTR handle);
112 CK_OBJECT_HANDLE_PTR handle);
116 CK_ULONG count, CK_OBJECT_HANDLE_PTR handle);
137 CK_ULONG count, CK_OBJECT_HANDLE_PTR handle);
A Dpkcs11_processing.c19 CK_ULONG count, CK_OBJECT_HANDLE_PTR handle) in ck_create_object() argument
31 if (!handle || !attribs || !count) in ck_create_object()
70 *handle = key_handle; in ck_create_object()
874 CK_OBJECT_HANDLE_PTR handle) in ck_generate_key() argument
938 *handle = key_handle; in ck_generate_key()
1251 CK_OBJECT_HANDLE_PTR handle) in ck_copy_object() argument
1264 if (!handle || (count && !attribs)) in ck_copy_object()
1306 *handle = key_handle; in ck_copy_object()
1321 CK_OBJECT_HANDLE_PTR handle) in ck_derive_key() argument
1390 *handle = key_handle; in ck_derive_key()
[all …]
A Dpkcs11_token.c401 uint32_t handle = 0; in ck_open_session() local
425 out = ckteec_alloc_shm(sizeof(handle), CKTEEC_SHM_OUT); in ck_open_session()
439 memcpy(&handle, out->buffer, sizeof(handle)); in ck_open_session()
440 *session = handle; in ck_open_session()
/optee_client/tee-supplicant/
A DMakefile21 handle.c
A DCMakeLists.txt28 src/handle.c

Completed in 19 milliseconds