Initial working full exchange
The implementation is now capable of connecting to another wireguard instance, complete a handshake and exchange transport messages.
This commit is contained in:
parent
2aa0daf4d5
commit
59f9316f51
8 changed files with 184 additions and 201 deletions
|
|
@ -7,8 +7,7 @@ import (
|
|||
)
|
||||
|
||||
type KeyPair struct {
|
||||
recv cipher.AEAD
|
||||
recvNonce uint64
|
||||
receive cipher.AEAD
|
||||
send cipher.AEAD
|
||||
sendNonce uint64
|
||||
isInitiator bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue