Lines Matching refs:inv_arg
66 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()
127 inv_arg.func = TA_CMD_UNSEAL; in trusted_tee_unseal()
128 inv_arg.session = pvt_data.session_id; in trusted_tee_unseal()
129 inv_arg.num_params = 4; in trusted_tee_unseal()
140 ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); in trusted_tee_unseal()
141 if ((ret < 0) || (inv_arg.ret != 0)) { in trusted_tee_unseal()
143 inv_arg.ret); in trusted_tee_unseal()
160 struct tee_ioctl_invoke_arg inv_arg; in trusted_tee_get_random() local
164 memset(&inv_arg, 0, sizeof(inv_arg)); in trusted_tee_get_random()
173 inv_arg.func = TA_CMD_GET_RANDOM; in trusted_tee_get_random()
174 inv_arg.session = pvt_data.session_id; in trusted_tee_get_random()
175 inv_arg.num_params = 4; in trusted_tee_get_random()
182 ret = tee_client_invoke_func(pvt_data.ctx, &inv_arg, param); in trusted_tee_get_random()
183 if ((ret < 0) || (inv_arg.ret != 0)) { in trusted_tee_get_random()
185 inv_arg.ret); in trusted_tee_get_random()