Versions in this module Expand all Collapse all v0 v0.13.6 Aug 13, 2022 Changes in this version + const RoundWords + func NewCipher(key, iv []byte) (cipher.Stream, error) + func NewEEACipher(key []byte, count, bearer, direction uint32) (cipher.Stream, error) + type ZUC128Mac struct + func NewEIAHash(key []byte, count, bearer, direction uint32) (*ZUC128Mac, error) + func NewHash(key, iv []byte) (*ZUC128Mac, error) + func (c *ZUC128Mac) XORKeyStream(dst, src []byte) + func (m *ZUC128Mac) BlockSize() int + func (m *ZUC128Mac) Finish(p []byte, nbits int) []byte + func (m *ZUC128Mac) Reset() + func (m *ZUC128Mac) Size() int + func (m *ZUC128Mac) Sum(in []byte) []byte + func (m *ZUC128Mac) Write(p []byte) (nn int, err error) + type ZUC256Mac struct + func NewHash256(key, iv []byte, tagSize int) (*ZUC256Mac, error) + func (c *ZUC256Mac) XORKeyStream(dst, src []byte) + func (m *ZUC256Mac) BlockSize() int + func (m *ZUC256Mac) Finish(p []byte, nbits int) []byte + func (m *ZUC256Mac) Reset() + func (m *ZUC256Mac) Size() int + func (m *ZUC256Mac) Sum(in []byte) []byte + func (m *ZUC256Mac) Write(p []byte) (nn int, err error)