Skip to main content

sign_agency_root_pq

Function sign_agency_root_pq 

Source
pub fn sign_agency_root_pq(
    signing_key: &[u8; 4032],
    sub_root_hash: &[u8; 32],
    out_sig: &mut [u8; 3309],
) -> Result<(), AgencyError>
Expand description

Sign an Author-Scoped Merkle Sub-Root with post-quantum ML-DSA-65 (FIPS-204).

Caller supplies the fixed-size 3309-byte output buffer for the signature. Zero heap allocations.