/external/wpa_supplicant_8/src/eap_common/ |
eap_sim_common.h | 80 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, 86 int eap_sim_verify_mac(const u8 *k_aut, const struct wpabuf *req, 88 void eap_sim_add_mac(const u8 *k_aut, const u8 *msg, size_t msg_len, u8 *mac, 94 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk); 98 int eap_sim_verify_mac_sha256(const u8 *k_aut, const struct wpabuf *req, 101 void eap_sim_add_mac_sha256(const u8 *k_aut, const u8 *msg, size_t msg_len, 111 u8 *k_encr, u8 *k_aut, u8 *k_re, 125 static inline int eap_sim_verify_mac_sha256(const u8 *k_aut, 214 struct wpabuf * eap_sim_msg_finish(struct eap_sim_msg *msg, const u8 *k_aut,
|
eap_sim_common.c | 77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) 88 os_memcpy(k_aut, pos, EAP_SIM_K_AUT_LEN); 96 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: K_aut", 97 k_aut, EAP_SIM_K_AUT_LEN); 165 int eap_sim_verify_mac(const u8 *k_aut, const struct wpabuf *req, 194 wpa_hexdump_key(MSG_MSGDUMP, "EAP-SIM: Verify MAC - K_aut", 195 k_aut, EAP_SIM_K_AUT_LEN); 196 hmac_sha1_vector(k_aut, EAP_SIM_K_AUT_LEN, 2, addr, len, hmac); 205 void eap_sim_add_mac(const u8 *k_aut, const u8 *msg, size_t msg_len, u8 *mac, 222 wpa_hexdump_key(MSG_MSGDUMP, "EAP-SIM: Add MAC - K_aut", [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_sim_db.h | 62 const u8 *k_aut, const u8 *k_re); 74 u8 k_aut[EAP_AKA_PRIME_K_AUT_LEN]; member in struct:eap_sim_reauth
|
eap_server_aka.c | 23 u8 k_aut[EAP_AKA_PRIME_K_AUT_LEN]; member in struct:eap_aka_data 118 os_memcpy(data->k_aut, data->reauth->k_aut, 537 return eap_sim_msg_finish(msg, data->k_aut, NULL, 0); 560 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, 584 return eap_sim_msg_finish(msg, data->k_aut, NULL, 0); 623 return eap_sim_msg_finish(msg, data->k_aut, NULL, 0); 837 data->ck, data->k_encr, data->k_aut, 842 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, 904 return eap_sim_verify_mac_sha256(data->k_aut, req, mac, extra [all...] |
eap_server_sim.c | 22 u8 k_aut[EAP_SIM_K_AUT_LEN]; member in struct:eap_sim_data 243 return eap_sim_msg_finish(msg, data->k_aut, data->nonce_mt, 260 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, 281 return eap_sim_msg_finish(msg, data->k_aut, NULL, 0); 320 return eap_sim_msg_finish(msg, data->k_aut, NULL, 0); 552 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, 570 eap_sim_verify_mac(data->k_aut, respData, attr->mac, 612 eap_sim_verify_mac(data->k_aut, respData, attr->mac, data->nonce_s,
|
eap_sim_db.c | 121 " k_aut CHAR(64)," 241 const u8 *k_encr, const u8 *k_aut, const u8 *k_re) 258 k_aut ? ", k_aut" : "", 276 if (k_aut) { 278 pos += wpa_snprintf_hex(pos, end - pos, k_aut, 321 } else if (os_strcmp(col[i], "k_aut") == 0 && argv[i]) { 322 hexstr2bin(argv[i], reauth->k_aut, 323 sizeof(reauth->k_aut)); 1179 * @k_aut: K_aut from the previous full authenticatio [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_sim.c | 30 u8 k_aut[EAP_SIM_K_AUT_LEN]; member in struct:eap_sim_data 443 return eap_sim_msg_finish(msg, data->k_aut, (u8 *) data->sres, 485 return eap_sim_msg_finish(msg, data->k_aut, nonce_s, 494 u8 *k_aut = (notification & 0x4000) == 0 ? data->k_aut : NULL; local 499 if (k_aut && data->reauth) { 515 if (k_aut) { 519 return eap_sim_msg_finish(msg, k_aut, (u8 *) "", 0); 671 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, 673 if (eap_sim_verify_mac(data->k_aut, reqData, attr->mac, data->nonce_mt [all...] |
eap_aka.c | 27 u8 k_aut[EAP_AKA_PRIME_K_AUT_LEN]; member in struct:eap_aka_data 548 return eap_sim_msg_finish(msg, data->k_aut, (u8 *) "", 0); 590 return eap_sim_msg_finish(msg, data->k_aut, nonce_s, 599 u8 *k_aut = (notification & 0x4000) == 0 ? data->k_aut : NULL; local 604 if (k_aut && data->reauth) { 620 if (k_aut) { 624 return eap_sim_msg_finish(msg, k_aut, (u8 *) "", 0); 684 return eap_sim_verify_mac_sha256(data->k_aut, req, mac, extra, 686 return eap_sim_verify_mac(data->k_aut, req, mac, extra, extra_len) [all...] |