summaryrefslogtreecommitdiffhomepage
path: root/Tunables.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-19 16:36:46 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-19 16:36:46 -0400
commit0afe2e6177b48078db381d26334d3f4fd13363da (patch)
treece23c42a9273394c0738978a6e0724d69b90777a /Tunables.hs
parentfdc80b7a2416782d3208acf154fb8afb7fb2279b (diff)
downloadkeysafe-0afe2e6177b48078db381d26334d3f4fd13363da.tar.gz
chunking
This changed the storage format, not that it matters because nobody is using it yet.
Diffstat (limited to 'Tunables.hs')
-rw-r--r--Tunables.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tunables.hs b/Tunables.hs
index 77c3296..ce7aa6e 100644
--- a/Tunables.hs
+++ b/Tunables.hs
@@ -36,7 +36,8 @@ data Tunables = Tunables
{ shareParams :: ShareParams
, objectSize :: Int
-- ^ a StorableObject is exactly this many bytes in size
- -- (must be a multiple of AES block size 16)
+ -- (must be a multiple of AES block size 16, and cannot be smaller
+ -- than 256 bytes)
, nameGenerationTunable :: NameGenerationTunable
, keyEncryptionKeyTunable :: KeyEncryptionKeyTunable
, encryptionTunable :: EncryptionTunable