replay: account for fqcodel reordering

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2020-05-19 17:46:29 -06:00
parent 99eb7896be
commit 31faf4c159
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ import (
const (
RekeyAfterMessages = (1 << 60)
RejectAfterMessages = (1 << 64) - (1 << 4) - 1
RejectAfterMessages = (1 << 64) - (1 << 13) - 1
RekeyAfterTime = time.Second * 120
RekeyAttemptTime = time.Second * 90
RekeyTimeout = time.Second * 5

View File

@ -21,7 +21,7 @@ const (
const (
CounterRedundantBitsLog = _WordLogSize + 3
CounterRedundantBits = _WordSize * 8
CounterBitsTotal = 2048
CounterBitsTotal = 8192
CounterWindowSize = uint64(CounterBitsTotal - CounterRedundantBits)
)