9 const u8 *sqn,
const u8 *_rand, u8 *autn, u8 *ik,
10 u8 *ck, u8 *res,
size_t *res_len);
11 int milenage_auts(
const u8 *opc,
const u8 *k,
const u8 *_rand,
const u8 *auts,
13 int gsm_milenage(
const u8 *opc,
const u8 *k,
const u8 *_rand, u8 *sres,
15 int milenage_check(
const u8 *opc,
const u8 *k,
const u8 *sqn,
const u8 *_rand,
16 const u8 *autn, u8 *ik, u8 *ck, u8 *res,
size_t *res_len,
18 int milenage_f1(
const u8 *opc,
const u8 *k,
const u8 *_rand,
19 const u8 *sqn,
const u8 *amf, u8 *mac_a, u8 *mac_s);
21 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s)
Milenage f1 and f1* algorithms.
Definition: milenage.c:32
void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len)
Generate AKA AUTN,IK,CK,RES.
Definition: milenage.c:169
int milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand, u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar)
Milenage f2, f3, f4, f5, f5* algorithms.
Definition: milenage.c:84
int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand, const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, u8 *auts)
Generate AKA AUTN,IK,CK,RES.
Definition: milenage.c:266
int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts, u8 *sqn)
Milenage AUTS validation.
Definition: milenage.c:204
int gsm_milenage(const u8 *opc, const u8 *k, const u8 *_rand, u8 *sres, u8 *kc)
Generate GSM-Milenage (3GPP TS 55.205) authentication triplet.
Definition: milenage.c:231