New algorithm shakes up cryptography
sciencedaily.com
sciencedaily.com
Most EC crypto in use uses large-characteristic prime curve fields (often abbreviated as GFp) and is unaffected by these attacks.
Small-characteristic GF2^m curve fields seems a little more popular in embedded hardware, but I don't know any details. Relatively little software uses GF2^m curve fields either, though a notable exception is Bitcoin (I have no idea what this result meant for them).
Notably, the EC used in SSH and common SSL deployments use GFp keys and aren't affected by this result. It does make one wonder whether the DLP will fall more generally - it is only believed to be "hard" and AFAIK there is no proof that it is.
From the SEC spec:
Parameters associated with a Koblitz curve admit especially efficient
implementation. The name Koblitz curve is best-known when used to describe
binary anomalous curves over F2m which have a,b {0,1}. Here it is
generalized to refer also to curves over Fp which possess an efficiently
computable endomorphism.
[1] - http://www.secg.org/collateral/sec2_final.pdfSo the only hope is to wait for [Curve25519] to be widely supported?
PS. Bitcoin using secp256k1 which is Koblitz GFp curve.
[FIPS186-2] http://csrc.nist.gov/publications/fips/archive/fips186-2/fip...
[SEC-2v2] http://www.secg.org/download/aid-784/sec2-v2.pdf
[safecurves] http://safecurves.cr.yp.to/index.html
[Curve25519] http://cr.yp.to/ecdh.html
Take this with an appropriately large grain of salt - I haven't followed the fallout of Joux' work very closely (because I don't use anything that uses GF2m fields).
> Is ECDLP broken for non-prime fields?
No. However, the security story for non-prime fields
(e.g., binary extension fields) is more complicated and
less stable than the security story for prime fields, as
illustrated by 1998 Frey, 2002 Gaudry–Hess–Smart, 2009
Gaudry, and 2012 Petit–Quisquater.
2006 Bernstein stated that prime fields "have the virtue
of minimizing the number of security concerns for
elliptic-curve cryptography". Similarly, the Brainpool
standard and NSA's Suite B standards require prime fields.
There is general agreement that prime fields are the safe,
conservative choice for ECC.
[1] http://safecurves.cr.yp.to/field.htmlSee also https://news.ycombinator.com/item?id=7759441 --- who, as always, knows what he's talking about.
† Edit: 'pbsd suggests there may not be one.
What do you mean? I don't doubt you are right but the article doesn't seem to mention that anywhere.
"Today's" result is an improvement over that and previous works. So what we know is that attacks on curves over GF_{2^m} are getting better.
- Has nothing to do with elliptic curves.
- Has virtually zero repercussions in any real-world cryptosystem.
- Is a mostly theoretical refinement of the 'cryptopocalypse' Joux algorithm, which only affects some special kinds of fields (namely small characteristic).
- Is only being reported again now because the paper has just been presented at Eurocrypt.
Here are some previous threads on the subject: https://news.ycombinator.com/item?id=6240434
- As mentioned elsewhere in the discussion, the algorithm does have an impact on some elliptic curve-based cryptosystems, but it is an indirect one. The attack is against the discrete logarithm problem in small characteristic finite fields; that isn't a security concern for the elliptic curve DLP (even over fields of small characteristic), except in the special case when ECDLP reduces to finite field DLP. That reduction is called the Menezes-Okamoto-Vanstone attack, and only applies to a restricted class of elliptic curves: so-called "pairing-friendly" curves, which are used in pairing-based crypto.
- In particular, the attack has no impact on even small characteristic NIST curves, or basically on any curve used for "traditional" (as opposed to "pairing-based") elliptic curve cryptosystems, including ECDH, ECDSA, ECIES, etc.
- On the other hand, the paper is a huge deal for people interested in the implementation of pairing-based crypto / cryptographic bilinear groups, because small characteristic fields (mainly supersingular curves over GF(3^m)) were the preferred approach for implementation in hardware, and even in software if you wanted symmetric pairings. Joux's original L(1/4) paper meant that people had to take a closer look at the trade-off between characteristic 3 and large characteristic in hardware (and it was also very important as the most significant algorithmic advance on the DLP since GNFS), but it wasn't quite "apocalyptic". This paper, on the other hand, has a quasi-polynomial attack, which means pairing-based crypto in small characteristic is dead (and more generally, symmetric pairings have become very unattractive).
- Whether this affects "real-world crypto" depends on were you set the limits of the real world. SSL connections and credit cards are unaffected, sure, but there are limited deployments of things like group signatures that have to take a close look at the math used in their implementation.
- The first preprint did appear publicly last summer, so it's true that this is not fresh news to the community, although I think it's great that this result gets some publicity beyond academic circles (and IMHO it fully deserves its best paper award).
> it is likely to have repercussions especially on the cryptographic applications of smart cards, RFID chips (2), etc.
It will be easier to bruteforce RSA/DSA?
Obviously, any advance in understanding the discrete logarithm problem may be a step forward in breaking elliptic curves, but as far as I know, this is not a reason to change anything for the time being - at least for non-cryptographers.
Fwiw, on this side of the pond some are somewhat bemused by how e.g. US big pharma firms are allowed to patent research results that were funded by tax-payer dollars.
It's interesting work, but not immediately alarming.