Documentation ¶
Index ¶
- func NewCCM(cipher go_cipher.Block) (go_cipher.AEAD, error)
- func NewCCMWithNonceAndTagSize(cipher go_cipher.Block, nonceSize, tagSize int) (go_cipher.AEAD, error)
- func NewCCMWithNonceSize(cipher go_cipher.Block, size int) (go_cipher.AEAD, error)
- func NewCCMWithTagSize(cipher go_cipher.Block, tagSize int) (go_cipher.AEAD, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCCM ¶
NewCCM returns the given 128-bit, block cipher wrapped in CCM with the standard nonce length.
func NewCCMWithNonceAndTagSize ¶
func NewCCMWithNonceSize ¶
NewCCMWithNonceSize returns the given 128-bit, block cipher wrapped in CCM, which accepts nonces of the given length. The length must not be zero.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.