Rename KDFParams -> Params

This commit is contained in:
Alexander Neumann
2017-10-28 10:28:29 +02:00
parent f3bff12939
commit 178e946fc7
3 changed files with 17 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ import (
)
// testKDFParams are the parameters for the KDF to be used during testing.
var testKDFParams = crypto.KDFParams{
var testKDFParams = crypto.Params{
N: 128,
R: 1,
P: 1,
@@ -28,7 +28,7 @@ type logger interface {
// TestUseLowSecurityKDFParameters configures low-security KDF parameters for testing.
func TestUseLowSecurityKDFParameters(t logger) {
t.Logf("using low-security KDF parameters for test")
KDFParams = &testKDFParams
Params = &testKDFParams
}
// TestBackend returns a fully configured in-memory backend.