aboutsummaryrefslogtreecommitdiffstats
path: root/src/noise_protocol.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-06 16:24:24 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-07-06 16:24:24 +0200
commit70179f8c8c2eeb39c9a3666012481a25ce39b338 (patch)
tree036dd744f18f62750d431c0dcdb5687e3041451b /src/noise_protocol.go
parentInitial working full exchange (diff)
downloadwireguard-go-70179f8c8c2eeb39c9a3666012481a25ce39b338.tar.xz
wireguard-go-70179f8c8c2eeb39c9a3666012481a25ce39b338.zip
Fixed broken test
Diffstat (limited to '')
-rw-r--r--src/noise_protocol.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/noise_protocol.go b/src/noise_protocol.go
index 0258288..9a9d918 100644
--- a/src/noise_protocol.go
+++ b/src/noise_protocol.go
@@ -57,8 +57,8 @@ type MessageInitiation struct {
Ephemeral NoisePublicKey
Static [NoisePublicKeySize + poly1305.TagSize]byte
Timestamp [TAI64NSize + poly1305.TagSize]byte
- Mac1 [blake2s.Size128]byte
- Mac2 [blake2s.Size128]byte
+ MAC1 [blake2s.Size128]byte
+ MAC2 [blake2s.Size128]byte
}
type MessageResponse struct {
@@ -67,8 +67,8 @@ type MessageResponse struct {
Receiver uint32
Ephemeral NoisePublicKey
Empty [poly1305.TagSize]byte
- Mac1 [blake2s.Size128]byte
- Mac2 [blake2s.Size128]byte
+ MAC1 [blake2s.Size128]byte
+ MAC2 [blake2s.Size128]byte
}
type MessageTransport struct {