Re: Linux counter_validate() RFC6479 replay detection modifies bitmap before authentication?

2023-04-22 Thread Jason A. Donenfeld
On 4/20/23, Leon Woestenberg wrote: > Hello all, > > I am trying to understand a few details in WireGuard protocol, looking > at the Linux kernel WireGuard implementation if I am unsure about the > description from the paper. One question I have: > > Does counter_validate() in the receive path upd

Linux counter_validate() RFC6479 replay detection modifies bitmap before authentication?

2023-04-22 Thread Leon Woestenberg
Hello all, I am trying to understand a few details in WireGuard protocol, looking at the Linux kernel WireGuard implementation if I am unsure about the description from the paper. One question I have: Does counter_validate() in the receive path update the bitmap from the Type 4 counter (their_cou