A few more spelling fixes.

This commit is contained in:
Sebastian Lackner 2019-01-05 02:10:03 +01:00 committed by rfjakob
parent 8c35235c34
commit f17721c364
3 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ Data block, default AES-GCM mode
1-4096 bytes encrypted data 1-4096 bytes encrypted data
16 bytes GHASH 16 bytes GHASH
Data block, AES-SIV mode (used in reverse mode, or when explicitely enabled with `-init -aessiv`) Data block, AES-SIV mode (used in reverse mode, or when explicitly enabled with `-init -aessiv`)
16 bytes nonce 16 bytes nonce
16 bytes SIV 16 bytes SIV

View File

@ -14,8 +14,8 @@ import (
const ( const (
// Number of entries in the dirCache. Three entries work well for two // Number of entries in the dirCache. Three entries work well for two
// (probably also three) parallel tar extracts (hit rate around 92%). // (probably also three) parallel tar extracts (hit rate around 92%).
// Keen in sync with test_helpers.maxCacheFds ! // Keep in sync with test_helpers.maxCacheFds !
// TODO: How to share this constant without causing in import cycle? // TODO: How to share this constant without causing an import cycle?
dirCacheSize = 3 dirCacheSize = 3
// Enable Lookup/Store/Clear debug messages // Enable Lookup/Store/Clear debug messages
enableDebugMessages = false enableDebugMessages = false
@ -52,7 +52,7 @@ type dirCacheStruct struct {
entries [dirCacheSize]dirCacheEntryStruct entries [dirCacheSize]dirCacheEntryStruct
// Where to store the next entry (index into entries) // Where to store the next entry (index into entries)
nextIndex int nextIndex int
// On the first Lookup(), the expire thread is stared, and this flag is set // On the first Lookup(), the expire thread is started, and this flag is set
// to true. // to true.
expireThreadRunning bool expireThreadRunning bool
// Hit rate stats. Evaluated and reset by the expire thread. // Hit rate stats. Evaluated and reset by the expire thread.

View File

@ -123,8 +123,8 @@ func UnmountPanic(dir string) {
} }
// gocryptfs may hold up to maxCacheFds open for caching // gocryptfs may hold up to maxCacheFds open for caching
// Keen in sync with fusefrontend.dirCacheSize // Keep in sync with fusefrontend.dirCacheSize
// TODO: How to share this constant without causing in import cycle?! // TODO: How to share this constant without causing an import cycle?!
const maxCacheFds = 3 const maxCacheFds = 3
// UnmountErr tries to unmount "dir", retrying 10 times, and returns the // UnmountErr tries to unmount "dir", retrying 10 times, and returns the