Home | History | Annotate | Download | only in crypto

Lines Matching defs:amf

37  * @amf: AMF = 16-bit authentication management field
43 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s)
54 /* tmp2 = IN1 = SQN || AMF || SQN || AMF */
56 os_memcpy(tmp2 + 6, amf, 2);
169 * @amf: AMF = 16-bit authentication management field
179 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k,
190 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) ||
197 /* AUTN = (SQN ^ AK) || AMF || MAC */
200 os_memcpy(autn + 6, amf, 2);
217 u8 amf[2] = { 0x00, 0x00 }; /* TS 33.102 v7.0.0, 6.3.3 */
225 if (milenage_f1(opc, k, _rand, sqn, amf, NULL, mac_s) ||
282 const u8 *amf;
296 /* AUTN = (SQN ^ AK) || AMF || MAC */
314 amf = autn + 6;
315 wpa_hexdump(MSG_DEBUG, "Milenage: AMF", amf, 2);
316 if (milenage_f1(opc, k, _rand, rx_sqn, amf, mac_a, NULL))