ct32

package
v0.0.0-...-0a714cd Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: MIT Imports: 3 Imported by: 4

Documentation

Overview

Package ct32 is a 32 bit optimized AES implementation that processes 2 blocks at a time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoundKey

func AddRoundKey(q *[8]uint32, sk []uint32)

func InvMixColumns

func InvMixColumns(q *[8]uint32)

func InvSbox

func InvSbox(q *[8]uint32)

func InvShiftRows

func InvShiftRows(q *[8]uint32)

func Keysched

func Keysched(compSkey []uint32, key []byte) int

func Load4xU32

func Load4xU32(q *[8]uint32, src []byte)

func Load8xU32

func Load8xU32(q *[8]uint32, src0, src1 []byte)

func MixColumns

func MixColumns(q *[8]uint32)

func NewCipher

func NewCipher(key []byte) cipher.Block

NewCipher creates and returns a new cipher.Block, backed by a Impl32.

func Ortho

func Ortho(q []uint32)

func RkeyOrtho

func RkeyOrtho(q []uint32, key []byte)

func Sbox

func Sbox(q *[8]uint32)

func ShiftRows

func ShiftRows(q *[8]uint32)

func SkeyExpand

func SkeyExpand(skey []uint32, numRounds int, compSkey []uint32)

func Store4xU32

func Store4xU32(dst []byte, q *[8]uint32)

func Store8xU32

func Store8xU32(dst0, dst1 []byte, q *[8]uint32)

Types

This section is empty.

Jump to

Keyboard shortcuts

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