aes_i.h File Reference

#include "aes.h"
Include dependency graph for aes_i.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define AES_PRIV_SIZE   (4 * 44)
#define AES_SMALL_TABLES
#define GETU32(pt)
#define PUTU32(ct, st)
#define RCON(i)   rcon[(i)]
#define TD0(i)   Td0[((i) >> 24) & 0xff]
#define TD0_(i)   Td0[(i) & 0xff]
#define TD1(i)   Td1[((i) >> 16) & 0xff]
#define TD1_(i)   Td1[(i) & 0xff]
#define TD2(i)   Td2[((i) >> 8) & 0xff]
#define TD2_(i)   Td2[(i) & 0xff]
#define TD3(i)   Td3[(i) & 0xff]
#define TD3_(i)   Td3[(i) & 0xff]
#define TD41(i)   (Td4[((i) >> 24) & 0xff] & 0xff000000)
#define TD42(i)   (Td4[((i) >> 16) & 0xff] & 0x00ff0000)
#define TD43(i)   (Td4[((i) >> 8) & 0xff] & 0x0000ff00)
#define TD44(i)   (Td4[(i) & 0xff] & 0x000000ff)
#define TE0(i)   Te0[((i) >> 24) & 0xff]
#define TE1(i)   Te1[((i) >> 16) & 0xff]
#define TE2(i)   Te2[((i) >> 8) & 0xff]
#define TE3(i)   Te3[(i) & 0xff]
#define TE4(i)   (Te4[(i)] & 0x000000ff)
#define TE41(i)   (Te4[((i) >> 24) & 0xff] & 0xff000000)
#define TE414(i)   (Te4[((i) >> 24) & 0xff] & 0x000000ff)
#define TE42(i)   (Te4[((i) >> 16) & 0xff] & 0x00ff0000)
#define TE421(i)   (Te4[((i) >> 16) & 0xff] & 0xff000000)
#define TE43(i)   (Te4[((i) >> 8) & 0xff] & 0x0000ff00)
#define TE432(i)   (Te4[((i) >> 8) & 0xff] & 0x00ff0000)
#define TE44(i)   (Te4[(i) & 0xff] & 0x000000ff)
#define TE443(i)   (Te4[(i) & 0xff] & 0x0000ff00)

Functions

void rijndaelKeySetupEnc (u32 rk[], const u8 cipherKey[])

Variables

const u32 rcon [10]
const u8 rcons [10]
const u32 Td0 [256]
const u32 Td1 [256]
const u32 Td2 [256]
const u32 Td3 [256]
const u32 Td4 [256]
const u8 Td4s [256]
const u32 Te0 [256]
const u32 Te1 [256]
const u32 Te2 [256]
const u32 Te3 [256]
const u32 Te4 [256]

Define Documentation

#define AES_PRIV_SIZE   (4 * 44)

Definition at line 118 of file aes_i.h.

#define AES_SMALL_TABLES

Definition at line 21 of file aes_i.h.

