2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-06 11:00:48 +00:00

Fix commets for constants

This commit is contained in:
Alexander Neumann 2016-08-21 13:13:05 +02:00
parent d8107f77aa
commit 8e24c51233

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