Documentation ¶
Index ¶
Constants ¶
View Source
const BlockSize = 16
Variables ¶
This section is empty.
Functions ¶
func MemsetUint32 ¶
func NewCipher ¶
NewCipher creates and returns a new cipher.Block. The key argument should be the LEA key, either 16, 24, or 32 bytes to select LEA-128, LEA-192, or LEA-256.
func Uint32ToBytes ¶
func Uint32sToBytes ¶
Types ¶
type KeySizeError ¶
type KeySizeError int
func (KeySizeError) Error ¶
func (k KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.