mirror of
https://github.com/octoleo/restic.git
synced 2024-11-02 11:46:36 +00:00
Fix commets for constants
This commit is contained in:
parent
d8107f77aa
commit
8e24c51233
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user