summaryrefslogtreecommitdiff
path: root/device/noise-protocol.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--device/noise-protocol.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/noise-protocol.go b/device/noise-protocol.go
index 5669381..1068701 100644
--- a/device/noise-protocol.go
+++ b/device/noise-protocol.go
@@ -121,7 +121,7 @@ type Handshake struct {
mutex sync.RWMutex
hash [blake2s.Size]byte // hash value
chainKey [blake2s.Size]byte // chain key
- presharedKey NoiseSymmetricKey // psk
+ presharedKey NoisePresharedKey // psk
localEphemeral NoisePrivateKey // ephemeral secret key
localIndex uint32 // used to clear hash-table
remoteIndex uint32 // index for sending