mirror of
https://github.com/octoleo/restic.git
synced 2024-11-02 19:49:44 +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 KDFParams *crypto.KDFParams
|
||||||
|
|
||||||
var (
|
var (
|
||||||
KDFTimeout = 500 * time.Millisecond // timeout for KDF
|
// KDFTimeout specifies the maximum runtime for the KDF.
|
||||||
KDFMemory = 60 // max memory for KDF, in MiB
|
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
|
// createMasterKey creates a new master key in the given backend and encrypts
|
||||||
|
Loading…
Reference in New Issue
Block a user