Searched refs:uvio_attest (Results 1 – 3 of 3) sorted by relevance
35 u8 *meas, u8 *add_data, struct uvio_attest *uvio_attest) in uvio_build_uvcb_attest() argument37 void __user *user_buf_arcb = (void __user *)uvio_attest->arcb_addr; in uvio_build_uvcb_attest()39 if (copy_from_user(arcb, user_buf_arcb, uvio_attest->arcb_len)) in uvio_build_uvcb_attest()46 uvcb_attest->user_data_len = uvio_attest->user_data_len; in uvio_build_uvcb_attest()47 memcpy(uvcb_attest->user_data, uvio_attest->user_data, sizeof(uvcb_attest->user_data)); in uvio_build_uvcb_attest()48 uvcb_attest->meas_len = uvio_attest->meas_len; in uvio_build_uvcb_attest()50 uvcb_attest->add_data_len = uvio_attest->add_data_len; in uvio_build_uvcb_attest()59 struct uvio_attest *uvio_attest) in uvio_copy_attest_result_to_user() argument61 struct uvio_attest __user *user_uvio_attest = (void __user *)uv_ioctl->argument_addr; in uvio_copy_attest_result_to_user()62 void __user *user_buf_add = (void __user *)uvio_attest->add_data_addr; in uvio_copy_attest_result_to_user()[all …]
35 .arg_size = sizeof(struct uvio_attest), in FIXTURE_VARIANT_ADD()155 struct uvio_attest uvio_attest; in FIXTURE() local164 self->uvio_ioctl.argument_addr = (__u64)&self->uvio_attest; in FIXTURE_SETUP()165 self->uvio_ioctl.argument_len = sizeof(self->uvio_attest); in FIXTURE_SETUP()167 self->uvio_attest.arcb_addr = (__u64)&self->attest_buffer.arcb; in FIXTURE_SETUP()168 self->uvio_attest.arcb_len = sizeof(self->attest_buffer.arcb); in FIXTURE_SETUP()170 self->uvio_attest.meas_addr = (__u64)&self->attest_buffer.meas; in FIXTURE_SETUP()171 self->uvio_attest.meas_len = sizeof(self->attest_buffer.meas); in FIXTURE_SETUP()173 self->uvio_attest.add_data_addr = (__u64)&self->attest_buffer.add; in FIXTURE_SETUP()174 self->uvio_attest.add_data_len = sizeof(self->attest_buffer.add); in FIXTURE_SETUP()[all …]
22 struct uvio_attest { struct