#define GETU32 ( pt   ) 
Value:
(((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ \
((u32)(pt)[2] <<  8) ^ ((u32)(pt)[3]))

Definition at line 111 of file aes_i.h.

#define PUTU32 ( ct,
st   ) 
Value:
{ \
(ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); \
(ct)[2] = (u8)((st) >>  8); (ct)[3] = (u8)(st); }

Definition at line 113 of file aes_i.h.

#define RCON (  )     rcon[(i)]

Definition at line 39 of file aes_i.h.

#define TD0 (  )     Td0[((i) >> 24) & 0xff]

Definition at line 55 of file aes_i.h.

#define TD0_ (  )     Td0[(i) & 0xff]

Definition at line 63 of file aes_i.h.

#define TD1 (  )     Td1[((i) >> 16) & 0xff]

Definition at line 56 of file aes_i.h.

#define TD1_ (  )     Td1[(i) & 0xff]

Definition at line 64 of file aes_i.h.

#define TD2 (  )     Td2[((i) >> 8) & 0xff]

Definition at line 57 of file aes_i.h.

#define TD2_ (  )     Td2[(i) & 0xff]

Definition at line 65 of file aes_i.h.

#define TD3 (  )     Td3[(i) & 0xff]

Definition at line 58 of file aes_i.h.

#define TD3_ (  )     Td3[(i) & 0xff]

Definition at line 66 of file aes_i.h.

#define TD41 (  )     (Td4[((i) >> 24) & 0xff] & 0xff000000)

Definition at line 59 of file aes_i.h.

#define TD42 (  )     (Td4[((i) >> 16) & 0xff] & 0x00ff0000)

Definition at line 60 of file aes_i.h.

#define TD43 (  )     (Td4[((i) >> 8) & 0xff] & 0x0000ff00)

Definition at line 61 of file aes_i.h.

#define TD44 (  )     (Td4[(i) & 0xff] & 0x000000ff)

Definition at line 62 of file aes_i.h.

#define TE0 (  )     Te0[((i) >> 24) & 0xff]

Definition at line 41 of file aes_i.h.

#define TE1 (  )     Te1[((i) >> 16) & 0xff]

Definition at line 42 of file aes_i.h.

#define TE2 (  )     Te2[((i) >> 8) & 0xff]

Definition at line 43 of file aes_i.h.

#define TE3 (  )     Te3[(i) & 0xff]

Definition at line 44 of file aes_i.h.

#define TE4 (  )     (Te4[(i)] & 0x000000ff)

Definition at line 53 of file aes_i.h.

#define TE41 (  )     (Te4[((i) >> 24) & 0xff] & 0xff000000)

Definition at line 45 of file aes_i.h.

#define TE414 (  )     (Te4[((i) >> 24) & 0xff] & 0x000000ff)

Definition at line 52 of file aes_i.h.

#define TE42 (  )     (Te4[((i) >> 16) & 0xff] & 0x00ff0000)

Definition at line 46 of file aes_i.h.

#define TE421 (  )     (Te4[((i) >> 16) & 0xff] & 0xff000000)

Definition at line 49 of file aes_i.h.

#define TE43 (  )     (Te4[((i) >> 8) & 0xff] & 0x0000ff00)

Definition at line 47 of file aes_i.h.

#define TE432 (  )     (Te4[((i) >> 8) & 0xff] & 0x00ff0000)

Definition at line 50 of file aes_i.h.

#define TE44 (  )     (Te4[(i) & 0xff] & 0x000000ff)

Definition at line 48 of file aes_i.h.

#define TE443 (  )     (Te4[(i) & 0xff] & 0x0000ff00)

Definition at line 51 of file aes_i.h.


Function Documentation

void rijndaelKeySetupEnc ( u32  rk[],
const u8  cipherKey[] 
)

Expand the cipher key into the encryption key schedule.

Returns:
the number of rounds for the given cipher key size.

Definition at line 786 of file aes-internal.c.


Variable Documentation

const u32 rcon[10]

Definition at line 736 of file aes-internal.c.

const u8 rcons[10]
const u32 Td0[256]

Definition at line 404 of file aes-internal.c.

const u32 Td1[256]

Definition at line 471 of file aes-internal.c.

const u32 Td2[256]

Definition at line 537 of file aes-internal.c.

const u32 Td3[256]

Definition at line 604 of file aes-internal.c.

const u32 Td4[256]

Definition at line 670 of file aes-internal.c.

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

Definition at line 71 of file aes-internal.c.

const u32 Te1[256]

Definition at line 138 of file aes-internal.c.

const u32 Te2[256]

Definition at line 204 of file aes-internal.c.

const u32 Te3[256]

Definition at line 270 of file aes-internal.c.

const u32 Te4[256]

Definition at line 337 of file aes-internal.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:08 2013