Skip to main content

verify_dual_signature

Function verify_dual_signature 

Source
pub fn verify_dual_signature(
    mldsa_pk: &[u8; 1952],
    ed25519_pk: &[u8; 32],
    message: &[u8],
    context: &[u8],
    proof: &DualProof,
) -> bool
Expand description

Verify a hybrid DualProof (ML-DSA-65 + Ed25519) digital signature over a message.

Both signatures must verify over the identical message and context bytes. Hot-path guarantee: operates on fixed-size byte references with zero heap allocation.