Completed noise handshake
This commit is contained in:
parent
25190e4336
commit
cf3a5130d3
5 changed files with 191 additions and 44 deletions
|
|
@ -5,8 +5,8 @@ import (
|
|||
)
|
||||
|
||||
type KeyPair struct {
|
||||
recieveKey cipher.AEAD
|
||||
recieveNonce NoiseNonce
|
||||
sendKey cipher.AEAD
|
||||
sendNonce NoiseNonce
|
||||
recv cipher.AEAD
|
||||
recvNonce NoiseNonce
|
||||
send cipher.AEAD
|
||||
sendNonce NoiseNonce
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue