Quantum computers challenge the security of classical cryptosystems based on the elliptic curve discrete logarithm problem (ECDLP). However, even in a scenario where Shor’s algorithm makes ECDLP computationally solvable, a fundamental question remains: can the curve parameters themselves be trusted? This paper analyzes three “trusted security” criteria (T1–T3) proposed for short Weierstrass curves and demonstrates why random generation using a user-trusted pseudorandom number generator (CSPRNG) is more important than pursuing efficiency or adhering to “traditional” constants. We present testable questions and compare standard curves (NIST, SEC2, Brainpool) from the perspective of trust and quantum resource estimation. The conclusion is that trusted randomness is not paranoia, but a necessary element of cryptographic system hygiene that will retain its value even after the advent of a large-scale quantum computer.
1. Problem Statement: The Quantum Threat and the Hidden Crisis of Trust
Quantum computing is commonly discussed in the context of Shor’s algorithm, which is theoretically capable of solving factorization and discrete logarithm problems in polynomial time. For elliptic curve cryptography (ECC), this means that ECDLP—the problem of finding a scalar \(k\) given \(P\) and \(Q = kP\)—ceases to provide a reliable security foundation once an attacker has a sufficiently large and stable quantum computer.
However, long before that, another crisis has been brewing in the cryptographic community— a crisis of trust in parameter generation procedures . As shown in the paper on trusted short Weierstrass curves, many standard curves (NIST P-256, SEC2, Brainpool, ANSSI FRP256v1) either used deterministic procedures with “pre-learned” values of coefficients and primes, or contained unexplained features that could be exploited to introduce vulnerabilities [reference:1].
A paradox arises: even if a quantum computer makes ECDLP vulnerable to all curves, parameter trustworthiness remains critical for any transition period and for hybrid schemes. Moreover, the very logic of “trusted security” applies to post-quantum algorithms, which also require random parameter generation.
Which specific threat scenario is more realistic: (a) a quantum attack on ECDLP with known curve parameters, or (b) a compromise of the curve through untrusted parameter generation that persists independent of the computational model?
2. Three criteria of trusted security (T1–T3)
The cited work proposes a set of three criteria that a curve must satisfy to be considered “trusted” in addition to ECDLP strength and ECC security[reference:2].
T1: User-trusted random number generator (RNG)
The user must select a generator whose technical properties they understand and trust. Requirements include statistical consistency, unpredictability, and forward and reverse security. The Linux kernel was used /dev/random as an example of a CSPRNG that has undergone extensive cryptanalytic verification [reference:3].
T2: Lack of pre-learned values of coefficients and prime number
The coefficients \(a\) and \(b\), as well as the prime \(p\) must be chosen randomly, and not taken from known constants (e.g. \(\cos(1)\), Mersenne primes, or “convenient” forms like \(p = 2^{224} – 2^{96} + 1\)). Any pre-learned structure creates space for hidden properties that can be exploited by an attacker[reference:4].
T3: Reproducibility of near-cryptographic strength curves
The generation procedure, when repeated with the same method and equipment, should produce new curves whose robustness (measured by the Pollard-Rho complexity and other parameters) remains nearly identical. This proves that the method is not “tailored” to a specific result [reference:5].
Important: Criteria T1–T3 do not replace ECDLP and ECC security checks, but rather complement them. A curve can be resistant to known attacks but still “untrusted” if its parameters are chosen deterministically and opaquely.
3. Comparison of standard curves from the standpoint of trust and quantum resource assessment
The table below summarizes the results of the evaluation of standard short Weierstrass curves according to criteria T1–T3, as well as a qualitative assessment of their vulnerability to a quantum attack (based on knowledge of the public key).
| Curve / family | Trusted Security (T1–T3) | Quantum threat to ECDLP | Comment |
|---|---|---|---|
| NIST P-256 | Doesn’t work (deterministic approach, pre-studied Mersenne \(a\) and \(p\))[reference:6] | High (Shor’s algorithm) | Widely distributed, but trust in generation is low. |
| SEC2 (secp256r1 and others) | Doesn’t work (special structure \(p\), insufficient documentation)[reference:7] | High | De facto standard, but generation transparency is limited. |
| Brainpool | T2 only (curves not generated by own stated procedure)[reference:8] | High | The claimed “verifiably random” procedure has been questioned. |
| ANSSI FRP256v1 | Doesn’t work (pre-learned \(a\), weak twist security)[reference:9] | High | Low twist resistance (on the order of \(2^{79}\)) makes attacks on implementations realistic. |
| KG256r1 / KG384r1 (proposed in the article) | Pass T1–T3 (random generation, no pre-learned values, reproducibility)[reference:10] | High (but the parameters are trusted) | Demonstrates that robust and reliable curves can be obtained without sacrificing performance. |
From a quantum perspective, all of the above curves are vulnerable to Shor’s algorithm given a sufficient number of logical qubits. However, trusted curves (KG256r1, KG384r1) have another advantage: if a quantum computer has not yet reached the required scale, or if an attack is only possible on curves with known weaknesses, trusted generation reduces the attack surface.
Does the benefit of trusted generation (T1–T3) persist in a scenario where a quantum computer is already capable of solving ECDLP for 256-bit curves? In other words, is trusted randomness “redundant” after the advent of a large-scale quantum computer?
4. Relation to quantum resource assessment: logical and physical qubits
Attacking ECDLP on a 256-bit curve using Shor’s algorithm requires millions of physical qubits and hours to days of stable operation. Estimates depend heavily on the error model and architecture. The question from the construction kit (Section 9, Question 51) asks: “What are the estimates for logical and physical resources, execution time, and error tolerance?”
For trusted curves like KG256r1, the order of the base point \(n\) is comparable to that of standard curves (around \(2^{256}\)). This means that the quantum resource estimate for an attack on ECDLP is neither improved nor worsened by the curve being trusted. Trusted generation does not make the curve “quantum weaker”; it merely ensures the absence of classical backdoors and hidden properties that could enable subexponential classical attacks .
Thus, the answer to question 52 ( “What initial data is available to the attacker, and what is not, according to the threat model?” ) is this: in the classical model, an attacker with a quantum computer obtains the public key \(Q = kP\) and can run Shor’s algorithm. Trusted generation does not hide \(Q\), but it does guarantee that \(P\) and the curve parameters do not contain “bookmarks” that reduce the attack complexity below the level dictated by the field size.
5. Practical conclusions and migration
Three practical theses follow from the analysis.
- Trusted randomness does not become obsolete with the advent of quantum computers. Post-quantum algorithms (based on lattices, codes, and isogenies) also require parameter generation, and principles T1–T3 remain applicable. If the parameters of a post-quantum system are chosen deterministically and opaquely, it can be compromised by classical methods long before a quantum attack.
- The transition to post-quantum standards (FIPS 203/204/205) does not eliminate the need for randomness auditing. As noted in the question builder, NIST approved these standards in August 2024 (2†L4-L5), but the migration process (NCCoE) emphasizes the importance of verifying the implementation and sources of randomness.
- For legacy systems with ECC, a reasonable strategy is a hybrid approach: using trusted curves (or trusted parameters) in combination with post-quantum primitives. This reduces the risk of both classical and quantum attacks during the transition period.
The answer to the article’s central question is: trusted randomness is not an alternative to quantum security, but a necessary prerequisite. A curve that is “quantum-resistant” (in terms of field size), but generated in an untrusted manner, can be compromised right now using classical methods. Therefore, criteria T1–T3 should be considered a hygienic minimum for any cryptographic system, not an “add-on” to post-quantum migration.
6. Open questions for further research
- How can we quantify the “trustworthiness” of a random number generator in terms of entropy and resistance to compromise?
- Is it possible to formally prove that random generation of curve parameters does not increase the difficulty of ECDLP for a legitimate user, but eliminates subexponential classical attacks?
- What performance metrics (signature speed, verification, key generation) are lost when switching to trusted curves, and are these losses justified?
- How to adapt criteria T1–T3 for post-quantum circuits (lattice, code, isogenous)?
These issues directly relate to sections 8 and 12 of the design: reproducibility, fair comparison, and synthesis of multiple works.
Conclusion
The quantum threat is often presented as the “end of ECC.” But an equally serious threat—the loss of trust in parameter generation procedures—already exists today. The paper on trusted short Weierstrass curves shows that it is possible to construct curves that are simultaneously resistant to known attacks, pass SafeCurves checks, and satisfy criteria T1–T3 [reference:11]. Curves such as KG256r1 and KG384r1 demonstrate that trusted randomness does not require sacrificing performance.
For readers interested in quantum technologies, the key takeaway is this: post-quantum cryptography begins not with Shor’s algorithm or lattices, but with trust in those who generate the parameters . Without this trust, any cryptosystem—classical or post-quantum—remains vulnerable.
Sources
- K. Abhishek, E. G. Dharma Prakash Raj. Computation of Trusted Short Weierstrass Elliptic Curves for Cryptography. Cybernetics and Information Technologies , 2021. DOI: 10.2478/cait-2021-0020. (File
2208.01635v1.pdf). - National Quantum Initiative: Quantum Science Directions. URL: quantum.gov .
- NIST: FIPS 203, 204, 205 Approval (August 13, 2024). URL: csrc.nist.gov .
- NIST NCCoE: Migration to Post-Quantum Cryptography. URL: nccoe.nist.gov .
- Question constructor:
quantum_research_questions_ru.html(sections 1, 2, 8, 9, 12).
