Skip to main content

CNSA1

Constant CNSA1 

Source
pub const CNSA1: ProfileSpec;
Expand description

cnsa1: the CNSA 1.0 algorithm set of CNSSP 15 (20 October 2016), Annex B (p. B-1), in the TLS 1.2 and 1.3 profile of RFC 9151 (April 2022). Transition dates: CNSSP 15 (December 2024) ¶18 (pp. 7-8).

  • AES-256, ECDH and ECDSA on P-384, SHA-384, RSA of at least 3072 bits: CNSSP 15 (2016) Annex B ¶1 table, p. B-1.
  • TLS 1.3 and 1.2: RFC 9151 §5. The § references below are RFC 9151’s.
  • TLS_AES_256_GCM_SHA384: §7.
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: §6.
  • secp384r1: §5.1, §7.
  • ecdsa_secp384r1_sha384: §6.2, §7.1. rsa_pss_rsae_sha384: §6.2, §7.1. rsa_pkcs1_sha384: §6.2; TLS 1.2 only, §7.1.
  • Keys ECDSA P-384 with SHA-384 (§5.1); RSA 3072 and 4096 (§5.2).
  • Not implemented by the stack: TLS_RSA_WITH_AES_256_GCM_SHA384 and TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (§6), ffdhe3072 and ffdhe4096 (§5.3, §7).
  • MACs: hash “Use SHA-384”, Annex B p. B-1; RFC 9151 §4 (SHA-384 for the TLS 1.2 PRF and the TLS 1.3 HKDF). Options::cnsa1_unclassified_nss adds HMAC-SHA256 under ¶2b (p. B-2).
  • KDFs: hash “Use SHA-384”, Annex B p. B-1; RFC 9151 §4 (HKDF with SHA-384 in TLS 1.3). Options::cnsa1_unclassified_nss adds HKDF-SHA256 under ¶2b (p. B-2). No one-step KDF: RFC 9151 §4 reaches HKDF only.
  • Key agreement: ECDH on P-384, Annex B ¶1 table (p. B-1). Options::cnsa1_unclassified_nss does not widen it: ¶2b (p. B-2) requires NSA consultation for any other curve.
  • AEADs: AES-256-GCM. Annex B ¶1 table (p. B-1), AES “Use 256 bit keys”; RFC 9151 §4 (AES-256 in GCM). Options::cnsa1_unclassified_nss does not widen it: ¶2b (p. B-2) names RSA, DH and SHA-256 only.
  • Hashes: SHA-384. Annex B ¶1 table (p. B-1), “Use SHA-384 to protect up to TOP SECRET”. Options::cnsa1_unclassified_nss adds SHA-256 under ¶2b (p. B-2), “SHA-256 in the near term”. SHA-512 and SHA3 excluded: the edition names neither (decision 0008).
  • Signatures: ECDSA P-384 with SHA-384, then RSA 4096 and 3072 with PSS, then with PKCS#1 v1.5. Annex B ¶1 table (p. B-1): ECDSA “Use Curve P-384”, RSA “Minimum 3072 bit-modulus”, both under FIPS 186-4, whose §5.5 (p. 24) approves both paddings. Options::cnsa1_unclassified_nss adds RSA 2048 with PSS and with PKCS#1 v1.5 under ¶2b (p. B-2), “RSA … at the 2048 bit level”; not ECDSA P-256: ¶2b requires NSA consultation for curves other than P-384.