aes

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Te0 = []uint32{}/* 256 elements not displayed */
View Source
var Te1 = []uint32{}/* 256 elements not displayed */
View Source
var Te2 = []uint32{}/* 256 elements not displayed */
View Source
var Te3 = []uint32{}/* 256 elements not displayed */
View Source
var Te4 = []uint32{}/* 256 elements not displayed */

Functions

func AesEncrypt

func AesEncrypt(rk []uint32, nrounds int, plaintext []uint8, ciphertext []uint8)

func AesSetupEnc

func AesSetupEnc(rk []uint32, key []uint8, keybits int) int

*

  • Expand the cipher key into the encryption key schedule. *
  • @return the number of rounds for the given cipher key size.

func GETU32

func GETU32(key []uint8, index int) uint32

func PUTU32

func PUTU32(ciphertext []uint8, st uint32)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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