Skip to main content

inner_tbs_pq_bound

Function inner_tbs_pq_bound 

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

inner_tbs for a composite whose inner layer commits to the ML-DSA-65 key above it (see PQ_BINDING_HEADER_LABEL).

pq_kid MUST be the same value passed to outer_tbs and to assemble_composite_nested_pq_bound; the resulting composite is rejected if the inner commitment and the outer kid disagree.