Re: [PATCH net-next v9 00/19] WireGuard: Secure Network Tunnel

From
Jason A. Donenfeld <Jason@zx2c4.com>
Date
2019-03-31 18:18:33
Also in
linux-crypto, lkml
Reply to
Eric Biggers, 2019-03-30
On Sat, Mar 30, 2019 at 6:53 AM Eric Biggers [off-list ref] wrote:
poly1305-simd is among the failing algorithms because it loses carry bits when
handling long "all 0xff bytes" inputs.  poly1305-avx2-x86_64.S is definitely
broken, and poly1305-sse2-x86_64.S *might* be too.  I am working on a patch...
Yea.... yikes. I'm kind of souring on this plan of having to deal with
that code in Zinc, versus the extensively studied, fuzzed, and
scrutinized code from Andy. Subtle carry bugs like that are kind of a
testament to my overall plan of preferring formally verified or
heavily used implementations to bespoke ones. This stuff is hard to
get right.

Jason
Thread (32 messages) 32 messages, 6 authors, last reply 2019-03-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help