go_chacha20poly1305_openssh/errs.go

12 lines
352 B
Go

package cc20p1305ssh
import (
`errors`
)
var (
ErrInvalidKeySize error = errors.New("a key of invalid size was provided; it must be at least 32 bytes")
ErrInvalidTag = errors.New("the provided tag does not match the ciphertext")
ErrInvalidTagSize = errors.New("a tag of invalid size was provided; it must be at least 16 bytes")
)