Documentation
¶
Index ¶
- Constants
- func AES128Decrypt(ct []byte, k common.Aes128Key) ([]byte, error)
- func AES128Encrypt(pt []byte, k common.Aes128Key) ([]byte, error)
- func AddRoundKey(s, key common.AesState) common.AesState
- func ConvertHexStringsToBytesAndCheck(t *testing.T, s string) []byte
- func GF_AddByte(a, b byte) byte
- func GF_AddWord(a, b common.AesWord) common.AesWord
- func GF_Multiply(a, b byte) byte
- func GF_MultiplyBy2(a byte) byte
- func HexStringToBytes(s string) ([]byte, error)
- func InvMixColumns(s common.AesState) common.AesState
- func InvShiftRows(s common.AesState) common.AesState
- func InvSubBytes(s common.AesState) common.AesState
- func KeyExpansion(key []byte) []byte
- func KeyExpansionEic(key []byte) []byte
- func MixColumns(s common.AesState) common.AesState
- func ShiftRows(s common.AesState) common.AesState
- func SubBytes(s common.AesState) common.AesState
Constants ¶
View Source
const GF_FixedPoly = 0x11b
Variables ¶
This section is empty.
Functions ¶
func GF_AddByte ¶
GF in here stand for Galois Field. Refer more in Advanced Encryption Standard (AES)
func GF_Multiply ¶
func GF_MultiplyBy2 ¶
func HexStringToBytes ¶
func KeyExpansion ¶
func KeyExpansionEic ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.