Skip to main content

CNSA2

Constant CNSA2 

Source
pub const CNSA2: ProfileSpec;
Expand description

cnsa2: the CNSA 2.0 algorithm set of CNSSP 15 (December 2024), Annex B, pp. B-1 to B-2, on TLS 1.3. No CNSA 2.0 TLS profile is published: CNSSP 15 ¶8a, footnote 1 (p. 5).

  • ML-KEM-1024: Annex B ¶1 table, p. B-1.
  • ML-DSA-87 scheme and key: Annex B ¶1 table, p. B-1.
  • TLS_AES_256_GCM_SHA384: Annex B ¶1 table, p. B-1.
  • TLS 1.3 only: ML-KEM-1024 is the set’s only key establishment (Annex B ¶1 table, p. B-1); TLS 1.2 key exchange is ECDHE or FFDHE (RFC 8422, RFC 7919).
  • MACs: hash “SHA-384 or SHA-512”, Annex B p. B-1; protocol guidance RFC 9206 and RFC 9151, ¶8a and fn. 1 (p. 5); RFC 9206 §4 (SHA-384 “for all purposes”) and §8 (PRF_HMAC_SHA2_384 or PRF_HMAC_SHA2_512 only).
  • KDFs: CNSSP 15 names no KDF. ¶8a (p. 5) names RFC 9151, whose §4 approves SHA-384 for HKDF in TLS 1.3; Annex B (p. B-1) admits SHA-384 and SHA-512. Decision 0010. No one-step KDF: RFC 9151 §4 reaches HKDF only.
  • No key agreement outside TLS: Annex B ¶1 table (p. B-1) lists ML-KEM-1024 as the only key establishment.
  • AEADs: AES-256-GCM. Annex B ¶1 table (p. B-1), AES “Use 256 bit keys”; the mode through ¶8a and fn. 1 (p. 5): RFC 9151 §4 (AES-256 in GCM) and RFC 9206.
  • Hashes: SHA-384, SHA-512, in the MAC and KDF order. Annex B ¶1 table (p. B-1), “Use SHA-384 or SHA-512 to protect up to TOP SECRET”; Annex B governs over RFC 9206 §4’s SHA-384 only, which fn. 1 (p. 5) says “will need to be updated for CNSA 2.0”. SHA3 excluded: SHA3-384 or SHA3-512 “allowed for internal hardware functionality (e.g. boot-up integrity checks) only” (p. B-2).
  • Signatures: ML-DSA-87, Annex B ¶1 table (p. B-1), “ML-DSA-87 to protect up to TOP SECRET”.