wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
aes-internal.c File Reference

AES (Rijndael) cipher. More...

#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "aes_i.h"

Functions

int rijndaelKeySetupEnc (u32 rk[], const u8 cipherKey[], int keyBits)
 Expand the cipher key into the encryption key schedule. More...
 

Variables

const u32 Te0 [256]
 
const u32 Td0 [256]
 
const u8 Td4s [256]
 
const u8 rcons []
 

Detailed Description

AES (Rijndael) cipher.

Modifications to public domain implementation:

Function Documentation

int rijndaelKeySetupEnc ( u32  rk[],
const u8  cipherKey[],
int  keyBits 
)

Expand the cipher key into the encryption key schedule.

Parameters
returnthe number of rounds for the given cipher key size.

Variable Documentation

const u8 rcons[]
Initial value:
= {
0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1B, 0x36
}