Home
last modified time | relevance | path

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

/linux/security/keys/trusted-keys/
H A 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()
80 inv_arg.func = TA_CMD_SEAL; in trusted_tee_seal()
81 inv_arg.session = pvt_data.session_id; in trusted_tee_seal()
82 inv_arg.num_params = 4; in trusted_tee_seal()
93 ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); in trusted_tee_seal()
94 if ((ret < 0) || (inv_arg.ret != 0)) { in trusted_tee_seal()
96 inv_arg.ret); in trusted_tee_seal()
113 struct tee_ioctl_invoke_arg inv_arg; in trusted_tee_unseal() local
117 memset(&inv_arg, 0, sizeof(inv_arg)); in trusted_tee_unseal()
[all …]
/linux/drivers/rtc/
H A 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/drivers/char/hw_random/
H A 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/drivers/tee/optee/
H A 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()
51 if (inv_arg.ret == TEE_ERROR_STORAGE_NOT_AVAILABLE) in get_devices()
54 inv_arg.ret); in get_devices()