Skip to main content

verify_raw

Function verify_raw 

Source
pub fn verify_raw(
    pk: &[u8],
    sig: &[u8],
    ctx: &[u8],
    message: &[u8],
) -> Result<(), VerifyError>
Expand description

RFC 10073 id-MLDSA65-Ed25519-SHA512 verification over raw components (no suite byte): pk = mldsaPK ‖ edPK (1 984 B), sig = mldsaSig ‖ edSig (3 373 B), any ctx ≤ 255 B. Both components are always checked. Protocol code uses verify; this exists for the RFC test vectors, whose ctx is not a protocol context.

§Errors

VerifyError for malformed input or when either component fails.