ReactOS  0.4.13-dev-1148-g9b75b67
mvAesAlg.h
Go to the documentation of this file.
1 /* rijndael-alg-ref.h v2.0 August '99
2  * Reference ANSI C code
3  * authors: Paulo Barreto
4  * Vincent Rijmen, K.U.Leuven
5  */
6 #ifndef __RIJNDAEL_ALG_H
7 #define __RIJNDAEL_ALG_H
8 
9 #define MAXBC (128/32)
10 #define MAXKC (256/32)
11 #define MAXROUNDS 14
12 
13 
14 int rijndaelKeySched (MV_U8 k[4][MAXKC], int keyBits, int blockBits, MV_U8 rk[MAXROUNDS+1][4][MAXBC]);
15 
16 int rijndaelEncrypt128(MV_U8 a[4][MAXBC], MV_U8 rk[MAXROUNDS+1][4][MAXBC], int rounds);
17 int rijndaelDecrypt128(MV_U8 a[4][MAXBC], MV_U8 rk[MAXROUNDS+1][4][MAXBC], int rounds);
18 
19 #endif /* __RIJNDAEL_ALG_H */
int rijndaelKeySched(MV_U8 k[4][MAXKC], int keyBits, int blockBits, MV_U8 rk[MAXROUNDS+1][4][MAXBC])
Definition: mvAesAlg.c:179
int rijndaelDecrypt128(MV_U8 a[4][MAXBC], MV_U8 rk[MAXROUNDS+1][4][MAXBC], int rounds)
Definition: mvAesAlg.c:277
int rijndaelEncrypt128(MV_U8 a[4][MAXBC], MV_U8 rk[MAXROUNDS+1][4][MAXBC], int rounds)
Definition: mvAesAlg.c:244
#define MAXROUNDS
Definition: mvAesAlg.h:11
unsigned char MV_U8
Definition: mvOs.h:4
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
#define MAXBC
Definition: mvAesAlg.h:9
int k
Definition: mpi.c:3369
#define MAXKC
Definition: mvAesAlg.h:10