go_sshkeys/kdf/errs/errs.go

15 lines
508 B
Go
Raw Permalink Normal View History

package errs
2022-03-05 19:22:40 -05:00
import (
"errors"
)
var (
2022-03-07 03:42:09 -05:00
ErrBadData = errors.New("unable to cast data into buffer for KDF")
ErrNoKeyLen = errors.New("no key length configured or bad key length for KDF")
ErrNoRounds = errors.New("no rounds number configured or bad number of rounds for KDF")
ErrNoSalt = errors.New("no salt configured or bad salt value for KDF")
ErrNoSecret = errors.New("no secret configured or bad secret value for KDF")
ErrUnknownKdf = errors.New("unable to determine matching KDF")
2022-03-05 19:22:40 -05:00
)