diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-03 21:28:30 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-03 21:28:30 +0100 |
commit | 1eded2e80094d3419bea64bc10e92df471e4ead7 (patch) | |
tree | 5337199d87780ccab3cac441b54a45a6013ca9d4 /src/socket.h | |
parent | efa85755aa424491d9ee771f548448d3a1b0f4f5 (diff) |
chacha20poly1305: src is different from dst on last piece
This took hours of debugging. In some cases, the src and dst are
different for the last piece, so the incorrect code here resulted in
computing the poly1305 over the wrong data. This lead to packets being
unnecessarily dropped.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/socket.h')
0 files changed, 0 insertions, 0 deletions