zuc

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Zuc

func Zuc(k, iv []byte, wlength uint32) []uint32

Types

type Br

type Br struct {
	// contains filtered or unexported fields
}

Br : bit-reorganization, the middle layer of the zuc algorithm.

It extracts 128 bits from the cells of the LFSR and forms 4 of 32-bit words. (x0, x1, x2, x3)

type Fsm

type Fsm struct {
	// contains filtered or unexported fields
}

Fsm : nonlinear function, the bottom layer of the zuc algorithm.

It has 2 of 32-bit memory cells. (r0, r1)

type Lfsr

type Lfsr struct {
	// contains filtered or unexported fields
}

Lfsr : linear feedback shift register, the top layer of the zuc algorithm.

It has 16 of 31-bit cells (s0, s1,…, s15).

Jump to

Keyboard shortcuts

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