Imports #
"bytes"
"crypto/internal/fips140"
_ "crypto/internal/fips140/check"
"crypto/internal/fips140/sha256"
"errors"
"crypto/internal/fips140"
"crypto/internal/fips140/hmac"
"errors"
"bytes"
"crypto/internal/fips140"
_ "crypto/internal/fips140/check"
"crypto/internal/fips140/sha256"
"errors"
"crypto/internal/fips140"
"crypto/internal/fips140/hmac"
"errors"
func Key(h func() Hash, password string, salt []byte, iter int, keyLength int) ([]byte, error)
divRoundUp divides x+y-1 by y, rounding up if the result is not whole. This function casts x and y to int64 in order to avoid cases where x+y would overflow int on systems where int is an int32. The result is an int, which is safe as (x+y-1)/y should always fit, regardless of the integer size.
func divRoundUp(x int, y int) int
func init()
func setServiceIndicator(salt []byte, keyLength int)
Generated with Arrow