diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-10-10 11:37:56 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-10-10 11:37:56 +0000 |
commit | a3354959d1493f86392296ab0e78512e633abf40 (patch) | |
tree | 8e73a0994d92c5b97d77cf43165f2bc84d5313a3 /third_party/milenage/rijndael.h | |
parent | 0cb2d5b9e84601bb822a300c48a4ea8397d85850 (diff) |
Ticket #396: initial implementation of digest AKA (akav1-md5) authentication for IMS/3GPP
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1488 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/milenage/rijndael.h')
-rw-r--r-- | third_party/milenage/rijndael.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/milenage/rijndael.h b/third_party/milenage/rijndael.h new file mode 100644 index 00000000..4e728a5b --- /dev/null +++ b/third_party/milenage/rijndael.h @@ -0,0 +1,26 @@ +/*------------------------------------------------------------------- + * 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 |