replay: account for fqcodel reordering
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
99eb7896be
commit
31faf4c159
@ -13,7 +13,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
RekeyAfterMessages = (1 << 60)
|
RekeyAfterMessages = (1 << 60)
|
||||||
RejectAfterMessages = (1 << 64) - (1 << 4) - 1
|
RejectAfterMessages = (1 << 64) - (1 << 13) - 1
|
||||||
RekeyAfterTime = time.Second * 120
|
RekeyAfterTime = time.Second * 120
|
||||||
RekeyAttemptTime = time.Second * 90
|
RekeyAttemptTime = time.Second * 90
|
||||||
RekeyTimeout = time.Second * 5
|
RekeyTimeout = time.Second * 5
|
||||||
|
@ -21,7 +21,7 @@ const (
|
|||||||
const (
|
const (
|
||||||
CounterRedundantBitsLog = _WordLogSize + 3
|
CounterRedundantBitsLog = _WordLogSize + 3
|
||||||
CounterRedundantBits = _WordSize * 8
|
CounterRedundantBits = _WordSize * 8
|
||||||
CounterBitsTotal = 2048
|
CounterBitsTotal = 8192
|
||||||
CounterWindowSize = uint64(CounterBitsTotal - CounterRedundantBits)
|
CounterWindowSize = uint64(CounterBitsTotal - CounterRedundantBits)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user