ReactOS 0.4.16-dev-297-gc569aee
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
14int rijndaelKeySched (MV_U8 k[4][MAXKC], int keyBits, int blockBits, MV_U8 rk[MAXROUNDS+1][4][MAXBC]);
15
16int rijndaelEncrypt128(MV_U8 a[4][MAXBC], MV_U8 rk[MAXROUNDS+1][4][MAXBC], int rounds);
17int rijndaelDecrypt128(MV_U8 a[4][MAXBC], MV_U8 rk[MAXROUNDS+1][4][MAXBC], int rounds);
18
19#endif /* __RIJNDAEL_ALG_H */
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
int k
Definition: mpi.c:3369
#define MAXKC
Definition: mvAesAlg.h:10
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
int rijndaelDecrypt128(MV_U8 a[4][MAXBC], MV_U8 rk[MAXROUNDS+1][4][MAXBC], int rounds)
Definition: mvAesAlg.c:277
int rijndaelKeySched(MV_U8 k[4][MAXKC], int keyBits, int blockBits, MV_U8 rk[MAXROUNDS+1][4][MAXBC])
Definition: mvAesAlg.c:179
#define MAXBC
Definition: mvAesAlg.h:9
unsigned char MV_U8
Definition: mvOs.h:4