Abstract
TLS 1.3 normally requires support for P-256 and recommends X25519. RFC 10024 specifies three TLS 1.3 groups combining a curve with ML-KEM. What is the mathematics, why are the keys so short, and why did the choice of curve become a question of trust? The points of a cubic curve over a prime field form a finite abelian group under the chord-and-tangent rule, and Hasse’s theorem puts its size within 2√p of p + 1. Recovering a scalar from a multiple of a point is the elliptic curve discrete logarithm problem. For well-chosen prime-field curves the best published attacks are generic and cost about the square root of the subgroup order, because no index calculus is known for them, so a 256-bit prime-order subgroup gives about 128-bit security. A few special curves fail; the incidents described here came from implementations. The NIST curves came from unexplained seeds and drew suspicion after Dual_EC_DRBG. In October 2026 researchers reconstructed the prime-curve seed generator, narrowing the case for one proposed seed-search attack. Shor’s algorithm would break all of these curves on a large fault-tolerant quantum computer.
The group law
Weierstrass curves over the reals
Over a field whose characteristic is not 2 or 3, an elliptic curve can be written in short Weierstrass form
E: y^2 = x^3 + a·x + b, with 4a^3 + 27b^2 ≠ 0The condition (the discriminant is −16 times this expression) says the cubic on the right has no repeated root, so the curve has no cusp or node. Over the real numbers the graph is either one smooth branch or a branch plus an oval, symmetric about the x-axis. To the affine points one adds a single point at infinity, written O, which in projective coordinates is (0 : 1 : 0); every vertical line passes through it.1
The group law comes from a fact about cubics: in the projective plane a line meets the curve in exactly three points, counted with multiplicity over the algebraic closure, so a line through two points of the curve, O included, meets it in a third. Define P + Q + R = O whenever P, Q and R are collinear. To add P and Q, draw the line through them, find the third intersection R, and reflect it in the x-axis: P + Q = −R. To double P, use the tangent at P. The point O is the identity, and the inverse of (x, y) is (x, −y), since the vertical line through them meets the curve at O as the third point.1
The explicit formulas
Over any field of characteristic other than 2 and 3 the geometry gives rational formulas, the same ones NIST writes in SP 800-186, Appendix A.1.1.2 For P1 = (x1, y1) and P2 = (x2, y2) with P1 ≠ ±P2:
λ = (y2 − y1) / (x2 − x1)
x3 = λ^2 − x1 − x2
y3 = λ·(x1 − x3) − y1For doubling, with y1 ≠ 0, the slope is that of the tangent:
λ = (3·x1^2 + a) / (2·y1)
x3 = λ^2 − 2·x1
y3 = λ·(x1 − x3) − y1The remaining cases are bookkeeping: P + O = P, P + (−P) = O, and a point with y = 0 has order 2. Code that forgets one computes wrong answers for rare inputs, which an attacker can choose.
Over F_p the picture is a scatter of points, but the algebra is unchanged: division is multiplication by an inverse mod p, and the formulas define the same group law on E(F_p), the solutions plus O.
Why it is a group
Closure, identity, inverses and commutativity are immediate from the construction. Associativity is the one axiom that is not obvious; Andrew Sutherland’s MIT notes argue it geometrically for points in general position and verify the full identity by computer algebra.1
How many points: Hasse, cofactors and subgroups
Hasse’s theorem bounds the group’s size. For an elliptic curve over F_q,
#E(F_q) = q + 1 − t, |t| ≤ 2√qwhere t is the trace of the Frobenius endomorphism.3 A curve over a 256-bit prime field F_p therefore has p + 1 − t points with |t| below 2^129. The value of t matters: t = 1, exactly p points, is fatal, as the next sections show.
The group E(F_p) is either cyclic or a product of two cyclic groups. Cryptography works in a subgroup of large prime order n generated by a base point G, and writes the group order as h·n, where h is the cofactor. The NIST prime curves P-256, P-384 and P-521 have prime order, so h = 1; Curve25519 has h = 8 and Curve448 has h = 4.24 A cofactor above 1 is no weakness in itself, but it means some points have small order, and protocols must handle them.
Scalar multiplication, with a worked example
Every elliptic curve protocol rests on computing kP = P + P + ... + P for an integer k. The obvious method is double-and-add, the analogue of square-and-multiply. Read the bits of k from the top; for each bit, double the running total, and if the bit is 1, add P. The cost is about log2(k) doublings and, on average, half as many additions.
A toy example: the curve y^2 = x^3 + 2x + 2 over F_17. The nonsingularity expression 4a^3 + 27b^2 = 140 ≡ 4 (mod 17) is non-zero. Trying all 17 values of x gives 18 affine points plus O, so #E(F_17) = 19, inside Hasse’s interval 18 ± 2√17 (about 9.8 to 26.2), with trace t = −1. Since 19 is prime, every point other than O generates the whole group. Take G = (5, 1). Its multiples are:
| k | kG | k | kG |
|---|---|---|---|
| 1 | (5, 1) | 10 | (7, 11) |
| 2 | (6, 3) | 11 | (13, 10) |
| 3 | (10, 6) | 12 | (0, 11) |
| 4 | (3, 1) | 13 | (16, 4) |
| 5 | (9, 16) | 14 | (9, 1) |
| 6 | (16, 13) | 15 | (3, 16) |
| 7 | (0, 6) | 16 | (10, 11) |
| 8 | (13, 7) | 17 | (6, 14) |
| 9 | (7, 6) | 18 | (5, 16) |
and 19G = O. The symmetry is negation: (19 − k)G = −kG, so 18G = (5, −1) = (5, 16).
Now compute 13G by double-and-add. In binary 13 = 1101, so start with G and process the bits 1, 0, 1:
- Bit 1: double G. λ = (3·25 + 2)/(2·1) = 77/2 ≡ 9/2. The inverse of 2 mod 17 is 9, so λ = 81 ≡ 13. Then x3 = 169 − 10 = 159 ≡ 6 and y3 = 13·(5 − 6) − 1 = −14 ≡ 3, giving 2G = (6, 3). Add G: λ = (1 − 3)/(5 − 6) = 2, x3 = 4 − 6 − 5 = −7 ≡ 10, y3 = 2·(6 − 10) − 3 = −11 ≡ 6, giving 3G = (10, 6).
- Bit 0: double 3G. λ = (3·100 + 2)/12 ≡ 13/12. The inverse of 12 is 10, so λ = 130 ≡ 11. Then x3 = 121 − 20 = 101 ≡ 16 and y3 = 11·(10 − 16) − 6 = −72 ≡ 13, giving 6G = (16, 13).
- Bit 1: double 6G. λ = (3·256 + 2)/26 ≡ 5/9 = 5·2 = 10 (the inverse of 9 is 2). Then x3 = 100 − 32 = 68 ≡ 0 and y3 = 10·16 − 13 = 147 ≡ 11, giving 12G = (0, 11). Add G: λ = (1 − 11)/(5 − 0) = −10/5 = −2 ≡ 15, x3 = 225 − 5 ≡ 16, y3 = 15·(0 − 16) − 11 = −251 ≡ 4, giving 13G = (16, 4).
It agrees with the table. Two checks were run for this article: a script enumerated all 289 pairs (x, y) to count the points and built the table by repeated addition, and a separate double-and-add routine reproduced the steps above.
In double-and-add, whether an addition happens depends on a secret bit, so timing and memory access depend on the key unless the code hides them.
Other models: Montgomery and twisted Edwards
A Montgomery curve has the form B·v^2 = u^3 + A·u^2 + u.2 Peter Montgomery introduced it in 1987 to speed up factoring by the elliptic curve method;5 its virtue for cryptography is the Montgomery ladder. The ladder keeps two points whose difference is always the input P, and at each step replaces the pair (R0, R1) by either (2R0, R0 + R1) or (R0 + R1, 2R1) depending on the key bit. Because the difference is known, the u-coordinate of a sum can be computed from the u-coordinates of the summands and of their difference, and the y-coordinate is never needed.6 RFC 7748 gives the whole X25519 computation as one loop of this kind, with a conditional swap that “SHOULD be implemented in constant time”.4
A twisted Edwards curve has the form a·x^2 + y^2 = 1 + d·x^2·y^2, with identity (0, 1) and inverse −(x, y) = (−x, y). Its addition law is a single formula:2
(x1, y1) + (x2, y2) = ( (x1·y2 + x2·y1) / (1 + d·x1·x2·y1·y2),
(y1·y2 − a·x1·x2) / (1 − d·x1·x2·y1·y2) )When a is a square and d is not, the denominators never vanish, so the formula is complete: doubling, inverses and the identity need no case split.2 Daniel Bernstein and Tanja Lange showed in 2007 that the law is complete on complete Edwards curves and fast, with doubling in three multiplications and four squarings.78
The models are related by birational maps. SP 800-186 maps a Montgomery curve (A, B) to the twisted Edwards curve with a = (A + 2)/B and d = (A − 2)/B and notes that the discrete logarithm problem is therefore equally hard in either model.2 RFC 7748 gives the maps between Curve25519 and the Edwards curve used by Ed25519.4 A short Weierstrass curve converts to Montgomery form only if it has a point of order 2, which prime-order curves such as P-256 lack.9
Complete addition formulas handle exceptional inputs without a case split. A fixed ladder schedule supports constant-time scalar multiplication when swaps, field arithmetic and memory access are also constant-time.410 On a prime-order Weierstrass curve the textbook formulas have exceptions. Joost Renes, Craig Costello and Lejla Batina wrote in 2015 that “until now” efficient complete addition laws had been proposed only on curves of composite order. They showed that the complete formulas of Bosma and Lenstra, which they credit, can be evaluated efficiently on every prime-order short Weierstrass curve over a field of characteristic other than 2 and 3, in 12 field multiplications, not counting multiplications by curve constants or field additions.10
The discrete logarithm
The problem
Given G of prime order n and a point Q in the group it generates, the elliptic curve discrete logarithm problem (ECDLP) is to find k modulo n, or its representative in [0, n − 1], with Q = kG. A private key is such a k; the public key is kG. Neal Koblitz and Victor Miller proposed elliptic curve groups for cryptography independently in the mid-1980s.1112 Koblitz’s 1987 abstract states the reason they still matter: the analogue of the discrete logarithm problem on elliptic curves “is likely to be harder than the classical discrete logarithm problem”.12
Generic attacks and the square-root bound
Generic algorithms use only the group operation and equality tests. Three set the scale.
Baby-step giant-step. Let m = ⌈√n⌉ and write k = i·m + j with 0 ≤ i, j < m. Store the baby steps jG for all j, then compute the giant steps Q − i·(mG) until one lands in the table. The cost is O(√n) operations and O(√n) memory.13 On the toy curve, with Q = (16, 4) and m = 5: the baby steps are O, G, ..., 4G. Since 5G = (9, 16), each giant step subtracts (9, 16), that is, adds (9, 1) = −5G. Then Q = 13G is not in the table, Q − 5G = (13, 7) = 8G is not, and Q − 10G = (10, 6) = 3G is. So k = 2·5 + 3 = 13.
Pollard rho. John Pollard’s 1978 methods replace the table with a pseudorandom walk on combinations aG + bQ and wait for a collision, which by the birthday paradox arrives after about √(πn/2) steps and needs almost no memory;1415 with distinguished points, the walk parallelises across many machines.13 On an elliptic curve the walk can be run on classes {P, −P}, because negation is free, which saves a further factor of √2; SafeCurves accordingly estimates rho at about 0.886·√n additions.1613
Pohlig-Hellman. If n is composite, the logarithm modulo each prime power dividing n can be found separately and recombined by the Chinese remainder theorem, so the cost is governed by the largest prime factor p of n: about O(log n · √p) group operations.15 This is why the group must have a large prime-order subgroup.
Victor Shoup proved, extending Nechaev, that any generic algorithm needs Ω(√p) group operations, p the largest prime dividing the group order.15 The bound holds in the generic model; a real curve has a concrete representation that an attack might exploit. For well-chosen prime-field curves the best published attacks are still generic, improved only by constant factors such as the negation map.13 A 256-bit prime subgroup order then means about 2^128 work: SafeCurves lists rho at 2^127.8 for P-256 and secp256k1 and 2^125.8 for Curve25519, whose prime subgroup is slightly smaller.16 RFC 7748 accepts that Curve25519 sits “slightly under the standard 128-bit level”.4
Why index calculus does not apply
RSA rests on integer factorisation and classical Diffie-Hellman on the discrete logarithm in F_p^, and both admit subexponential attacks. Elements of F_p^ have integer representatives, and integers factor. Index calculus picks a factor base of small primes, finds many group elements whose integer representatives factor completely over it, solves the resulting linear system for the logarithms of the base, and then expresses the target in terms of them. Because smooth integers are common enough, the method runs in subexponential time; variants of the number field sieve, adapted separately to factoring and to finite-field logarithms, refine it further.17 SafeCurves gives the practical consequence: “current index-calculus methods break DLP in F_p^* at cost below 2^128 for p up to roughly 2^3000”.18
Elliptic curves over prime fields have resisted the same idea. Steven Galbraith and Pierrick Gaudry, surveying the field in 2015, explain why: the natural factor base would be points with small x-coordinates, but “the elliptic group law is deeply incompatible with the multiplication of the integers representing the abscissae of the points”, there is no known efficient way to decompose a point over such a base, and “elliptic curves over prime fields remain unaffected by index calculus algorithms”.13 Index calculus with Semaev’s summation polynomials reaches some curves over extension fields, but in the authors’ judgement curves over binary fields of prime degree “are not threatened by such methods”.13 For prime-field curves the best published algorithms remain exponential.
Key sizes
The difference shows in NIST’s 2020 comparable-strength table.19 Its TDEA entries are historical: NIST disallows TDEA for applying cryptographic protection and allows legacy processing of data already protected.20
| Security strength (bits) | Symmetric | Finite field (DSA, DH) | RSA modulus | Elliptic curve order |
|---|---|---|---|---|
| ≤ 80 | 2TDEA | L = 1024, N = 160 | 1024 | 160–223 |
| 112 | 3TDEA | L = 2048, N = 224 | 2048 | 224–255 |
| 128 | AES-128 | L = 3072, N = 256 | 3072 | 256–383 |
| 192 | AES-192 | L = 7680, N = 384 | 7680 | 384–511 |
| 256 | AES-256 | L = 15360, N = 512 | 15360 | 512+ |
The elliptic column grows linearly with security because the attack is a square root; the RSA column grows faster because the attack is subexponential. At 128 bits a Curve25519 public key is 32 bytes21 and a TLS 1.3 key share on P-256 is 65 bytes in uncompressed form,22 against 384 bytes for an RSA-3072 modulus.
Records
Selected completed computations, each a record when published, are far below cryptographic sizes:
| Year | Size | Field | Notes |
|---|---|---|---|
| 2002 | 109-bit (ECCp-109) | prime | Certicom challenge, solved November 2002 23 |
| 2009 | 112-bit prime field | prime | Bos et al., expected cost about 60 PlayStation 3 years, completed 8 July 2009 24 |
| 2016 | 117.35-bit prime subgroup | binary, F_2^127 | Bernstein et al., FPGAs, “a new size record for completed ECDL computations” 25 |
Under the same rho cost model, moving from that 117-bit subgroup to a 256-bit one multiplies the operation count by roughly 2^69.
Curves that fail
The generic bound holds in its model, but a particular curve can offer more structure: a homomorphism into an easier group, or a group order that factors.
Pairing transfer: MOV and Frey-Rück
Let n be the prime subgroup order and k the least positive integer with n dividing p^k − 1. A suitable nontrivial Weil or reduced Tate pairing value maps the subgroup to the n-th roots of unity over F_{p^k}, where index calculus applies. The Weil pairing of two multiples of the same point is trivial.13 Menezes, Okamoto and Vanstone published the reduction in 1993 and Frey and Rück gave the Tate-pairing version in 1994.2618 For a random curve k is enormous and the transfer is useless. For supersingular curves, Koblitz and Menezes note, the problem “can be efficiently reduced to the discrete logarithm problem in small extensions of Fq”,27 and some ordinary curves have small k by construction. Standards set numeric floors, which are requirements rather than guarantees: SEC 1 and X9.62 require k ≥ 20, Brainpool requires at least (n − 1)/100, and SafeCurves takes Brainpool’s position on the grounds that “the point of ECC has always been to avoid index calculus”.18 SP 800-186 requires a large embedding degree and notes that its curves have degrees close to n.2
Anomalous curves
If #E(F_p) = p, so that the trace is 1, the curve is called anomalous, and the ECDLP reduces to the additive group of F_p, where logarithms are division.13 Independent reductions appeared in 1998 and 1999: Semaev’s algebraic method, which takes O(ln p) field operations,28 and the p-adic approaches of Satoh and Araki29 and of Smart.3018 SP 800-186 simply requires |E| ≠ q.2 SafeCurves’ table includes an anomalous curve with roughly 2^101 rho security that breaks instantly.31
Smooth group orders
If the order of the base point has only small prime factors, Pohlig-Hellman finishes the job.15 SP 800-186 requires n prime and h small and coprime to n.2
Weil descent
For curves over extension fields F_{q^n}, the Gaudry-Hess-Smart (GHS) attack uses Weil restriction to view the curve as an abelian variety over F_q, then looks for a curve of small genus whose Jacobian contains it, where index calculus is subexponential. It works for some families; in general the genus it produces is exponential in n, and Galbraith and Gaudry report that “it becomes harder and harder to find new weak families”.13 This is one reason prime fields are preferred, and SP 800-186 now deprecates all its binary curves.2
Twists, small subgroups and invalid curves
A small-subgroup attack sends a point of small order. The victim multiplies it by the secret key. If the protocol then lets the attacker test a consequence of the result, for example which guess decrypts a reply, the attacker learns the key modulo that small order. SafeCurves puts the impact without defences at sqrt(h), and names rejecting points with hQ = O and choosing the secret as a multiple of h as countermeasures.32 A small-order test alone can pass a point of mixed order, so the remedies differ: full validation checks nQ = O,2 cofactor handling builds h into the scalar, as X25519’s clamping does, and a protocol can check its output, as TLS 1.3 does by rejecting an all-zero X25519 secret.422
An invalid-curve attack is far worse. The short Weierstrass formulas never use the constant b, so if a receiver does not check that an incoming point satisfies the curve equation, it computes on y^2 = x^3 + ax + c for some other c chosen by the attacker, a curve with a subgroup of small order.32 Repeating this with several such curves and combining the residues by the Chinese remainder theorem recovers a static private key. Tibor Jager, Jörg Schwenk and Juraj Somorovsky tested eight TLS libraries in 2015 and found two that accepted invalid points, Bouncy Castle and Oracle’s JSSE; against Bouncy Castle 1.50 the attack took about 3,300 real server queries, and a Utimaco hardware module (CVE-2015-6924) gave up a 256-bit key in fewer than 100 queries.33
Twist security is the curve-level answer for x-only ladders. A u-coordinate that is not on a Montgomery curve lies on its quadratic twist, which has p + 1 + t points. A ladder that ignores y computes correctly on both, so an attacker can only reach the curve or its twist. If both orders have large prime factors, a correctly implemented x-only protocol loses little by skipping the check.32 Curve25519 was chosen with curve and twist orders 8 times a prime and 4 times a prime, which is why Bernstein’s paper can say that “every 32-byte string is accepted as a Curve25519 public key”.2134
Pairings as a feature
Chosen deliberately, the pairing becomes a tool. Boneh, Lynn and Shacham built short signatures from the Weil pairing,35 and pairing-friendly curves with moderate embedding degree underpin BLS signatures in Ethereum’s consensus layer and other blockchains, identity-based and attribute-based encryption, and zk-SNARKs.3637 The security estimate then has to cover both the curve and the field F_{p^k}. When Kim and Barbulescu’s exTNFS variant of the number field sieve appeared in 2016, the widely used 254-bit Barreto-Naehrig curve dropped from a nominal 128 bits to about 100 by the IRTF draft’s estimate.36 Sean Bowe designed BLS12-381 in 2017 for Zcash’s zk-SNARKs, aiming at the 128-bit level.38 The draft keeps it in the nominal 128-bit class while citing later estimates of about 126 bits.36 These curves are the arithmetic behind many deployed zero-knowledge proof systems. SafeCurves excludes them by design.18
Key exchange and signatures in use
ECDH and X25519
Elliptic curve Diffie-Hellman is the group-law version of the 1976 protocol:39 Alice publishes aG, Bob publishes bG, and both compute abG. TLS 1.3, now specified in RFC 9846 (July 2026), says that in the absence of an application profile specifying otherwise an implementation MUST support key exchange on secp256r1 (P-256) and SHOULD support X25519. For the NIST curves a received share must be validated as a curve point, and the shared secret is the x-coordinate of the shared point.22
X25519, specified in RFC 7748 in January 2016, packages Curve25519 as a function from a 32-byte scalar and a 32-byte u-coordinate to a 32-byte u-coordinate.4 The scalar is “clamped”: its three low bits are cleared, making it a multiple of the cofactor 8, bit 255 is cleared and bit 254 is set. The computation is a fixed-length Montgomery ladder with constant-time swaps. And because a peer can still send a point of small order, the RFC says both sides “MAY check” whether the shared secret is all zeros and abort; TLS 1.3 makes that check mandatory for X25519 and X448.422 SSH standardised curve25519-sha256 in RFC 8731,40 and Signal’s X3DH runs over X25519 or X448.41
ECDSA and its nonce
ECDSA, specified in FIPS 186-5 (2023), signs with private key d by taking e from the leftmost min(len(n), hash length) bits of the message digest, drawing a per-message secret k, computing R = kG, setting r to the x-coordinate of R mod n, and computing42
s = k^(−1) · (e + r·d) mod nThe verifier checks that r and s lie in [1, n − 1], computes u = e·s^(−1) and v = r·s^(−1), forms R1 = uG + vQ, rejects if R1 is the point at infinity, and accepts if r equals the x-coordinate of R1 mod n.42
The signature equation is linear in the two secrets k and d. Anyone who learns k for one signature solves for d, and two signatures with the same k under the same key and with different effective digest values e modulo n give two equations in two unknowns. The fail0verflow team showed at the 27th Chaos Communication Congress in December 2010 how this exposed Sony’s PlayStation 3 signing key.43 Bos, Halderman, Heninger and coauthors scanned the Bitcoin blockchain in 2013 and found 158 public keys that had reused a nonce in more than one signature, making their private keys computable.44 Android’s improperly initialised random number generator, which Google linked in August 2013 to a compromised Bitcoin transaction,45 and the arithmetic of nonce reuse, are covered in the random number generation article.
Biased nonces and the hidden number problem
A nonce need not repeat to be fatal. Each signature gives a modular relation involving the signing key and its nonce. Known high bits constrain individual nonces to intervals. Statistical bias can instead supply aggregate information across signatures. These are variants of the hidden number problem: Minerva uses lattice methods with nonce-length leakage, and LadderLeak applies Fourier analysis to probabilistic leakage below one bit per signature.4647 Recent cases:
- Minerva (2019). Several smart cards and libraries leaked the bit length of the nonce through the running time of scalar multiplication. The researchers recovered a P-256 key from an Athena IDProtect card with 2,100 signatures, about 30 minutes including collection, and listed CVEs for several libraries.46
- TPM-Fail (2019). Timing leakage in Intel’s firmware TPM (CVE-2019-11090) and an STMicroelectronics TPM chip (CVE-2019-16863) let a local attacker recover an ECDSA key from Intel’s fTPM in 4 to 20 minutes, and a VPN server’s authentication key remotely in 5 hours.48
- LadderLeak (2020). A Montgomery-ladder implementation in OpenSSL leaked the top bit of the nonce with probability below one, “less than 1 bit” per signature; improved Fourier analysis was enough to break ECDSA on sect163r1 and P-192.47
- PuTTY P-521 (2024). PuTTY derived nonces deterministically from a SHA-512 hash reduced mod n. For P-521, n has 521 bits, so the top 9 bits of every nonce were zero. About 60 signatures suffice to recover the key (CVE-2024-31497, versions 0.68 to 0.80).4950
Deterministic nonces and EdDSA
RFC 6979 (August 2013) removes the random number generator from signing by deriving k with HMAC_DRBG from the private key and the message hash, compatible with any ECDSA verifier; FIPS 186-5 approves it as “deterministic ECDSA”.5142 The PuTTY case shows that a home-grown derivation can still be biased, and implementation bugs persist: CVE-2025-14505, published in January 2026, describes an incorrect byte-length calculation that truncates an interim RFC 6979 nonce value with leading zeros in the JavaScript elliptic package. The record lists affected versions through 6.6.1 at the time of writing. Under certain conditions an attacker holding a faulty signature and a correct one for the same inputs could derive the key.52
EdDSA builds the deterministic nonce into the scheme. For pure Ed25519 in RFC 8032 the signer hashes the private key once, keeps half of the output as a secret prefix, and sets r = H(prefix || M), R = rB and S = (r + H(R || A || M)·s) mod L.53 The RFC lists among EdDSA’s advantages that a unique random number per signature “is not required” and that its formulas are complete, which “obviates the need for EdDSA to perform expensive point validation on untrusted public values”; besides its decoding checks, verification requires S < L, which stops anyone adding a multiple of L to S.53 Ed25519 uses 32-byte keys and 64-byte signatures.53 FIPS 186-5 added EdDSA in 2023, and SP 800-186 added Edwards25519 and Edwards448.422
When a verifier trusts too much
CVE-2020-0601 (CurveBall). Windows CryptoAPI let certificates carry explicit curve parameters instead of a named curve. When a certificate’s public key matched a cached trusted root, Windows skipped validating the parameters.54 An attacker could keep a root CA’s public key Q, choose any private key y, and declare a new generator G’ = y^(−1)·Q, so that Q = yG’ with y known to the attacker; Trail of Bits notes that this needs no discrete logarithm.54 The NSA reported the bug, called it severe, and advised that certificates whose explicit parameters “only partially match a standard curve are suspicious”.5556
CVE-2022-21449 (“psychic signatures”). Java 15 to 18 rewrote ECDSA verification and dropped the range check on r and s. Zero has no inverse mod n, but Java computed inverses as s^(n−2), which gives 0 for s = 0, so with the checks missing a signature with r = s = 0 passed for any message and key. Neil Madden, who found it, noted the impact on WebAuthn devices and ECDSA-signed JSON Web Tokens.57 Oracle fixed it in its April 2022 Critical Patch Update, crediting Madden and scoring it 7.5.5859 Step 1 of FIPS 186-5 verification, “Verify that both r and s are integers in the interval [1, n − 1]”, is exactly the missing check.42
Which curves to trust
How the NIST curves were made
The NIST prime curves P-192 to P-521 were published in FIPS 186-2 in January 2000;60 P-192 and P-256 had already appeared as examples in ANSI X9.62.61 Each has a = −3 for faster arithmetic, a prime field of special form for fast reduction, and prime order. The coefficient b was “derived in a hard-to-invert way” from a 160-bit seed by SHA-1, following a procedure that SP 800-186 reproduces: hash the seed and its increments, keep the w rightmost bits of the first digest, concatenate the results into an integer c, and pick b with c·b^2 ≡ a^3 (mod p).2 For P-256 the seed is c49d3608 86e70493 6a6678e1 139d26b7 819f7e90.2
The procedure was meant to prove the absence of a trapdoor. SEC 2 (2010) says verifiably random parameters “cannot be predetermined”, so “no trapdoors can have been placed in the parameters during their generation”.62 The procedure proves that b came from the seed; it says nothing about where the seed came from. The seeds were supplied by the NSA without explanation; the account Valsorda reported second-hand in 2023 is that its mathematician Jerry Solinas generated them.61
Why doubt hardened
Dual_EC_DRBG, an NSA-promoted elliptic curve random bit generator, made the gap matter. Shumow and Ferguson showed that someone who knows the discrete-log relation between the two fixed points and observes sufficient generator output can predict subsequent output.63 NIST removed Dual_EC_DRBG from SP 800-90A in June 2015.64 The story is in the random number generation article. It was a standardised design that permits a trapdoor, distinct from evidence that anyone held or used one. Critics concluded that unexplained elliptic curve constants from the same agency deserved no benefit of the doubt. RFC 7748 states the resulting position politely: “There is also concern in the community regarding the generation and potential weaknesses of the curves defined by NIST”.4
SafeCurves
Bernstein and Lange’s SafeCurves site set out a different test. Its starting claim is that standards target ECDLP hardness while real attacks exploit the gap to ECC security. Its criteria cover basic parameters, ECDLP security (rho cost, transfers, CM discriminant, rigidity) and ECC security beyond it (ladders, twist security, completeness, and indistinguishability from random strings).31
Rigidity is the criterion that addresses trust. SafeCurves grades generation processes as fully rigid, somewhat rigid, manipulatable or trivially manipulatable. A seed-and-hash process is “manipulatable”: “a malicious curve generator can search through many choices of s, checking each y^2=x^3-3x+H(s) for vulnerability to a secret attack; this works if the secret attack applies to (e.g.) one curve in a billion”.34 A fully rigid process explains every choice. For Curve25519 the site traces each choice, ending with A = 486662 as the “smallest positive integer meeting these requirements”.34
The other criteria measure implementation risk. In the site’s table, read on 1 December 2026, P-256 passes the rho, transfer, CM discriminant and twist-security checks but fails rigidity, ladder, completeness and indistinguishability; secp256k1 fails the discriminant check, ladder, completeness and indistinguishability; brainpoolP256t1 is graded “somewhat rigid” but fails ladder, twist, completeness and indistinguishability; Curve25519 and Ed448-Goldilocks pass everything.31 These are SafeCurves’ own criteria, and some measure ease of safe implementation rather than known attacks; P-256’s completeness grade concerns its curve shape, while the 2015 prime-order formulas now give implementers a complete option on it.10
Manipulating verifiable curves: BADA55 and Brainpool
In 2015 Bernstein, Lange and six coauthors published “How to manipulate curve standards: a white paper for the black hat”. Its model is an attacker who knows a secret weakness affecting some fraction of curves and must produce a curve the public will accept.65 For hash-based “verifiably random” curves the attacker simply searches seeds; to show how cheap that is, they found a curve passing the standard criteria with b beginning 5AFEBADA55ECC5AFEBADA55..., in 78 minutes on one CPU core.65 For “verifiably pseudorandom” curves, derived from nothing-up-my-sleeve constants such as π and e, they argued that the remaining freedom means “plausible models of the ‘Brainpool acceptability criteria’ allow the attacker to target a one-in-a-million vulnerability”.65
The Brainpool curves (RFC 5639, 2010) answered the NIST seeds, which the RFC says “have been chosen ad hoc”.66 BADA55 found that “none of the standard Brainpool curves below 512 bits were produced by the standard Brainpool procedure” published in 2005.65 No weakness in them has been shown; the critique concerns how much a published procedure constrains its author.
Curve25519 by design
Bernstein’s 2006 Curve25519 paper was mainly about speed, 832,457 Pentium III cycles for a Diffie-Hellman computation, but its choices were defensive.21 The software avoided input-dependent branches, array indices and timings, and public keys needed no validation because the curve and its twist were both secure.21 RFC 7748 standardised the curve in 2016 as “generated deterministically based on a list of required properties”, TLS 1.3 named X25519 in 2018, and NIST added Curve25519 and Edwards25519 to SP 800-186 in February 2023, describing the Edwards curves as offering “increased performance, side-channel resistance, and simpler implementation”.4672
The case for the P-curves
The defence of P-256 rests on three arguments. No weakness has been found: Koblitz and Menezes wrote in 2015 that for prime fields “no new classes of weak elliptic curves have been discovered since 1997”, including in the NIST curves.27 A seed search could only find a curve from a large weak class: if the NSA could break a fraction 2^−40 of strong 256-bit curves, there would be roughly 2^209 weak curves, a family Koblitz and Menezes judged highly unlikely to have escaped public research for decades.27 They also record a counter-argument from Bernstein and Lange, a collision search that could in principle work with a weak class of at least 2^61 curves and about 2^70 curves searched.27 And the engineering objections have weakened: Filippo Valsorda wrote in 2023 that the NIST curves were “looking better and better”, citing complete formulas and prime order.6110
The seeds, found
In October 2023 Valsorda offered a bounty for the inputs behind the five prime-curve seeds, on the then-standard story that Solinas had hashed an English sentence, recalled second-hand as something like SHA1("Jerry deserves a raise."). Solinas had died earlier that year.61
On 16 October 2026, Anthropic’s Frontier Red Team reported that the seeds were not hashes at all. Anthropic makes the model that wrote this article. According to the report, the five NIST prime-curve seeds and five additional ANSI X9.62 seeds can be reproduced as outputs of the C library generator lrand48, seeded by srand48 with a Unix timestamp between May 1997 and April 1998, with each 20-byte candidate built from successive outputs shifted right by 23 bits. The P-256 seed is candidate 1,842 from a run seeded at 1997-08-16 01:52:34 UTC.68 For this article the published recipe was reimplemented as a short integer recurrence: it reproduces the P-256 seed exactly, and SP 800-186’s SHA-1 procedure applied to that seed gives a c with c·b^2 ≡ −27 (mod p) for the published b, as the standard requires.682 Filippo Valsorda reimplemented the generator in Go and confirmed the claim. The team had claimed his bounty on 15 October 2026 at 01:07:51 UTC, the day before publication, and chose to donate it to ISRG, tripling it to $36,864;69 Let’s Encrypt confirmed the donation on 29 October.70
The report also states its limits. The base points of P-224, P-256, P-384 and P-521 remain unexplained, as does the B-163 seed. For P-256, candidate 876 of the same run would also have given a prime-order curve of the right form and was passed over, with the criterion unknown. The authors judge selection of a weak curve implausible because so few candidates were skipped, while conceding that a timestamp search remains conceivable in principle.68 Valsorda goes further: even with any timestamp in 1997–98 and any of the first 16 prime-order candidates, the NSA “would have had barely 30 bits of freedom”, which in his view would “completely rule out the technique described by Bernstein and Lange”, a search over about 70 bits.6927 The original program has not been found, and who chose each candidate, and why, is unknown, so the P-curves are still not rigid in SafeCurves’ sense.
secp256k1
Bitcoin uses secp256k1 for ECDSA and for the Schnorr signatures of BIP 340, whose status is Deployed.4471 SEC 2 labels it a “Koblitz” curve in a generalised sense, meaning one with an efficiently computable endomorphism;62 the speed-up method is Gallant, Lambert and Vanstone’s.72 Its equation is y^2 = x^3 + 7 over p = 2^256 − 2^32 − 977.31 The coefficient a is fixed at zero. SafeCurves grades secp256k1 somewhat rigid because its prime and coefficients might be minimal, although the choices are incompletely explained.34 The same structure, j-invariant 0 and a CM discriminant of −3, gives the endomorphism that speeds up scalar multiplication; extra automorphisms also let rho run on larger orbits for a small constant-factor gain, and SafeCurves, which requires the discriminant to exceed 2^100 in absolute value, fails it on that criterion.317313 SP 800-186 allows it only “for blockchain-related applications”.2
Where experts disagree
SafeCurves passes P-256 on rho cost, transfers and CM discriminant. Bernstein and Lange also require enough rigidity to constrain the designer’s choices and criteria that make safe implementation easier.3134 Koblitz, Menezes and Valsorda treat the size of the weak class a seed search would need as decisive.2761 After the 2026 recovery Valsorda wrote that, with complete formulas, verified field code and deterministic or hedged signing, he “would now personally recommend” the NIST curves over Curve25519, Ed25519 and X25519, noting in the same post that Bernstein designed Curve25519.69 The recovery bears on the coefficients’ seeds; it leaves the base points open and does not settle the implementation argument.68
The quantum end and the hybrid present
Shor’s algorithm
Shor’s algorithm solves the discrete logarithm in polynomial time on a fault-tolerant quantum computer in any finite abelian group whose operation can be computed efficiently. Proos and Zalka worked out the prime-field elliptic curve case in 2003, estimating about 1,000 qubits for a 160-bit curve against about 2,000 for RSA-1024.74 The mechanism and the history of cost estimates are in the Shor’s algorithm article. Roetteler, Naehrig, Svore and Lauter’s 2017 circuits need at most 9n + 2⌈log2 n⌉ + 10 logical qubits for an n-bit prime field and lead them to conclude that “ECC is an easier target than RSA” at comparable classical security, because the curve’s numbers are so much shorter.75 And the estimates have fallen: Babbush, Gidney and colleagues reported in 2026 that a 256-bit ECDLP needs fewer than 1,200 logical qubits and 90 million Toffoli gates, or fewer than 1,450 and 70 million, and modelled it running “in minutes using fewer than half a million physical qubits” on superconducting hardware with planar connectivity and 10^−3 physical error rates. These are resource estimates and circuit studies.747576
Deprecation dates
NIST IR 8547, finalised in October 2026, lists ECDSA, EdDSA and elliptic curve Diffie-Hellman and MQV as “Deprecated after 2030” and “Disallowed after 2035” under NIST standards, and notes that the government’s most sensitive systems must adopt post-quantum key establishment by 31 December 2030 and signatures by 31 December 2031.77 The NSA’s CNSA 2.0 advisory of September 2022 says the suite will “effectively deprecate the use of RSA, Diffie-Hellman (DH), and elliptic curve cryptography (ECDH and ECDSA) when mandated”, and expects national security systems to complete the move by 2035, with earlier milestones for some product types.78
Why the curve stays in the hybrid
The deployed answer to harvest-now-decrypt-later is hybrid key exchange. RFC 10024, an August 2026 Proposed Standard, specifies X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 for TLS 1.3, each combining an ECDHE share with ML-KEM, with “hybrid” meaning secure “as long as at least one of the component algorithms remains secure”.79 Cloudflare measured that by the last week of October 2025 a majority of human-initiated traffic to its own network used post-quantum key agreement;80 a different measure, the share of clients supporting it, grew from under 3% at the start of 2024 to over 60% in February 2026.81
Cloudflare gives the reasons for keeping X25519 beside ML-KEM. First, “there is always a remote chance that a breakthrough renders all variants of ML-KEM insecure”, in which case the classical half still protects against classical attackers. Second, new implementations may have bugs or side channels that the mature X25519 code does not.80 The cost is small: both peers’ X25519 contributions total 64 bytes against 1,568 for ML-KEM-512,80 and in X25519MLKEM768 the client share is 1,216 bytes and the server share 1,120, of which 32 each are X25519.79 Quantum protection rests on ML-KEM and correct composition; the curve hedges against a classical failure of the new component. NIST allows a disallowed algorithm as an additional input to an approved composite key-establishment technique when an approved scheme supplies the required input, warns that hybrids add complexity and cost, and expects them to be “temporary measures that lead to a second transition”.77 The lattice problem underneath ML-KEM is explained in the learning with errors article; the cryptography foundations article places both in the wider toolkit.
What a practitioner should do
Choosing a curve
- For key exchange, X25519 where the profile allows it, or X25519MLKEM768 where post-quantum protection is needed now.2279 For FIPS 140-3, check the module’s security policy for the exact scheme and approved mode. Standalone X25519 is outside SP 800-56A Rev. 3. IG D.S Scenario 2 can permit X25519MLKEM768 with approved ML-KEM and an approved combiner when the module meets its other requirements, including enforcing predefined combinations and controlling the sequence. The approved service claims no security from X25519.82
- For signatures, prefer Ed25519, which FIPS 186-5 approves, and use ECDSA on P-256 or P-384 where certificates or hardware require it.42
- Use secp256k1 only where a blockchain protocol fixes it and BLS12-381 only for pairing-based protocols. Match the curve to the strength the profile requires; 128 bits needs a subgroup order of at least 256 bits in NIST’s table. Avoid binary curves.19236
- Plan for the 2030 to 2035 deprecation window now, starting with long-lived secrets, and weigh the extra complexity and validation cost NIST attributes to hybrids.77
Implementation checklist
- Validate every incoming point. For short Weierstrass curves check that the point is not the identity, that coordinates are in [0, p − 1], that it satisfies the equation, and, if the cofactor is not 1, that it is in the right subgroup; SP 800-186 Appendix D spells out partial and full validation.2 In TLS 1.3 follow RFC 9846’s checks, including rejection of the all-zero X25519 secret.22
- Use complete formulas or a ladder. Edwards formulas, the Montgomery ladder, or the complete formulas for prime-order curves remove the exceptional cases that attackers aim for.108
- Be constant-time. No branches, memory indices or variable-time instructions that depend on secret scalars or nonces. Minerva and TPM-Fail exploited such differences.4648
- Derive nonces by a standard method. Use standard deterministic ECDSA or EdDSA and test the chosen scheme against its own specification’s vectors.5153 A derivation can cover the full nonce range and still be biased.49
- Check signature ranges. Reject r or s outside [1, n − 1], as FIPS 186-5 requires.42
- Reject explicit curve parameters. Where the protocol uses named curves, as TLS 1.3 does, accept only those; CurveBall shows what happens otherwise.5422
- Test against known-bad inputs. Project Wycheproof’s community-managed test vectors cover invalid-curve attacks and biased nonces;83 Madden ran them against Java 17 after finding the Java bug.57
What to watch
- Quantum resource estimates for 256-bit curves, which fell sharply between 2017 and 2026.7576
- The base points of P-224, P-256, P-384 and P-521, which remain unexplained.68
- Implementation CVEs in nonce derivation and verification, which continue to appear.52
Conclusion
A curve over a prime field gives a finite abelian group whose size Hasse’s theorem pins down, and for well-chosen curves the best published attack on the discrete logarithm in a large prime-order subgroup is the generic square root, which is why NIST pairs 256-bit curves with 3072-bit RSA. The curves that fail form a short list that modern standards exclude.
The incidents described here happened elsewhere: a repeated or biased nonce, an unchecked point, a trusted parameter, a missing range check. A curve on which straightforward code is safe prevents a class of these mistakes. The curve debate was also about trust, after Dual_EC_DRBG showed that a standard could permit a trapdoor. No weakness in P-256 has been shown publicly, and by Valsorda’s count the 2026 seed recovery leaves too little freedom for the seed search Bernstein and Lange described; the base points of P-224, P-256, P-384 and P-521 and the selection criteria remain unexplained.
Shor’s algorithm would break every curve here on a large fault-tolerant quantum computer, and NIST and the NSA have set retirement dates. Meanwhile the hybrid TLS groups of RFC 10024 keep a curve beside ML-KEM, which carries the quantum protection, as a hedge against a classical failure of the lattice scheme or its young implementations.
Footnotes
- A. Sutherland, “Elliptic curves as abelian groups”, MIT 18.783, Lecture 2 notes, 2 February 2022. https://math.mit.edu/classes/18.783/2022/LectureNotes2.pdf (opens in a new tab) ↩1 ↩2 ↩3
- L. Chen et al., Recommendations for Discrete Logarithm-based Cryptography: Elliptic Curve Domain Parameters, NIST SP 800-186, February 2023; Tables 1–2 and Appendices A–D. https://csrc.nist.gov/pubs/sp/800/186/final (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19
- A. Sutherland, “Point counting”, MIT 18.783, Lecture 7 notes, Theorem 7.3 (Hasse), 22 February 2022. https://math.mit.edu/classes/18.783/2022/LectureNotes7.pdf (opens in a new tab) ↩
- A. Langley, M. Hamburg, S. Turner, RFC 7748, Elliptic Curves for Security, IRTF, January 2016; Sections 1, 4.1, 5, 6 and 7. https://www.rfc-editor.org/rfc/rfc7748 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- P. L. Montgomery, “Speeding the Pollard and elliptic curve methods of factorization”, Mathematics of Computation 48(177), 1987 (Crossref record). https://api.crossref.org/works/10.1090/S0025-5718-1987-0866113-7 (opens in a new tab) ↩
- D. J. Bernstein and T. Lange, “Montgomery curves and the Montgomery ladder”, IACR ePrint 2017/293. https://eprint.iacr.org/2017/293 (opens in a new tab) ↩
- D. J. Bernstein and T. Lange, “Faster addition and doubling on elliptic curves”, ASIACRYPT 2007; IACR ePrint 2007/286. https://eprint.iacr.org/2007/286 (opens in a new tab) ↩
- D. J. Bernstein and T. Lange, “SafeCurves: Completeness”, read 1 December 2026. https://safecurves.cr.yp.to/complete.html (opens in a new tab) ↩1 ↩2
- D. J. Bernstein and T. Lange, “SafeCurves: Ladders”, read 1 December 2026. https://safecurves.cr.yp.to/ladder.html (opens in a new tab) ↩
- J. Renes, C. Costello, L. Batina, “Complete addition formulas for prime order elliptic curves”, EUROCRYPT 2016; IACR ePrint 2015/1060, abstract and Section 1 (read in the authors’ Microsoft Research copy). https://eprint.iacr.org/2015/1060 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- V. S. Miller, “Use of Elliptic Curves in Cryptography”, CRYPTO ‘85, Lecture Notes in Computer Science 218, Springer (Crossref record). https://api.crossref.org/works/10.1007/3-540-39799-X_31 (opens in a new tab) ↩
- N. Koblitz, “Elliptic curve cryptosystems”, Mathematics of Computation 48(177), 1987 (Crossref record). https://api.crossref.org/works/10.1090/S0025-5718-1987-0866109-5 (opens in a new tab) ↩1 ↩2
- S. D. Galbraith and P. Gaudry, “Recent progress on the elliptic curve discrete logarithm problem”, IACR ePrint 2015/1022 (Designs, Codes and Cryptography, 2016), Sections 1–7 and Table 1. https://eprint.iacr.org/2015/1022 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- J. M. Pollard, “Monte Carlo methods for index computation (mod p)”, Mathematics of Computation 32(143), 1978 (Crossref record). https://api.crossref.org/works/10.1090/S0025-5718-1978-0491431-9 (opens in a new tab) ↩
- A. Sutherland, “The discrete logarithm problem”, MIT 18.783, Lecture 9 notes, Sections 9.4–9.6 and 9.13, 28 February 2022. https://math.mit.edu/classes/18.783/2022/LectureNotes9.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- D. J. Bernstein and T. Lange, “SafeCurves: The rho method”, read 1 December 2026. https://safecurves.cr.yp.to/rho.html (opens in a new tab) ↩1 ↩2
- A. Sutherland, “Index calculus, smooth numbers, and factoring integers”, MIT 18.783, Lecture 10 notes, 2 March 2022. https://math.mit.edu/classes/18.783/2022/LectureNotes10.pdf (opens in a new tab) ↩
- D. J. Bernstein and T. Lange, “SafeCurves: Transfers”, version 2013.10.13, read 1 December 2026. https://safecurves.cr.yp.to/transfer.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- E. Barker, Recommendation for Key Management: Part 1 – General, NIST SP 800-57 Part 1 Revision 5, May 2020, Section 5.6.1.1 and Table 2. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf (opens in a new tab) ↩1 ↩2
- NIST, “NIST to Withdraw Special Publication 800-67 Revision 2”, CSRC news, 29 June 2023. https://csrc.nist.gov/News/2023/nist-to-withdraw-sp-800-67-rev-2 (opens in a new tab) ↩
- D. J. Bernstein, “Curve25519: new Diffie-Hellman speed records”, PKC 2006; paper dated 9 February 2006 (PDF), Sections 1–3. https://cr.yp.to/ecdh/curve25519-20060209.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- E. Rescorla, RFC 9846, The Transport Layer Security (TLS) Protocol Version 1.3, July 2026 (obsoletes RFC 8446), Sections 4.3.8.2, 7.4.2 and 9.1. https://www.rfc-editor.org/rfc/rfc9846 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
- Certicom, “The Certicom ECC Challenge”. https://www.certicom.com/content/certicom/en/the-certicom-ecc-challenge.html (opens in a new tab) ↩
- J. W. Bos et al., “On the Security of 1024-bit RSA and 160-bit Elliptic Curve Cryptography”, version 2.1, 1 September 2009, IACR ePrint 2009/389, Section 4 and footnote 4. https://eprint.iacr.org/2009/389 (opens in a new tab) ↩
- D. J. Bernstein et al., “Faster elliptic-curve discrete logarithms on FPGAs”, 12 December 2016, IACR ePrint 2016/382, abstract. https://web.archive.org/web/20210506163117id_/https://eprint.iacr.org/2016/382.pdf (opens in a new tab) ↩
- A. Menezes, T. Okamoto, S. Vanstone, “Reducing elliptic curve logarithms to logarithms in a finite field”, IEEE Transactions on Information Theory 39(5), 1993 (Crossref record; content per SafeCurves and Galbraith-Gaudry). https://api.crossref.org/works/10.1109/18.259647 (opens in a new tab) ↩
- N. Koblitz and A. J. Menezes, “A Riddle Wrapped in an Enigma”, IACR ePrint 2015/1018, 20 October 2015, updated 19 May 2018, Sections 1–3 and Remark 1. https://eprint.iacr.org/2015/1018 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- I. A. Semaev, “Evaluation of discrete logarithms in a group of p-torsion points of an elliptic curve in characteristic p”, Mathematics of Computation 67(221), 1998 (Crossref record). https://api.crossref.org/works/10.1090/S0025-5718-98-00887-4 (opens in a new tab) ↩
- T. Satoh and K. Araki, “Fermat Quotients and the Polynomial Time Discrete Log Algorithm for Anomalous Elliptic Curves”, Commentarii Mathematici Universitatis Sancti Pauli 47(1), 1998, pp. 81–92, p. 81. https://rikkyo.repo.nii.ac.jp/record/9910/files/AA00610867_47-01_06.pdf (opens in a new tab) ↩
- N. P. Smart, “The Discrete Logarithm Problem on Elliptic Curves of Trace One”, Journal of Cryptology 12, 1999 (Crossref record). https://api.crossref.org/works/10.1007/s001459900052 (opens in a new tab) ↩
- D. J. Bernstein and T. Lange, “SafeCurves: choosing safe curves for elliptic-curve cryptography”, introduction and summary tables, read 1 December 2026. https://safecurves.cr.yp.to/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- D. J. Bernstein and T. Lange, “SafeCurves: Twist security”, read 1 December 2026. https://safecurves.cr.yp.to/twist.html (opens in a new tab) ↩1 ↩2 ↩3
- T. Jager, J. Schwenk, J. Somorovsky, “Practical Invalid Curve Attacks on TLS-ECDH”, ESORICS 2015, presentation slides (PDF), evaluation slides. https://pdfs.semanticscholar.org/418c/ffbc1313eab9a4650b00161bb4b8897a2569.pdf (opens in a new tab) ↩
- D. J. Bernstein and T. Lange, “SafeCurves: Rigidity”, read 1 December 2026. https://safecurves.cr.yp.to/rigid.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- D. Boneh, B. Lynn, H. Shacham, “Short Signatures from the Weil Pairing”, Journal of Cryptology 17, 2004 (Crossref record). https://api.crossref.org/works/10.1007/s00145-004-0314-9 (opens in a new tab) ↩
- Y. Sakemi et al., Pairing-Friendly Curves, Internet-Draft draft-irtf-cfrg-pairing-friendly-curves-16, IRTF CFRG, 16 November 2026, Sections 1–2, 4.1–4.2 and 6.1. https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-pairing-friendly-curves-16 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Ethereum Consensus Specifications, Phase 0 Beacon Chain, BLS custom types. https://github.com/ethereum/consensus-specs/blob/master/specs/phase0/beacon-chain.md (opens in a new tab) ↩
- S. Bowe, “BLS12-381: New zk-SNARK Elliptic Curve Construction”, Electric Coin Company blog, 11 March 2017. https://electriccoin.co/blog/new-snark-curve/ (opens in a new tab) ↩
- W. Diffie and M. E. Hellman, “New directions in cryptography”, IEEE Transactions on Information Theory 22(6), November 1976 (DOI 10.1109/TIT.1976.1055638; Crossref record). https://api.crossref.org/works/10.1109/TIT.1976.1055638 (opens in a new tab) ↩
- A. Adamantiadis, S. Josefsson, M. Baushke, RFC 8731, Secure Shell (SSH) Key Exchange Method Using Curve25519 and Curve448, February 2020. https://www.rfc-editor.org/rfc/rfc8731 (opens in a new tab) ↩
- M. Marlinspike and T. Perrin, “The X3DH Key Agreement Protocol”, Signal specification. https://signal.org/docs/specifications/x3dh/ (opens in a new tab) ↩
- NIST, Digital Signature Standard (DSS), FIPS 186-5, 3 February 2023, Sections 6.3–6.4 and Appendix E. https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
- fail0verflow, “Console Hacking 2010: PS3 Epic Fail”, 27th Chaos Communication Congress slides, 29 December 2010 (PDF), ECDSA slides. https://fahrplan.events.ccc.de/congress/2010/Fahrplan/attachments/1780_27c3_console_hacking_2010.pdf (opens in a new tab) ↩
- J. W. Bos et al., “Elliptic Curve Cryptography in Practice”, Financial Cryptography 2014; IACR ePrint 2013/734, Sections 3–4. https://eprint.iacr.org/2013/734 (opens in a new tab) ↩1 ↩2
- A. Klyubin, “Some SecureRandom Thoughts”, Android Developers Blog, 14 August 2013. https://android-developers.googleblog.com/2013/08/some-securerandom-thoughts.html (opens in a new tab) ↩
- J. Jančár et al., “Minerva: The curse of ECDSA nonces”, CHES 2020, project page. https://minerva.crocs.fi.muni.cz/ (opens in a new tab) ↩1 ↩2 ↩3
- D. F. Aranha et al., “LadderLeak: Breaking ECDSA With Less Than One Bit Of Nonce Leakage”, ACM CCS 2020; IACR ePrint 2020/615, abstract. https://eprint.iacr.org/2020/615 (opens in a new tab) ↩1 ↩2
- D. Moghimi, B. Sunar, T. Eisenbarth, N. Heninger, “TPM-Fail: TPM meets Timing and Lattice Attacks”, project page. https://tpm.fail/ (opens in a new tab) ↩1 ↩2
- S. Tatham et al., “PuTTY vulnerability vuln-p521-bias”, PuTTY wishlist. https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-p521-bias.html (opens in a new tab) ↩1 ↩2
- NIST National Vulnerability Database, CVE-2024-31497, published 15 April 2024. https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2024-31497 (opens in a new tab) ↩
- T. Pornin, RFC 6979, Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA), August 2013. https://www.rfc-editor.org/rfc/rfc6979 (opens in a new tab) ↩1 ↩2
- NIST National Vulnerability Database, CVE-2025-14505 (elliptic package, ECDSA), published 8 January 2026. https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-14505 (opens in a new tab) ↩1 ↩2
- S. Josefsson and I. Liusvaara, RFC 8032, Edwards-Curve Digital Signature Algorithm (EdDSA), IRTF, January 2017, Sections 1, 3.3 and 8.4. https://www.rfc-editor.org/rfc/rfc8032 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Trail of Bits, “Exploiting the Windows CryptoAPI Vulnerability”, Trail of Bits blog, 16 January 2020. https://blog.trailofbits.com/2020/01/16/exploiting-the-windows-cryptoapi-vulnerability/ (opens in a new tab) ↩1 ↩2 ↩3
- National Security Agency, Cybersecurity Advisory, “Patch Critical Cryptographic Vulnerability in Microsoft Windows Clients and Servers”, January 2020 (Wayback Machine copy). https://web.archive.org/web/2020id_/https://media.defense.gov/2020/Jan/14/2002234275/-1/-1/0/CSA-WINDOWS-10-CRYPT-LIB-20190114.PDF (opens in a new tab) ↩
- NIST National Vulnerability Database, CVE-2020-0601, published 14 January 2020. https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2020-0601 (opens in a new tab) ↩
- N. Madden, “CVE-2022-21449: Psychic Signatures in Java”, 19 April 2022. https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/ (opens in a new tab) ↩1 ↩2
- Oracle, Critical Patch Update Advisory, April 2022, Java SE risk matrix and credit statement. https://www.oracle.com/security-alerts/cpuapr2022.html (opens in a new tab) ↩
- NIST National Vulnerability Database, CVE-2022-21449, published 19 April 2022. https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-21449 (opens in a new tab) ↩
- NIST, Digital Signature Standard (DSS), FIPS 186-2, published 27 January 2000, publication record. https://csrc.nist.gov/pubs/fips/186-2/final (opens in a new tab) ↩
- F. Valsorda, “Announcing the $12k NIST Elliptic Curves Seeds Bounty”, 5 October 2023. https://words.filippo.io/seeds-bounty/ (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Certicom Research, SEC 2: Recommended Elliptic Curve Domain Parameters, version 2.0, 27 January 2010, Section 2.1. https://www.secg.org/sec2-v2.pdf (opens in a new tab) ↩1 ↩2
- D. Shumow and N. Ferguson, “On the Possibility of a Back Door in the NIST SP800-90 Dual Ec Prng”, CRYPTO 2007 rump session slides. https://rump2007.cr.yp.to/15-shumow.pdf (opens in a new tab) ↩
- NIST, “NIST Computer Security Released the NIST SP 800-90A”, CSRC news, June 2015. https://csrc.nist.gov/News/2015/NIST-Computer-Security-Released-the-NIST-SP-800-90 (opens in a new tab) ↩
- D. J. Bernstein et al., “How to manipulate curve standards: a white paper for the black hat”, 27 September 2015 (PDF), abstract and Sections 1, 3 and 5. https://bada55.cr.yp.to/bada55-20150927.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- M. Lochter and J. Merkle, RFC 5639, Elliptic Curve Cryptography (ECC) Brainpool Standard Curves and Curve Generation, March 2010, Section 1 and Appendix A. https://www.rfc-editor.org/rfc/rfc5639 (opens in a new tab) ↩
- E. Rescorla, RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3, August 2018, Sections 4.2.7, 7.4.2 and 9.1. https://www.rfc-editor.org/rfc/rfc8446 (opens in a new tab) ↩
- Anthropic Frontier Red Team (J. Wood et al., ten authors), “Claude reveals ECDSA curve origins”, Anthropic, 16 October 2026; includes reproduction code. Vendor publication by the maker of the model that wrote this article. https://www.anthropic.com/research/ecdsa-curve-origins (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- F. Valsorda, “The NIST Elliptic Curves Seeds Bounty Has Been Claimed”, 16 October 2026. https://words.filippo.io/seeds-solved/ (opens in a new tab) ↩1 ↩2 ↩3
- S. Robinson, “A Good Day for Cryptography”, Let’s Encrypt blog, 29 October 2026. https://letsencrypt.org/2026/10/29/good-day-cryptography (opens in a new tab) ↩
- P. Wuille, J. Nick, T. Ruffing, BIP 340, Schnorr Signatures for secp256k1, status Deployed (raw file). https://raw.githubusercontent.com/bitcoin/bips/master/bip-0340.mediawiki (opens in a new tab) ↩
- R. P. Gallant, R. J. Lambert, S. A. Vanstone, “Faster Point Multiplication on Elliptic Curves with Efficient Endomorphisms”, CRYPTO 2001, Lecture Notes in Computer Science 2139 (Crossref record). https://api.crossref.org/works/10.1007/3-540-44647-8_11 (opens in a new tab) ↩
- D. J. Bernstein and T. Lange, “SafeCurves: CM field discriminants”, read 1 December 2026. https://safecurves.cr.yp.to/disc.html (opens in a new tab) ↩
- J. Proos and C. Zalka, “Shor’s discrete logarithm quantum algorithm for elliptic curves”, arXiv quant-ph/0301141, 2003, abstract. https://arxiv.org/abs/quant-ph/0301141 (opens in a new tab) ↩1 ↩2
- M. Roetteler, M. Naehrig, K. M. Svore, K. Lauter, “Quantum resource estimates for computing elliptic curve discrete logarithms”, ASIACRYPT 2017; arXiv 1706.06752, abstract. https://arxiv.org/abs/1706.06752 (opens in a new tab) ↩1 ↩2 ↩3
- R. Babbush, A. Zalcman, C. Gidney et al., “Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations”, arXiv 2603.28846v2, April 2026, abstract. https://arxiv.org/abs/2603.28846v2 (opens in a new tab) ↩1 ↩2
- D. Moody et al., Transition to Post-Quantum Cryptography Standards, NIST IR 8547, October 2026, Sections 3.2, 4 and 4.1, Tables 2 and 4. https://nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf (opens in a new tab) ↩1 ↩2 ↩3
- National Security Agency, Cybersecurity Advisory, “Announcing the Commercial National Security Algorithm Suite 2.0”, September 2022 (Wayback Machine copy). https://web.archive.org/web/20241227092021id_/https://media.defense.gov/2022/Sep/07/2003071834/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS_.PDF (opens in a new tab) ↩
- K. Kwiatkowski et al., RFC 10024, Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3, August 2026, Standards Track, Sections 1–4. https://www.rfc-editor.org/rfc/rfc10024 (opens in a new tab) ↩1 ↩2 ↩3
- Cloudflare, “State of the post-quantum Internet in 2025”, Cloudflare blog, October 2025. Vendor blog. https://blog.cloudflare.com/pq-2025/ (opens in a new tab) ↩1 ↩2 ↩3
- D. Belson et al., “Bringing more transparency to post-quantum usage, encrypted messaging, and routing security”, Cloudflare blog, 27 February 2026. Vendor blog. https://blog.cloudflare.com/radar-origin-pq-key-transparency-aspa/ (opens in a new tab) ↩
- NIST and CCCS, Implementation Guidance for FIPS 140-3 and the Cryptographic Module Validation Program, updated 20 November 2026, IG C.K note 5 on X25519 and IG D.S Scenario 2 (PDF). https://csrc.nist.gov/CSRC/media/Projects/cryptographic-module-validation-program/documents/fips%20140-3/FIPS%20140-3%20IG.pdf (opens in a new tab) ↩
- C2SP, “Project Wycheproof”, README. https://github.com/C2SP/wycheproof (opens in a new tab) ↩

SecSIG