Home | History | Annotate | Download | only in hlr_auc_gw

Lines Matching refs:auts

206  * milenage_auts - Milenage AUTS validation
210 * @auts: AUTS = 112-bit authentication token from client
214 int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts,
224 sqn[i] = auts[i] ^ ak[i];
226 memcmp(mac_s, auts + 6, 8) != 0)
273 * @auts: 112-bit buffer for AUTS
278 u8 *auts)
307 auts[i] = sqn[i] ^ ak[i];
308 if (milenage_f1(opc, k, _rand, sqn, auts_amf, NULL, auts + 6))
310 wpa_hexdump(MSG_DEBUG, "Milenage: AUTS", auts, 14);
1026 u8 auts[14], sqn[6], _rand[16];
1079 os_memcpy(auts, "\x4f\x20\x39\x39\x2d\xdd", 6);
1080 os_memcpy(auts + 6, "\x4b\xb4\x31\x6e\xd4\xa1\x46\x88", 8);
1081 res = milenage_auts(t->opc, t->k, t->rand, auts, buf);
1082 printf("AUTS for test set %d: %d / SQN=%02x%02x%02x%02x%02x%02x\n",
1088 os_memcpy(auts,
1091 res = milenage_auts(t->opc, t->k, _rand, auts, buf);
1092 printf("AUTS from a test USIM: %d / SQN=%02x%02x%02x%02x%02x%02x\n",