From 00a712b4d1e68bb3c156eb8f97fbb89d684a7e92 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 13 Dec 2015 20:10:52 +0100 Subject: go fmt ...and minimal comment changes. --- cryptfs/cryptfs.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cryptfs/cryptfs.go') diff --git a/cryptfs/cryptfs.go b/cryptfs/cryptfs.go index 5832e36..58cca74 100644 --- a/cryptfs/cryptfs.go +++ b/cryptfs/cryptfs.go @@ -24,7 +24,7 @@ type CryptFS struct { plainBS uint64 cipherBS uint64 // Stores an all-zero block of size cipherBS - allZeroBlock []byte + allZeroBlock []byte // DirIV cache for filename encryption DirIVCacheEnc DirIVCache } @@ -53,11 +53,11 @@ func NewCryptFS(key []byte, useOpenssl bool, plaintextNames bool) *CryptFS { cipherBS := DEFAULT_PLAINBS + NONCE_LEN + AUTH_TAG_LEN return &CryptFS{ - blockCipher: b, - gcm: gcm, - plainBS: DEFAULT_PLAINBS, - cipherBS: uint64(cipherBS), - allZeroBlock: make([]byte, cipherBS), + blockCipher: b, + gcm: gcm, + plainBS: DEFAULT_PLAINBS, + cipherBS: uint64(cipherBS), + allZeroBlock: make([]byte, cipherBS), } } -- cgit v1.2.3