Versions in this module Expand all Collapse all v0 v0.13.6 Aug 13, 2022 Changes in this version + const GF128_FDBK + func NewCCM(cipher goCipher.Block) (goCipher.AEAD, error) + func NewCCMWithNonceAndTagSize(cipher goCipher.Block, nonceSize, tagSize int) (goCipher.AEAD, error) + func NewCCMWithNonceSize(cipher goCipher.Block, size int) (goCipher.AEAD, error) + func NewCCMWithTagSize(cipher goCipher.Block, tagSize int) (goCipher.AEAD, error) + type CipherCreator func([]byte) (_cipher.Block, error) + type XTSBlockMode interface + BlockSize func() int + Decrypt func(dst, src []byte, sectorNum uint64) + Encrypt func(dst, src []byte, sectorNum uint64) + func NewXTS(cipherFunc CipherCreator, key []byte) (XTSBlockMode, error)