summaryrefslogtreecommitdiff
path: root/cryptfs/cryptfs.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-13 17:55:07 +0200
committerJakob Unterwurzacher2015-09-13 17:55:07 +0200
commit4acaeb668ea236ded06157fd312463b5faafbdab (patch)
tree33642be24fd265e9d071176f92d52a63e1b4f2b8 /cryptfs/cryptfs.go
parente7ba3c61f1055d740539d608cc521d816d07cddd (diff)
Implement json config storage (not yet encrypted)
Diffstat (limited to 'cryptfs/cryptfs.go')
-rw-r--r--cryptfs/cryptfs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptfs/cryptfs.go b/cryptfs/cryptfs.go
index 40a9024..8927d74 100644
--- a/cryptfs/cryptfs.go
+++ b/cryptfs/cryptfs.go
@@ -8,6 +8,7 @@ import (
)
const (
+ KEY_LEN = 16
NONCE_LEN = 12
AUTH_TAG_LEN = 16
DEFAULT_PLAINBS = 4096