Versions in this module Expand all Collapse all v1 v1.0.1 May 31, 2022 Changes in this version + const CbcMacBlockSize + var ErrAuthenticationFailed = errors.New("cipher: authentication failed for CCM mode") + var ErrInvalidBlockSize = errors.New("cipher: CCM mode requires 128-bit block") + var ErrInvalidNonceSize = errors.New("cipher: invalid nonce size for CCM mode") + var ErrInvalidTagSize = errors.New("cipher: invalid tag size for CCM mode") + var ErrMaxPayloadSizeReached = errors.New("cipher: max payload size reached for CCM mode") + func NewCCM(block cipher.Block, nonceSize, tagSize int) (cipher.AEAD, error) v1.0.0 Jun 10, 2021