28 #ifndef _PRIVATE_RIJNDAEL_H
29 #define _PRIVATE_RIJNDAEL_H
31 #define AES_MAXKEYBITS (256)
32 #define AES_MAXKEYBYTES (AES_MAXKEYBITS/8)
34 #define AES_MAXROUNDS 14
36 typedef unsigned char u8;
37 typedef unsigned short u16;
38 typedef unsigned int u32;
40 int rijndaelKeySetupEnc(
unsigned int [],
const unsigned char [],
int);
41 void rijndaelEncrypt(
const unsigned int [],
int,
const u8 [16], u8 [16]);
47 u32 ek[4*(AES_MAXROUNDS + 1)];
48 u32 dk[4*(AES_MAXROUNDS + 1)];
51 void rijndael_set_key(rijndael_ctx *, u_char *,
int,
int);
52 void rijndael_decrypt(rijndael_ctx *, u_char *, u_char *);
53 void rijndael_encrypt(rijndael_ctx *, u_char *, u_char *);