Function sev::sev_inject_launch_secret
source · #[no_mangle]
pub unsafe extern "C" fn sev_inject_launch_secret(
vm_fd: c_int,
header_bytes: *const c_uchar,
ct_bytes: *const c_uchar,
ct_size: u32,
paddr: *const c_void,
fw_err: *mut c_int
) -> c_int
Expand description
A C FFI interface to the SEV_LAUNCH_SECRET ioctl.
§Safety
The caller of this function is responsible for ensuring that the pointer arguments are valid.