Codebase list sipp / b977de0d-6c28-4ef9-b1cc-7e354c082a92/main rijndael.h
b977de0d-6c28-4ef9-b1cc-7e354c082a92/main

Tree @b977de0d-6c28-4ef9-b1cc-7e354c082a92/main (Download .tar.gz)

rijndael.h @b977de0d-6c28-4ef9-b1cc-7e354c082a92/mainraw · history · blame

/*-------------------------------------------------------------------
 *          Example algorithms f1, f1*, f2, f3, f4, f5, f5*
 *-------------------------------------------------------------------
 *
 *  A sample implementation of the example 3GPP authentication and
 *  key agreement functions f1, f1*, f2, f3, f4, f5 and f5*.  This is
 *  a byte-oriented implementation of the functions, and of the block
 *  cipher kernel function Rijndael.
 *
 *  This has been coded for clarity, not necessarily for efficiency.
 *
 *  The functions f2, f3, f4 and f5 share the same inputs and have
 *  been coded together as a single function.  f1, f1* and f5* are
 *  all coded separately.
 *
 *-----------------------------------------------------------------*/

#ifndef RIJNDAEL_H
#define RIJNDAEL_H


void RijndaelKeySchedule( u8 key[16] );
void RijndaelEncrypt( u8 input[16], u8 output[16] );


#endif