/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  and  are protected by Federal copyright law. They may not be disclosed
 *  to  third  parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 */

#ifndef __AES_IMP_H__
#define __AES_IMP_H__

#include "iostypes.h"

#define __AES_MAXKC	(256/32)
#define __AES_MAXKB	(256/8)
#define __AES_MAXNR	14

int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits);
int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits);
void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16]);
void rijndaelDecrypt(const u32 rk[], int Nr, const u8 ct[16], u8 pt[16]);

#endif /* __AES_IMP_H__ */
