summaryrefslogtreecommitdiff
path: root/cryptfs/nonce.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-04 14:36:20 +0200
committerJakob Unterwurzacher2015-10-04 14:49:47 +0200
commit89fef80d32708874c95742db0a7b593bcfd3b31d (patch)
treeadffeac51b1e945e32583b07ab0328a3c2539aad /cryptfs/nonce.go
parent5bd08abf4095fb553355c9b007c8ae4a4314b970 (diff)
Run go fmt
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