aboutsummaryrefslogtreecommitdiffstats
path: root/device/noise-protocol.go
diff options
context:
space:
mode:
authorJonathan Tooker <jonathan.tooker@netprotect.com>2019-10-21 15:52:26 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2019-10-22 11:51:25 +0200
commitf7d0edd2ecf5f7f5aed188823de0a122691a7de6 (patch)
tree9aac319a2e6bc9a7d66e9586a606f46c4defbacf /device/noise-protocol.go
parentdevice: allow blackholing sockets (diff)
downloadwireguard-go-f7d0edd2ecf5f7f5aed188823de0a122691a7de6.tar.xz
wireguard-go-f7d0edd2ecf5f7f5aed188823de0a122691a7de6.zip
global: fix a few typos courtesy of codespell
Signed-off-by: Jonathan Tooker <jonathan.tooker@netprotect.com>
Diffstat (limited to 'device/noise-protocol.go')
-rw-r--r--device/noise-protocol.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/device/noise-protocol.go b/device/noise-protocol.go
index 88c6aae..1c08e0a 100644
--- a/device/noise-protocol.go
+++ b/device/noise-protocol.go
@@ -39,13 +39,13 @@ const (
)
const (
- MessageInitiationSize = 148 // size of handshake initation message
+ MessageInitiationSize = 148 // size of handshake initiation message
MessageResponseSize = 92 // size of response message
MessageCookieReplySize = 64 // size of cookie reply message
- MessageTransportHeaderSize = 16 // size of data preceeding content in transport message
+ MessageTransportHeaderSize = 16 // size of data preceding content in transport message
MessageTransportSize = MessageTransportHeaderSize + poly1305.TagSize // size of empty transport
MessageKeepaliveSize = MessageTransportSize // size of keepalive
- MessageHandshakeSize = MessageInitiationSize // size of largest handshake releated message
+ MessageHandshakeSize = MessageInitiationSize // size of largest handshake related message
)
const (