blob: 4e728a5b3e7c77d4e492e2c90e551ffbccd15dd2 [file] [log] [blame]
Benny Prijono7977f9f2007-10-10 11:37:56 +00001/*-------------------------------------------------------------------
2 * Example algorithms f1, f1*, f2, f3, f4, f5, f5*
3 *-------------------------------------------------------------------
4 *
5 * A sample implementation of the example 3GPP authentication and
6 * key agreement functions f1, f1*, f2, f3, f4, f5 and f5*. This is
7 * a byte-oriented implementation of the functions, and of the block
8 * cipher kernel function Rijndael.
9 *
10 * This has been coded for clarity, not necessarily for efficiency.
11 *
12 * The functions f2, f3, f4 and f5 share the same inputs and have
13 * been coded together as a single function. f1, f1* and f5* are
14 * all coded separately.
15 *
16 *-----------------------------------------------------------------*/
17
18#ifndef RIJNDAEL_H
19#define RIJNDAEL_H
20
21
22void RijndaelKeySchedule( u8 key[16] );
23void RijndaelEncrypt( u8 input[16], u8 output[16] );
24
25
26#endif