Improved cookie/mac computation code
This commit is contained in:
parent
a4eff12d7f
commit
12e8db2066
10 changed files with 523 additions and 442 deletions
|
|
@ -56,7 +56,7 @@ type Peer struct {
|
|||
outbound chan *QueueOutboundElement // sequential ordering of work
|
||||
inbound chan *QueueInboundElement // sequential ordering of work
|
||||
}
|
||||
mac MACStatePeer
|
||||
mac CookieGenerator
|
||||
}
|
||||
|
||||
func (device *Device) NewPeer(pk NoisePublicKey) (*Peer, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue