diff options
Diffstat (limited to 'src/crypto')
| -rw-r--r-- | src/crypto/internal/fips140/pbkdf2/pbkdf2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/internal/fips140/pbkdf2/pbkdf2.go b/src/crypto/internal/fips140/pbkdf2/pbkdf2.go index 2cd9b00241..3a2c8fea26 100644 --- a/src/crypto/internal/fips140/pbkdf2/pbkdf2.go +++ b/src/crypto/internal/fips140/pbkdf2/pbkdf2.go @@ -24,7 +24,7 @@ func Key[Hash hash.Hash](h func() Hash, password string, salt []byte, iter, keyL setServiceIndicator(salt, keyLength) if keyLength <= 0 { - return nil, errors.New("pkbdf2: keyLength must be larger than 0") + return nil, errors.New("pbkdf2: keyLength must be larger than 0") } prf := hmac.New(h, []byte(password)) |
