go_chacha20poly1305_openssh/errs.go

12 lines
352 B
Go
Raw Permalink Normal View History

2023-01-10 07:24:12 -05:00
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")
)