summaryrefslogtreecommitdiff
path: root/cryptfs/cryptfs_names.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-11-27 22:18:36 +0100
committerJakob Unterwurzacher2015-11-27 22:18:36 +0100
commit6acd772cf908908e3b0d817a78e64f98faaa8b7b (patch)
treed4ac426a5cf60a89b1b760bf392b3ba481c0d07c /cryptfs/cryptfs_names.go
parent798e5eb5e7c96384f40567bf7426621ca8373e15 (diff)
diriv: Define "DirIV" feature flag
(unused so far)
Diffstat (limited to 'cryptfs/cryptfs_names.go')
-rw-r--r--cryptfs/cryptfs_names.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/cryptfs/cryptfs_names.go b/cryptfs/cryptfs_names.go
index 37a769f..2a5f158 100644
--- a/cryptfs/cryptfs_names.go
+++ b/cryptfs/cryptfs_names.go
@@ -65,7 +65,6 @@ func (be *CryptFS) encryptName(plainName string, iv []byte) string {
return cipherName64
}
-
// TranslatePathZeroIV - encrypt or decrypt path using CBC with a constant all-zero IV.
// Just splits the string on "/" and hands the parts to encryptName() / decryptName()
func (be *CryptFS) TranslatePathZeroIV(path string, op int) (string, error) {
@@ -155,5 +154,3 @@ func (be *CryptFS) unPad16(orig []byte) ([]byte, error) {
}
return orig[0:newLen], nil
}
-
-