Home | History | Annotate | Download | only in crypto

Lines Matching defs:amf

31  * @amf: AMF = 16-bit authentication management field
37 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s)
48 /* tmp2 = IN1 = SQN || AMF || SQN || AMF */
50 os_memcpy(tmp2 + 6, amf, 2);
163 * @amf: AMF = 16-bit authentication management field
173 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k,
184 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) ||
191 /* AUTN = (SQN ^ AK) || AMF || MAC */
194 os_memcpy(autn + 6, amf, 2);
211 u8 amf[2] = { 0x00, 0x00 }; /* TS 33.102 v7.0.0, 6.3.3 */
219 if (milenage_f1(opc, k, _rand, sqn, amf, NULL, mac_s) ||
276 const u8 *amf;
290 /* AUTN = (SQN ^ AK) || AMF || MAC */
308 amf = autn + 6;
309 wpa_hexdump(MSG_DEBUG, "Milenage: AMF", amf, 2);
310 if (milenage_f1(opc, k, _rand, rx_sqn, amf, mac_a, NULL))