[generic] fix localversion detection for linux 2.6.35
[openwrt.git] / target / linux / generic / files / crypto / ocf / kirkwood / cesa / AES / mvAesAlg.h
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 */
This page took 0.050776 seconds and 5 git commands to generate.