Skip to main content

verify_human_agency_dual

Function verify_human_agency_dual 

Source
pub fn verify_human_agency_dual(
    frame: &[NQuin],
    author_did: u64,
    ed25519_pk: &[u8; 32],
    mldsa_pk: &[u8; 1952],
    proof: &DualProof,
) -> Result<(), AgencyError>
Expand description

Verify an Author-Scoped Merkle Sub-Root with hybrid DualProof (ML-DSA-65 + Ed25519).

Both signatures must verify mathematically over the recomputed Merkle sub-root. If either fails, the transaction is rejected. Guaranteed zero heap allocations in hot path.