Skip to main content

inner_tbs

Function inner_tbs 

Source
pub fn inner_tbs(
    ed_kid: Vec<u8>,
    payload: &[u8],
    external_aad: &[u8],
    hybrid: bool,
) -> Vec<u8> ⓘ
Expand description

Compute the inner EdDSA layer’s detached to-be-signed bytes.

hybrid MUST match the composite mode the caller will assemble: when true the hybrid-composite alg-id is bound into the external_aad (#278), making the inner TBS byte-distinct from a Classical one. Pass false for a Classical-only composite.