pub fn new(
        id_block: Option<&'a [u8]>,
        id_auth: Option<&'b [u8]>,
        host_data: [u8; KVM_SEV_SNP_FINISH_DATA_SIZE],
    ) -> Self {
        Self {
            id_block,
            id_auth,
            id_block_en: id_block.is_some(),
            auth_key_en: id_auth.is_some(),
            host_data,
        }
    }
/// Encapsulate all data needed for the SNP_LAUNCH_FINISH ioctl.
Encapsulate all data needed for the SNP_LAUNCH_FINISH ioctl.
Encapsulate all data needed for the SNP_LAUNCH_FINISH ioctl .
pub fn new(
        id_block: Option<&'a [u8]>,
        id_auth: Option<&'b [u8]>,
        host_data: [u8; KVM_SEV_SNP_FINISH_DATA_SIZE],
    ) -> Self {
        Self {
            id_block,
            id_auth,
            id_block_en: id_block.is_some(),
            auth_key_en: id_auth.is_some(),
            host_data,
        }
    }
pub fn new ( id_block : Option < & ' a [ u8 ] > , id_auth : Option < & ' b [ u8 ] > , host_data : [ u8 ; KVM_SEV_SNP_FINISH_DATA_SIZE ] , ) -> Self { Self { id_block , id_auth , id_block_en : id_block . is_some ( ) , auth_key_en : id_auth . is_some ( ) , host_data , } }
Encapsulate all data needed for the SNP_LAUNCH_FINISH ioctl.
Encapsulate all data needed for the SNP_LAUNCH_FINISH ioctl .
id_block
Option<&'a [u8]>
id_auth
Option<&'b [u8]>
host_data
[u8; KVM_SEV_SNP_FINISH_DATA_SIZE]