Remix.run Logo
▲ adrian_b 5 hours ago

TIL:

Previously I had not read completely the specification of the "Commercial National Security Algorithm Suite 2", which is promoted by NSA, and mandatory for "National Security Systems".

While the post-quantum algorithms endorsed by NSA were frequently discussed, I did not pay attention to which of the traditional algorithms are still allowed by CNSA 2.0.

The permitted classic algorithms are AES-256, SHA-384 and SHA-512.

All other older or weaker algorithms are deprecated (with a couple of exceptions where SHA-256 or SHA-192 are allowed only inside a certain specific algorithm, not for general use).

Notably, SHA3 is not among the permitted algorithms, though NSA says that perhaps in the future it might be added to those.

▲merksittich 3 hours ago | parent | next [-]

From the accompanying PDF [1]:

> algorithms not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography).

I find the term "immediate transition" used in the advisory highly unusual for a government entity such as the NSA. Is the NSA telling us something while trying to avoid singling out any particular algorithm?

[1] https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA...

▲adrian_b 3 hours ago | parent | next [-]

For elliptic curves the deprecation criteria was the size, i.e. sizes smaller than 384-bit, not other reasons.

Similarly, where RSA is still allowed temporarily for signing new certificates, it must be at least 3072-bit.

▲kccqzy 3 hours ago | parent | prev [-]

It’s interesting that they still don’t approve EdDSA.

▲sorrycharlie an hour ago | parent [-]

Why? It is an ECC algorithm. Same weakness as any ecc.

▲cyphar an hour ago | parent [-]

They still permit P-384 and P-521 in "certain applications".

Curve25519 and Curve448 are far less prone to implementation bugs so it's always been a little weird that the US government dragged their feet on approving them in FIPS and other standards. I also recently discovered that neither PKCS#11 nor TPM2 support deterministic ECDSA, so you are stuck with the risk of catastrophic key exposure if you use hardware keys with ECDSA!

▲sorrycharlie an hour ago | parent | prev | next [-]

Sha3 is what ML algorithms use. More specifically the Keccak sponge underneath sha3 and shake. Sha3 is not intended for general purpose hashing.

▲viraptor an hour ago | parent [-]

From the very beginning it's planned for general use.

> however, it is intended that SHA-3 can be directly substituted for SHA-2 in current applications, and will significantly improve the robustness of NIST's overall hash algorithm toolkit

https://csrc.nist.gov/news/2007/request-for-candidate-algori...

▲ca34t 2 hours ago | parent | prev [-]

[dead]