Skip to main content

sign_id_block_with_temp_key

Function sign_id_block_with_temp_key 

Source
fn sign_id_block_with_temp_key(
    id_block: &SnpPspIdBlock,
) -> Result<(IGVM_VHS_SNP_ID_BLOCK_SIGNATURE, IGVM_VHS_SNP_ID_BLOCK_PUBLIC_KEY), Error>
Expand description

Generate a temporary ECDSA P-384 key pair using the selected crypto backend, sign the SHA-384 hash of the ID block, and return the signature

  • public key in the format expected by IGVM_VHS_SNP_ID_BLOCK.