Home
last modified time | relevance | path

Searched refs:inv_arg (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/security/keys/trusted-keys/
Dtrusted_tee.c66 struct tee_ioctl_invoke_arg inv_arg; in trusted_tee_seal() local
70 memset(&inv_arg, 0, sizeof(inv_arg)); in trusted_tee_seal()
88 inv_arg.func = TA_CMD_SEAL; in trusted_tee_seal()
89 inv_arg.session = pvt_data.session_id; in trusted_tee_seal()
90 inv_arg.num_params = 4; in trusted_tee_seal()
101 ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); in trusted_tee_seal()
102 if ((ret < 0) || (inv_arg.ret != 0)) { in trusted_tee_seal()
104 inv_arg.ret); in trusted_tee_seal()
125 struct tee_ioctl_invoke_arg inv_arg; in trusted_tee_unseal() local
129 memset(&inv_arg, 0, sizeof(inv_arg)); in trusted_tee_unseal()
[all …]
/linux-6.1.9/drivers/rtc/
Drtc-optee.c58 struct tee_ioctl_invoke_arg inv_arg = {0}; in optee_rtc_readtime() local
63 inv_arg.func = TA_CMD_RTC_GET_TIME; in optee_rtc_readtime()
64 inv_arg.session = priv->session_id; in optee_rtc_readtime()
65 inv_arg.num_params = 4; in optee_rtc_readtime()
72 ret = tee_client_invoke_func(priv->ctx, &inv_arg, param); in optee_rtc_readtime()
73 if (ret < 0 || inv_arg.ret != 0) in optee_rtc_readtime()
98 struct tee_ioctl_invoke_arg inv_arg = {0}; in optee_rtc_settime() local
112 inv_arg.func = TA_CMD_RTC_SET_TIME; in optee_rtc_settime()
113 inv_arg.session = priv->session_id; in optee_rtc_settime()
114 inv_arg.num_params = 4; in optee_rtc_settime()
[all …]
/linux-6.1.9/drivers/char/hw_random/
Doptee-rng.c79 struct tee_ioctl_invoke_arg inv_arg; in get_optee_rng_data() local
82 memset(&inv_arg, 0, sizeof(inv_arg)); in get_optee_rng_data()
86 inv_arg.func = TA_CMD_GET_ENTROPY; in get_optee_rng_data()
87 inv_arg.session = pvt_data->session_id; in get_optee_rng_data()
88 inv_arg.num_params = 4; in get_optee_rng_data()
96 ret = tee_client_invoke_func(pvt_data->ctx, &inv_arg, param); in get_optee_rng_data()
97 if ((ret < 0) || (inv_arg.ret != 0)) { in get_optee_rng_data()
99 inv_arg.ret); in get_optee_rng_data()
179 struct tee_ioctl_invoke_arg inv_arg; in get_optee_rng_info() local
182 memset(&inv_arg, 0, sizeof(inv_arg)); in get_optee_rng_info()
[all …]
/linux-6.1.9/drivers/tee/optee/
Ddevice.c27 struct tee_ioctl_invoke_arg inv_arg; in get_devices() local
30 memset(&inv_arg, 0, sizeof(inv_arg)); in get_devices()
33 inv_arg.func = func; in get_devices()
34 inv_arg.session = session; in get_devices()
35 inv_arg.num_params = 4; in get_devices()
43 ret = tee_client_invoke_func(ctx, &inv_arg, param); in get_devices()
44 if ((ret < 0) || ((inv_arg.ret != TEEC_SUCCESS) && in get_devices()
45 (inv_arg.ret != TEEC_ERROR_SHORT_BUFFER))) { in get_devices()
47 inv_arg.ret); in get_devices()