kasumi

package
v1.0.2073 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BlockSize = 8
	KeySize   = 16
)

Variables

View Source
var C = []uint16{
	0x0123, 0x4567, 0x89AB, 0xCDEF,
	0xFEDC, 0xBA98, 0x7654, 0x3210,
}
View Source
var S7 = []uint16{}/* 128 elements not displayed */
View Source
var S9 = []uint16{}/* 512 elements not displayed */

Functions

func NewCipher

func NewCipher(key []byte) (cipher.Block, error)

NewCipher creates and returns a new cipher.Block.

func ROL16

func ROL16(a, b uint16) uint16

Types

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL