Home
last modified time | relevance | path

Searched refs:params (Results 1 – 16 of 16) sorted by relevance

/optee_client/tee-supplicant/src/
A Dtee_supp_fs.c180 params[2].a = fd; in ree_fs_new_open()
259 params[2].a = fd; in ree_fs_new_create()
273 fd = params[0].b; in ree_fs_new_close()
298 fd = params[0].b; in ree_fs_new_read()
299 offs = params[0].c; in ree_fs_new_read()
342 fd = params[0].b; in ree_fs_new_write()
343 offs = params[0].c; in ree_fs_new_write()
377 fd = params[0].b; in ree_fs_new_truncate()
378 len = params[0].c; in ree_fs_new_truncate()
540 params[2].a = handle; in ree_fs_new_opendir()
[all …]
A Dtee_socket.c280 port = params[1].a; in tee_socket_open()
281 protocol = params[1].b; in tee_socket_open()
282 ip_vers = params[1].c; in tee_socket_open()
298 params[3].a = handle; in tee_socket_open()
314 handle = params[0].c; in tee_socket_close()
483 handle = params[0].c; in tee_socket_send()
492 params[2].b = bytes; in tee_socket_send()
622 handle = params[0].c; in tee_socket_recv()
798 handle = params[0].c; in tee_socket_ioctl()
799 command = params[2].a; in tee_socket_ioctl()
[all …]
A Dprof.c44 TEEC_Result prof_process(size_t num_params, struct tee_ioctl_param *params, in prof_process() argument
59 (params[0].attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) != in prof_process()
61 (params[1].attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) != in prof_process()
63 (params[2].attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) != in prof_process()
67 id = params[0].a; in prof_process()
69 if (MEMREF_SIZE(params + 1) != sizeof(TEEC_UUID)) in prof_process()
72 u = tee_supp_param_to_va(params + 1); in prof_process()
76 buf = tee_supp_param_to_va(params + 2); in prof_process()
80 bufsize = MEMREF_SIZE(params + 2); in prof_process()
123 params[0].a = id; in prof_process()
A Dplugin.c186 (params[0].attr & TEE_IOCTL_PARAM_ATTR_TYPE_MASK) != in plugin_process()
196 uuid_words[0] = params[0].b; in plugin_process()
197 uuid_words[1] = params[0].c; in plugin_process()
198 uuid_words[2] = params[1].a; in plugin_process()
199 uuid_words[3] = params[1].b; in plugin_process()
203 cmd = params[1].c; in plugin_process()
204 sub_cmd = params[2].a; in plugin_process()
206 data = tee_supp_param_to_va(params + 3); in plugin_process()
207 data_len = MEMREF_SIZE(params + 3); in plugin_process()
212 switch (params[0].a) { in plugin_process()
[all …]
A Dtee_supplicant.c151 *value = (void *)&params[idx].a; in get_value()
252 sz = MEMREF_SIZE(params + idx); in get_param()
253 offs = MEMREF_SHM_OFFS(params + idx); in get_param()
261 shm->id = MEMREF_SHM_ID(params + idx); in get_param()
299 MEMREF_SIZE(params + 1) = size; in load_ta()
378 struct tee_ioctl_param *params) in process_alloc() argument
553 *params = p + n; in find_params()
600 struct tee_ioctl_param *params = NULL; in process_one_request() local
627 ret = load_ta(num_params, params); in process_one_request()
633 ret = process_rpmb(num_params, params); in process_one_request()
[all …]
A Dtee_socket.h37 struct tee_ioctl_param *params);
40 struct tee_ioctl_param *params) in tee_socket_process() argument
43 (void)params; in tee_socket_process()
A Dprof.h37 TEEC_Result prof_process(size_t num_params, struct tee_ioctl_param *params,
43 struct tee_ioctl_param *params, in prof_process() argument
47 (void)params; in prof_process()
A Dplugin.h32 TEEC_Result plugin_process(size_t num_params, struct tee_ioctl_param *params);
40 struct tee_ioctl_param *params) in plugin_process() argument
43 (void)params; in plugin_process()
A Dtee_supp_fs.h35 struct tee_ioctl_param *params);
/optee_client/libseteec/src/
A Dse.c71 op.params[0].value.a = cmd; in do_scp03()
134 op.params[0].value.a = type; in se_apdu_request()
135 op.params[1].tmpref.buffer = hdr; in se_apdu_request()
136 op.params[1].tmpref.size = hdr_len; in se_apdu_request()
137 op.params[2].tmpref.buffer = src; in se_apdu_request()
138 op.params[2].tmpref.size = src_len; in se_apdu_request()
139 op.params[3].tmpref.buffer = dst; in se_apdu_request()
140 op.params[3].tmpref.size = *dst_len; in se_apdu_request()
146 *dst_len = op.params[3].tmpref.size; in se_apdu_request()
/optee_client/libckteec/src/
A Dinvoke_ta.c143 op.params[0].memref.parent = ctrl; in ckteec_invoke_ta()
148 op.params[0].tmpref.buffer = &ta_rc; in ckteec_invoke_ta()
149 op.params[0].tmpref.size = sizeof(ta_rc); in ckteec_invoke_ta()
154 op.params[1].memref.parent = io1; in ckteec_invoke_ta()
159 op.params[2].memref.parent = io2; in ckteec_invoke_ta()
164 op.params[3].memref.parent = io3; in ckteec_invoke_ta()
190 *out2_size = op.params[2].memref.size; in ckteec_invoke_ta()
192 *out3_size = op.params[3].memref.size; in ckteec_invoke_ta()
207 op.params[0].tmpref.buffer = &status; in ping_ta()
208 op.params[0].tmpref.size = sizeof(status); in ping_ta()
[all …]
A Dserialize_ck.c484 CK_RSA_PKCS_PSS_PARAMS *params = mecha->pParameter; in serialize_mecha_rsa_pss_param() local
488 if (mecha->ulParameterLen != sizeof(*params)) in serialize_mecha_rsa_pss_param()
499 rv = serialize_ck_ulong(obj, params->hashAlg); in serialize_mecha_rsa_pss_param()
503 rv = serialize_ck_ulong(obj, params->mgf); in serialize_mecha_rsa_pss_param()
507 return serialize_ck_ulong(obj, params->sLen); in serialize_mecha_rsa_pss_param()
517 if (mecha->ulParameterLen != sizeof(*params)) in serialize_mecha_rsa_oaep_param()
528 rv = serialize_ck_ulong(obj, params->hashAlg); in serialize_mecha_rsa_oaep_param()
532 rv = serialize_ck_ulong(obj, params->mgf); in serialize_mecha_rsa_oaep_param()
536 rv = serialize_ck_ulong(obj, params->source); in serialize_mecha_rsa_oaep_param()
544 return serialize_buffer(obj, params->pSourceData, in serialize_mecha_rsa_oaep_param()
[all …]
/optee_client/libteec/src/
A Dtee_client_api.c356 params[n].attr = param_type; in teec_pre_process_operation()
362 params[n].a = operation->params[n].value.a; in teec_pre_process_operation()
363 params[n].b = operation->params[n].value.b; in teec_pre_process_operation()
369 &operation->params[n].tmpref, params + n, in teec_pre_process_operation()
377 params + n); in teec_pre_process_operation()
385 &operation->params[n].memref, params + n); in teec_pre_process_operation()
470 operation->params[n].value.a = params[n].a; in teec_post_process_operation()
471 operation->params[n].value.b = params[n].b; in teec_post_process_operation()
477 &operation->params[n].tmpref, params + n, in teec_post_process_operation()
482 params + n); in teec_post_process_operation()
[all …]
A Dteec_benchmark.c111 *paddr_ts_buf = op.params[0].value.a; in benchmark_get_bench_buf_paddr()
112 *size = op.params[0].value.b; in benchmark_get_bench_buf_paddr()
/optee_client/libteec/include/linux/
A Dtee.h233 struct tee_ioctl_param params[]; member
264 struct tee_ioctl_param params[]; member
319 struct tee_ioctl_param params[]; member
340 struct tee_ioctl_param params[]; member
/optee_client/public/
A Dtee_client_api.h407 TEEC_Parameter params[TEEC_CONFIG_PAYLOAD_REF_COUNT]; member

Completed in 26 milliseconds