17void milenage_generate(
const u8 *opc,
const u8 *amf,
const u8 *k,
18 const u8 *sqn,
const u8 *_rand, u8 *autn, u8 *ik,
19 u8 *ck, u8 *res,
size_t *res_len);
20int milenage_auts(
const u8 *opc,
const u8 *k,
const u8 *_rand,
const u8 *auts,
22int gsm_milenage(
const u8 *opc,
const u8 *k,
const u8 *_rand, u8 *sres,
24int milenage_check(
const u8 *opc,
const u8 *k,
const u8 *sqn,
const u8 *_rand,
25 const u8 *autn, u8 *ik, u8 *ck, u8 *res,
size_t *res_len,
27int milenage_f1(
const u8 *opc,
const u8 *k,
const u8 *_rand,
28 const u8 *sqn,
const u8 *amf, u8 *mac_a, u8 *mac_s);
29int milenage_f2345(
const u8 *opc,
const u8 *k,
const u8 *_rand,
30 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
32int milenage_opc_gen(u8 *opc,
const u8 *k,
const u8 *op);