Lines Matching refs:ik
89 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) in milenage_f2345() argument
133 if (ik) { in milenage_f2345()
138 if (aes_128_encrypt_block(k, tmp1, ik)) in milenage_f2345()
141 ik[i] ^= opc[i]; in milenage_f2345()
174 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, in milenage_generate() argument
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) { in milenage_generate()
237 u8 res[8], ck[16], ik[16]; in gsm_milenage() local
240 if (milenage_f2345(opc, k, _rand, res, ck, ik, NULL, NULL)) in gsm_milenage()
244 kc[i] = ck[i] ^ ck[i + 8] ^ ik[i] ^ ik[i + 8]; in gsm_milenage()
271 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, in milenage_check() argument
281 if (milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) in milenage_check()
287 wpa_hexdump_key(MSG_DEBUG, "Milenage: IK", ik, 16); in milenage_check()