aboutsummaryrefslogtreecommitdiffstats
path: root/src/keypair.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-24 22:03:52 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-06-24 22:03:52 +0200
commitcf3a5130d3aa53fc56c7c3194ee326d5a1d21970 (patch)
treef8d75da5338e7ef8115ee4da0f41ed7edd5f8fea /src/keypair.go
parentRestructuring of noise impl. (diff)
downloadwireguard-go-cf3a5130d3aa53fc56c7c3194ee326d5a1d21970.tar.xz
wireguard-go-cf3a5130d3aa53fc56c7c3194ee326d5a1d21970.zip
Completed noise handshake
Diffstat (limited to 'src/keypair.go')
-rw-r--r--src/keypair.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keypair.go b/src/keypair.go
index 22a8244..e434c74 100644
--- a/src/keypair.go
+++ b/src/keypair.go
@@ -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
}