Skip to main content

sign_agency_root_dual

Function sign_agency_root_dual 

Source
pub fn sign_agency_root_dual(
    mldsa_sk: &[u8; 4032],
    ed25519_seed: &[u8; 32],
    sub_root_hash: &[u8; 32],
    out: &mut DualProof,
) -> Result<(), AgencyError>
Expand description

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

Produces both post-quantum and classical signatures over the identical Merkle sub-root. Zero heap allocations.