aes-internal.c File Reference

AES (Rijndael) cipher. More...

#include "includes.h"
#include "common.h"
#include "crypto.h"
#include "aes_i.h"
Include dependency graph for aes-internal.c:

Go to the source code of this file.

Functions

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

Variables

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

Detailed Description

AES (Rijndael) cipher.

Modifications to public domain implementation:

Copyright
Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file aes-internal.c.


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 787 of file aes-internal.c.


Variable Documentation

const u32 rcon[]
Initial value:
 {
        0x01000000, 0x02000000, 0x04000000, 0x08000000,
        0x10000000, 0x20000000, 0x40000000, 0x80000000,
        0x1B000000, 0x36000000, 
}

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

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:18:46 2009 for hostapd by  doxygen 1.6.1