Improved cookie/mac computation code

This commit is contained in:
Mathias Hall-Andersen
2017-08-14 17:09:25 +02:00
parent a4eff12d7f
commit 12e8db2066
10 changed files with 523 additions and 442 deletions

View File

@@ -42,7 +42,7 @@ type Device struct {
underLoadUntil atomic.Value
ratelimiter Ratelimiter
peers map[NoisePublicKey]*Peer
mac MACStateDevice
mac CookieChecker
}
/* Warning: