5 ms·
> that blog post for the past week https://blog.cr.yp.to/20231003-countcorrectly.html https://blog.cr.yp.to/20231003-countcorrectly.html
by samdcbu 3y ago
> that blog post for the past week
https://blog.cr.yp.to/20231003-countcorrectly.html https://blog.cr.yp.to/20231003-countcorrectly.html
- riffraff 3y agoThanks for sharing. That's a long and tough read (in his style) but pretty interesting.
- tptacek 3y agoIs it? Can you summarize it? I'm asking seriously. This is not his style, for what it's worth, at least not for standalone long-form writing. His most influential cryptography writing is concise and lucid.
- 112233 3y agoHe is basically being super nice about Kyber, and flames on NIST for selection being loose and tilted.
- mfru 3y agoNot exactly sure if explicitly declared output of the Kagi Universal Summarizer is allowed (will delete again if not, but I did not see a guideline for it), but I think this could be a start sparking further curiosity. (I don't know how accurate the output is, as I am not a domain expert in PQC or cryptography in general, for that matter) Kagi Universal Summarizer output for "Summary": This web page discusses the selection of the Kyber and NTRU cryptosystems as the quantum-resistant digital signature algorithms by the National Institute of Standards and Technology (NIST). It analyzes NIST's claims about the security levels of Kyber-512 compared to AES-128. While NIST argued Kyber-512's security level is boosted enough by memory access costs to meet the AES-128 threshold, the text raises uncertainties around accurately modeling such costs and argues NTRU may have advantages in flexibility and performance. Overall, the page questions whether NIST fully justified selecting Kyber-512 over NTRU given the uncertainties in quantifying the security of lattice-based cryptosystems against future attacks. Kagi Universal Summarizer output for "Key moments": - There is debate around whether Kyber-512 provides adequate security compared to the AES-128 benchmark. NIST claims it meets this level factoring in memory access costs, but others argue the analysis is uncertain. - NIST's analysis added 40 bits of estimated security to Kyber-512's post-quantum security level due to memory costs, bringing it above the AES-128 threshold. Critics question this calculation. - NTRU provides greater flexibility than Kyber in supporting a wider range of security levels. At some levels it also has better performance and security than Kyber options. - The security of lattice-based cryptosystems like Kyber and NTRU is not fully understood, and there is a risk of better attacks being discovered in the future. - Standardizing a system like Kyber-512 that may have limited security margin could be reckless given lattice cryptanalysis uncertainties. - Critics argue NIST has not clearly explained its security evaluations and claims about Kyber-512's margin above AES-128. - Memory access costs are important to lattice security but are not fully quantified in their impact on Kyber versus classical attacks on AES. - Removing Kyber-512 could make NTRU the strongest candidate given its flexibility at multiple security levels. - One paper argued multi-ciphertext attacks on Kyber may be as difficult as single-ciphertext attacks. - There are calls for NIST to be transparent about its analysis and decision making regarding Kyber-512.
- vore 3y agoI don’t think this contributes to the conversation. There is clearly social context to this situation and copy pasting a machine-generated summary is no more helpful than reading the article at face value.
- mfru 3y agomy thinking was that someone with domain expertise could identify if the summary and key takeaways make sense and furthermore if the accusations have merit. anyways, it seems i cannot delete the comment, so would be great if a moderator or something could do it, thanks.
- riffraff 3y agoThe gist as I understand it is: NIST tilted the playing field repeatedly so that their favorite would win, and their favorite is not the best new candidate and not even better than existing systems. Re: style, this seems longer and more rambling than usual, but other stuff on his blog has been long, and his style with lots of background, asides, references, self-quotes seems pretty distinctive, isn't it? But I'm sure you paid more attention to this than me.
- myrion 3y agoHere's my honest shot at it: In between a bunch of conspiratorial hinting, djb argues that KYBER-512 is weaker than NIST claims. To make that argument, he points out a fairly egregious math mistake (the whole "2^40+2^40" bit) and then shows that NIST was inconsistent in applying the rules of the contest it refereed. He also offers an explanation for why NIST would be so inconsistent about it, namely that they were influenced to pick KYBER, even if it wasn't the best candidate. -- My personal takeaway was that he was both being a sore loser but also that KYBER-512 is weaker than it should be, weaker than it is claimed to be and that for some reason NIST still wanted it to win. Makes me skeptical about KYBER-512 (but not larger sizes) and reinforces my worry that NIST can be influenced to pick less-than-optimal algorithms. But then, I'm not a cryptographer and in the lucky situation where for any application I encounter, I can just go for KYBER-768 or 1024 or NTRU and just be fine - I don't have to understand this situation perfectly. Hope you get some value from this outside perspective.
- nmadden 3y agoI’ve not followed the PQC competition very closely, but I don’t think djb’s arguments significantly impact whether you should use KYBER-512. From my reading, as someone with a decent amount of crypto knowledge, all the evidence suggests that it is more than secure enough. The rest of the stuff is at the level of “submit an erratum”, not “omg cancel the whole thing”. If anything, this reinforces my belief that KYBER is a good design. If this is the best he can come up with to try and discredit it, then it must be pretty solid.
- myrion 3y agoThe last part I agree with - clearly KYBER isn't trivially broken if this is the best he can come up with. What doesn't seem clear to me, and I'd appreciate if you could tell me why you think differently, is that KYBER-512 isn't as strong as it was targeted to be. I find djb's argument on this narrow point fairly convincing: KYBER-512 isn't as secure as AES-128 (by the methods used to measure "secure" in this competition). Given that I already generally use AES-256, why shouldn't I treat this the same way as AES-128? That is, "it's probably fine-ish, but if you have the power, just go one bigger".
- xcdzvyn 3y agoHow so? Its clear he's no journalist but I never found myself confused.