ct64

package
v0.0.0-...-26d1add Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2019 License: MIT Imports: 3 Imported by: 7

Documentation

Overview

Package ct64 is a 64 bit optimized AES implementation that processes 4 blocks at a time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoundKey

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

func InterleaveIn

func InterleaveIn(q0, q1 *uint64, w []uint32)

func InterleaveOut

func InterleaveOut(w []uint32, q0, q1 uint64)

func InvMixColumns

func InvMixColumns(q *[8]uint64)

func InvSbox

func InvSbox(q *[8]uint64)

func InvShiftRows

func InvShiftRows(q *[8]uint64)

func Keysched

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

func Load16xU32

func Load16xU32(q *[8]uint64, src0, src1, src2, src3 []byte)

func Load4xU32

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

func MixColumns

func MixColumns(q *[8]uint64)

func NewCipher

func NewCipher(key []byte) cipher.Block

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

func Ortho

func Ortho(q []uint64)

func RkeyOrtho

func RkeyOrtho(qq []uint64, key []byte)

func Sbox

func Sbox(q *[8]uint64)

func ShiftRows

func ShiftRows(q *[8]uint64)

func SkeyExpand

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

func Store16xU32

func Store16xU32(dst0, dst1, dst2, dst3 []byte, q *[8]uint64)

func Store4xU32

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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