summaryrefslogtreecommitdiff
path: root/cryptfs/nonce.go
diff options
context:
space:
mode:
Diffstat (limited to 'cryptfs/nonce.go')
-rw-r--r--cryptfs/nonce.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cryptfs/nonce.go b/cryptfs/nonce.go
index 3e464a3..80134c3 100644
--- a/cryptfs/nonce.go
+++ b/cryptfs/nonce.go
@@ -1,17 +1,17 @@
package cryptfs
import (
+ "crypto/rand"
"encoding/binary"
"encoding/hex"
"sync"
- "crypto/rand"
)
type nonce96 struct {
- lock sync.Mutex
+ lock sync.Mutex
high32 uint32
- low64 uint64
- ready int
+ low64 uint64
+ ready int
}
var gcmNonce nonce96