pub const BSI: ProfileSpec;Expand description
bsi: BSI TR-02102-2 (TLS) and TR-02102-1, version 2026-01.
- TLS 1.3 and TLS 1.2: TR-02102-2 §3.2, Table 2.
- TLS_AES_256_GCM_SHA384, TLS_AES_128_GCM_SHA256: TR-02102-2 §3.4.4, Table 13.
- ECDHE-ECDSA and ECDHE-RSA with AES-128-GCM and AES-256-GCM: TR-02102-2 §3.3.1.1, Table 3.
- secp384r1, secp256r1: TR-02102-2 Table 10 (TLS 1.3) and Table 6 (TLS 1.2).
- ecdsa_secp384r1_sha384, ecdsa_secp256r1_sha256, ecdsa_secp521r1_sha512 and rsa_pss_rsae with SHA-384, 512, 256: TR-02102-2 §3.4.3, Table 11; for TLS 1.2, the Table 7 note.
- rsa_pkcs1_* excluded: TR-02102-2 Table 7 and Table 12 notes.
- Keys ECDSA P-384/SHA-384, P-256/SHA-256, P-521/SHA-512: TR-02102-2 Table 12 and Table 14.
- RSA keys excluded: TR-02102-2 Table 12.
- ML-DSA excluded: TR-02102-1 §5.3.4.
- Hybrid groups excluded: TR-02102-2 Table 10 note.
- MACs: HMAC with a Table 4.1 hash (TR-02102-1 §5.2, pp. 49-50; Table 4.1, p. 47).
- KDFs: HKDF (RFC 5869) and the SP 800-56C two-step KDF, TR-02102-1 Table B.1 and §B.1.1 (p. 73), with a Table 4.1 hash (p. 47). The one-step KDF is not among them.
- No key agreement outside TLS: TR-02102-1 Table B.3 (p. 75) recommends only Brainpool curves, which no backend implements.
- AEADs: AES-256-GCM, AES-128-GCM. TR-02102-1 Table 3.1 (p. 40), Table 3.2 (p. 42), §3.1.2 (pp. 42-43). ChaCha20-Poly1305 excluded: §3.2 (p. 44), “no dedicated stream ciphers are recommended”.
- Hashes: SHA-512, SHA-384, SHA-256, SHA3-512, SHA3-384, SHA3-256. TR-02102-1 Table 4.1 (p. 47), “Recommended hash functions”.
- Signatures: RSA 4096 and 3072 with PSS. TR-02102-1 Table 5.4 (p. 52), EMSA-PSS; §5.3.1 (p. 52), a modulus of “at least 3000 bits”. PKCS#1 v1.5 excluded: §1.5 (p. 22), “not recommended to use this format in new systems, neither for encryption nor for signature generation”. ECDSA excluded: Table B.3 (p. 75) recommends only Brainpool curves, which no backend implements. ML-DSA excluded: §5.3.4 (p. 54), only “in combination with a classic signature scheme”, which the crate does not offer. Ed25519 excluded: not in Table 5.3 (p. 51).