Skip to main content

outer_tbs

Function outer_tbs 

pub fn outer_tbs(
    pq_kid: Vec<u8>,
    payload: &[u8],
    inner_eddsa_sig: &[u8],
    external_aad: &[u8],
) -> Vec<u8> ⓘ
Expand description

Compute the outer ML-DSA-65 layer’s detached to-be-signed bytes over payload ‖ inner_eddsa_signature (the inner→outer binding).

The outer layer only exists in Hybrid mode, so the hybrid-composite alg-id is always bound into its external_aad (#278) — symmetric with inner_tbs called with hybrid = true.