Skip to main content

verify_arrived_range

Function verify_arrived_range 

Source
pub fn verify_arrived_range(
    req: &HmcRangeRequest,
    arrived_bytes: &[u8],
) -> Result<(), BundleError>
Expand description

Verify an arrived byte range against its HmcRangeRequest integrity digest (SHA-256 and/or CRC-32C).