wpa_supplicant / hostapd 2.0
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

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

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:

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

This software may be distributed under the terms of the BSD license. See README for more details.


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.

Variable Documentation

const u8 rcons[]
Initial value:
 {
        0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1B, 0x36
        
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines