Completed noise handshake

This commit is contained in:
Mathias Hall-Andersen
2017-06-24 22:03:52 +02:00
parent 25190e4336
commit cf3a5130d3
5 changed files with 191 additions and 44 deletions

View File

@@ -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
}