aboutsummaryrefslogtreecommitdiffstats
path: root/device/noise-helpers.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-14 09:09:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-14 09:09:52 +0200
commit3bf41b06ae6ec9a558d3b1f1f315509ccef97010 (patch)
tree2d0d03da4e9d344c5de5dc01f11b5900025dff35 /device/noise-helpers.go
parentwintun: registry: fix nits (diff)
downloadwireguard-go-3bf41b06ae6ec9a558d3b1f1f315509ccef97010.tar.xz
wireguard-go-3bf41b06ae6ec9a558d3b1f1f315509ccef97010.zip
global: regroup all imports
Diffstat (limited to 'device/noise-helpers.go')
-rw-r--r--device/noise-helpers.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/device/noise-helpers.go b/device/noise-helpers.go
index 4b09bf3..03e6ec6 100644
--- a/device/noise-helpers.go
+++ b/device/noise-helpers.go
@@ -9,9 +9,10 @@ import (
"crypto/hmac"
"crypto/rand"
"crypto/subtle"
+ "hash"
+
"golang.org/x/crypto/blake2s"
"golang.org/x/crypto/curve25519"
- "hash"
)
/* KDF related functions.