Fix commets for constants

This commit is contained in:
Alexander Neumann 2016-08-21 13:13:05 +02:00
parent d8107f77aa
commit 8e24c51233
1 changed files with 5 additions and 2 deletions

View File

@ -45,8 +45,11 @@ type Key struct {
var KDFParams *crypto.KDFParams
var (
KDFTimeout = 500 * time.Millisecond // timeout for KDF
KDFMemory = 60 // max memory for KDF, in MiB
// KDFTimeout specifies the maximum runtime for the KDF.
KDFTimeout = 500 * time.Millisecond
// KDFMemory limits the memory the KDF is allowed to use.
KDFMemory = 60
)
// createMasterKey creates a new master key in the given backend and encrypts