diff options
author | Jakob Unterwurzacher | 2016-09-25 18:04:44 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-09-25 18:40:29 +0200 |
commit | abd61d968d80a54b366bf65b9dc1fcf2c5bfa1e1 (patch) | |
tree | 80349d34e49c17051e41f7ab3585777ab0b625fa /gocryptfs-xray/xray_main.go | |
parent | b883dd10a62eb8d7ddf589e2878d8e0f65a90e83 (diff) |
contentenc: rename constant "IVBitLen" to "DefaultIVBits" and clarify comment
128-bit IVs are NOT used everywhere.
Diffstat (limited to 'gocryptfs-xray/xray_main.go')
-rw-r--r-- | gocryptfs-xray/xray_main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gocryptfs-xray/xray_main.go b/gocryptfs-xray/xray_main.go index 81e4c10..8ebed8e 100644 --- a/gocryptfs-xray/xray_main.go +++ b/gocryptfs-xray/xray_main.go @@ -12,7 +12,7 @@ import ( ) const ( - IVLen = contentenc.IVBitLen / 8 + IVLen = contentenc.DefaultIVBits / 8 blockSize = contentenc.DefaultBS + IVLen + cryptocore.AuthTagLen ) |