Skip to main content

HYBRID_COMPOSITE_ALG_ID

Constant HYBRID_COMPOSITE_ALG_ID 

pub const HYBRID_COMPOSITE_ALG_ID: &'static [u8];
Expand description

Stable composite/hybrid algorithm identifier for the EdDSA + ML-DSA-65 component pair signed by this nested construction.

Bound into the COSE external_aad of BOTH layers in Hybrid mode so that the inner EdDSA Sig_structure becomes byte-distinct from a Classical-mode one (signature-level non-separability, see this module’s docs and #278).

Value: the ASCII bytes of the registered composite-signature name id-MLDSA65-Ed25519 from draft-ietf-lamps-pq-composite-sigs (the LAMPS composite that pairs ML-DSA-65 with Ed25519). We bind a deterministic, human-auditable label rather than an integer OID-arc to keep the AAD self-describing on the wire and avoid depending on a not-yet-final IANA COSE code-point allocation. It is a fixed constant: changing it is a wire-breaking change that both signer and verifier must adopt together.