Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAuthFailed is returned when the message authentication is invalid due // to tampering. ErrAuthFailed = errors.New("message authentication failed") // ErrInvalidKey is returned when the provided key is the wrong size. ErrInvalidKey = errors.New("invalid key size") // ErrInvalidNonce is returned when the provided nonce is the wrong size. ErrInvalidNonce = errors.New("invalid nonce size") // KeySize is the required size of ChaCha20 keys. KeySize = chacha20guard.KeySize )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.