Function crypto::verify_raw
zaun_community_protocol::crypto::verify_raw · Function
pub fn verify_raw(pk: &[u8], sig: &[u8], ctx: &[u8], message: &[u8]) -> Result<(), VerifyError>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
Section titled “Errors”VerifyError for malformed input or when either component fails.