wpa_supplicant / hostapd 2.0

milenage.h

Go to the documentation of this file.
00001 
00010 #ifndef MILENAGE_H
00011 #define MILENAGE_H
00012 
00013 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k,
00014                        const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik,
00015                        u8 *ck, u8 *res, size_t *res_len);
00016 int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts,
00017                   u8 *sqn);
00018 int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres,
00019                  u8 *kc);
00020 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand,
00021                    const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len,
00022                    u8 *auts);
00023 int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand,
00024                 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s);
00025 int milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand,
00026                    u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
00027 
00028 #endif /* MILENAGE_H */
00029 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines