Anthropic has released new quantum algorithms aimed at module lattices that do not compromise the integrity of lattice-based cryptography. While these developments prompt further examination of the theoretical security surrounding lattice systems, there are currently no practical attacks identified. For users employing ML-KEM, ML-DSA, or FN-DSA, immediate changes are unnecessary, as detailed in this FAQ.
Understanding the results
This section delves into the implications of Anthropic's announcement regarding quantum algorithms and their potential impact on lattice cryptography.
What happened?
The announcement from Anthropic introduces quantum algorithms that claim to solve abstract lattice cryptography challenges more efficiently than previously thought possible. This is causing concern among cryptographers since the systems relying on these challenges are already in use. The findings are asymptotic, indicating they enhance performance for exceedingly large input sizes, yet do not pose an immediate threat to the security of existing cryptographic systems.
Why should I care?
This section outlines the significance of the findings for different stakeholders in the cryptography field.
- If you are involved in cryptography research, this represents a new method of attack that warrants detailed analysis and exploration. It raises critical questions regarding the security of structured lattices against quantum computing.
- For those deploying post-quantum cryptography, this serves as a preliminary warning that future recommendations from standards bodies might change. However, there is no need for immediate concern.
- If you have no connection to cryptography, there is no need for alarm at this time.
What is the attack?
Lattices serve as mathematical constructs, and lattice cryptography examines both structured lattices, which possess special algebraic characteristics that enhance efficiency, and generic lattices, which lack such properties. The most effective attacks on lattice cryptography often overlook these unique structures, treating structured lattices as if they are as difficult to break as generic ones. According to the new research, a structured lattice defined by a power-of-two cyclotomic ring with a very high degree is actually easier to compromise, making it less secure than a comparably sized generic lattice. Standardized lattice schemes typically utilize power-of-two cyclotomic rings with fixed degrees of 256, 512, or 1024, which are significantly smaller than the extremely high degrees needed for this attack. Consequently, these asymptotic findings do not impact the security of the currently deployed parameters.
Standardization
This section discusses the implications of the findings on standardized algorithms and their security assessments.
Which NIST-standardized algorithms are potentially involved?
The algorithms ML-KEM (FIPS 203), ML-DSA (FIPS 204), and FN-DSA (FIPS 206) all utilize low-rank module lattices over power-of-two cyclotomic rings, making them susceptible to potential impacts from these findings. ML-KEM and ML-DSA are based on the Module LWE problem, while FN-DSA derives from the NTRU problem. Although these results do not invalidate these standardized algorithms, they necessitate a reevaluation of their key strengths in light of the new findings.
Does the result break the cryptography standards ML-KEM, ML-DSA, or FN-DSA?
Currently, they do not. While ML-KEM, ML-DSA, and FN-DSA incorporate module lattices of low rank over power-of-two cyclotomic rings, several additional factors must be considered. Concrete estimates of resources and parameters such as modulus value, error magnitude, and lattice rank significantly influence the success of an attack. Anthropic’s study explicitly states that their attacks are not feasible for the parameter sets associated with ML-KEM and ML-DSA. Nonetheless, because the described attack targets the same category of post-quantum algorithms standardized by NIST, there are concerns that improvements to the attack could affect these standardized algorithms.
Where are ML-KEM, ML-DSA, and FN-DSA used?
Despite being standardized relatively recently, ML-KEM has already been integrated into numerous large-scale systems. It is a component of TLS and is supported by most web servers and browsers, including Chrome and Safari. Additionally, ML-KEM frequently appears in post-quantum designs, such as the messaging protocols utilized by Signal and iMessage. OpenSSH also supports ML-KEM. Currently, there is no reason to believe that these new attacks significantly undermine the security of these applications.
ML-DSA and FN-DSA are beginning to gain support from libraries, but they have not been adopted in protocols as frequently as the ML-KEM key encapsulation mechanism. This is primarily due to the pressing need to implement KEMs to protect against potential quantum decryption attacks. Nonetheless, some real-world applications have started utilizing ML-DSA for software and certificate signing.
Advice for implementers
This section provides guidance for those implementing the affected algorithms in their systems.
My system uses ML-KEM, ML-DSA, or FN-DSA. What should I do?
For now, no action is required. Continuing to use these algorithms and keys does not increase the risk of quantum computers accessing your data. The greater threat lies in hastily changing keys or cipher suites, which could lead to errors. In the long run, begin preparing to transition to a new key size or algorithm if standards bodies decide to phase out the ones you are currently utilizing.
I was planning to deploy ML-KEM, ML-DSA, or FN-DSA. What should I do?
Stay alert for further information from experts and standards bodies. As of now, NIST has not issued any statements regarding these results, but it is the most qualified entity to interpret their implications for standards and deployments. Sorting this out will take weeks or months rather than days. ML-KEM, ML-DSA, and FN-DSA are still built on solid foundations, so proceeding as planned is advisable; however, be mindful that recommendations for post-quantum algorithms may evolve.
It remains crucial to prepare for a transition to post-quantum systems. Begin by understanding how your infrastructure relies on classical cryptography and which systems require adaptation for post-quantum capabilities. The necessary transition to post-quantum cryptography is still imperative, and you can facilitate this by incorporating cryptographic agility, or the ability to update key sizes or algorithms if current standards recommendations change. While it may be necessary to reassess the security of module lattice-based schemes in light of these attacks, the overall trajectory remains unchanged.
Algorithmic questions
This section addresses specific inquiries regarding the implications of the new attack vector.
How should I interpret this asymptotic result?
It will take time for lattice cryptographers to fully comprehend and characterize this new attack vector. Although the current attack is impractical, it remains uncertain whether it could evolve to a point where quantum computers can compromise existing systems using the current parameter sizes.
Are cryptographers considering whether this result can be improved upon to obtain a practical attack?
Yes. Typically, when a new avenue of attack is presented, rapid improvements are common. As the attack develops, enhancements tend to become more gradual. Unlike the existing sieving-based attack on deployed parameters, which is well understood and seems unlikely to become practical, this new line of attack is less explored, and its potential for practicality remains uncertain. Cryptographers must thoroughly investigate this possibility.
The impact on non-lattice-based cryptography
This section clarifies the implications of the findings for cryptographic systems not based on lattice structures.
Are non-lattice schemes like RSA, elliptic curves, AES, SHA-2, or other post-quantum schemes broken?
No. The results from this research do not affect RSA, elliptic curves, symmetric encryption, hashing, Bitcoin, or other post-quantum candidates based on error-correcting codes, multivariate systems, or isogenies. The improvements claimed pertain only to lattice-based schemes, and there is no evidence to suggest that they influence other forms of cryptography.
How do these attacks compare to quantum attacks on RSA or ECC?
These attacks are significantly less powerful than quantum attacks on RSA and elliptic curve cryptography. The most effective quantum attacks on ECC require approximately 220operations; this is efficient enough to warrant a transition away from RSA and ECC. In contrast, even the most conservative estimates suggest that this attack necessitates over 21000operations, an astronomically large number that would be unfeasible to execute. The primary concern lies in the potential for quantum lattice attacks to improve, despite their current impracticality.
Are there post-quantum alternatives to lattice-based schemes?
Yes. Lattice-based schemes have been strong candidates for post-quantum cryptography standards, but the wider cryptography community has acknowledged the need to explore alternatives for some time. Several options are at different stages of the standardization process. Cryptographers should prepare for scenarios where ML-DSA, ML-KEM, or FN-DSA could be irreparably compromised if this asymptotic attack can be scaled. In that event, the post-quantum transition would need to revert, but we wouldn’t be starting from ground zero.
- ML-KEM and ML-DSA utilize degree 256 and adjust the module rank and dimension for varying security parameters. Falcon employs degrees of 512 or 1024.
- The initial draft of FIPS 206 has yet to be published, but it is based on the Falcon signature scheme.