aboutsummaryrefslogtreecommitdiff
path: root/device/keypair.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/keypair.go')
-rw-r--r--device/keypair.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/keypair.go b/device/keypair.go
index 254e696..27db779 100644
--- a/device/keypair.go
+++ b/device/keypair.go
@@ -23,7 +23,7 @@ import (
*/
type Keypair struct {
- sendNonce uint64
+ sendNonce uint64 // accessed atomically
send cipher.AEAD
receive cipher.AEAD
replayFilter replay.Filter