Home | History | Annotate | Download | only in crypto

Lines Matching defs:ik

83  * @ik: Buffer for IK = 128-bit integrity key (f4), or %NULL
89 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar)
133 if (ik) {
138 if (aes_128_encrypt_block(k, tmp1, ik))
141 ik[i] ^= opc[i];
161 * milenage_generate - Generate AKA AUTN,IK,CK,RES
168 * @ik: Buffer for IK = 128-bit integrity key (f4), or %NULL
174 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik,
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) {
237 u8 res[8], ck[16], ik[16];
240 if (milenage_f2345(opc, k, _rand, res, ck, ik, NULL, NULL))
244 kc[i] = ck[i] ^ ck[i + 8] ^ ik[i] ^ ik[i + 8];
257 * milenage_generate - Generate AKA AUTN,IK,CK,RES
263 * @ik: Buffer for IK = 128-bit integrity key (f4), or %NULL
271 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len,
281 if (milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL))
287 wpa_hexdump_key(MSG_DEBUG, "Milenage: IK", ik, 16);