/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_sim.c | 21 u8 nonce_s[EAP_SIM_NONCE_S_LEN]; member 149 const u8 *nonce_s) in eap_sim_build_encr() argument 152 if (nonce_s == NULL) { in eap_sim_build_encr() 172 counter == 0 && nonce_s == NULL) in eap_sim_build_encr() 184 if (nonce_s) { in eap_sim_build_encr() 186 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_S, 0, nonce_s, in eap_sim_build_encr() 255 if (random_get_bytes(data->nonce_s, EAP_SIM_NONCE_S_LEN)) in eap_sim_build_reauth() 258 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_build_reauth() 263 sm->identity_len, data->nonce_s, data->mk, in eap_sim_build_reauth() 269 if (eap_sim_build_encr(sm, data, msg, data->counter, data->nonce_s)) { in eap_sim_build_reauth() [all …]
|
D | eap_server_aka.c | 22 u8 nonce_s[EAP_SIM_NONCE_S_LEN]; member 392 const u8 *nonce_s) in eap_aka_build_encr() argument 395 if (nonce_s == NULL) { in eap_aka_build_encr() 419 counter == 0 && nonce_s == NULL) in eap_aka_build_encr() 431 if (nonce_s) { in eap_aka_build_encr() 433 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_S, 0, nonce_s, in eap_aka_build_encr() 548 if (random_get_bytes(data->nonce_s, EAP_SIM_NONCE_S_LEN)) in eap_aka_build_reauth() 551 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_build_reauth() 557 data->nonce_s, in eap_aka_build_reauth() 563 sm->identity_len, data->nonce_s, in eap_aka_build_reauth() [all …]
|
D | eap_server_eke.c | 31 u8 nonce_s[EAP_EKE_MAX_NONCE_LEN]; member 320 if (random_get_bytes(data->nonce_s, data->sess.nonce_len)) { in eap_eke_build_confirm() 326 data->nonce_s, data->sess.nonce_len); in eap_eke_build_confirm() 329 os_memcpy(nonces + data->sess.nonce_len, data->nonce_s, in eap_eke_build_confirm() 343 data->nonce_p, data->nonce_s) < 0) { in eap_eke_build_confirm() 626 if (os_memcmp(nonce, data->nonce_s, data->sess.nonce_len) != 0) { in eap_eke_process_confirm() 647 data->nonce_s, data->nonce_p, in eap_eke_process_confirm()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.h | 84 const u8 *nonce_s, const u8 *mk, u8 *msk, 97 const u8 *nonce_s, u8 *msk, u8 *emsk); 119 const u8 *nonce_s, u8 *msk, in eap_aka_prime_derive_keys_reauth() argument 184 const u8 *rand, *autn, *mac, *iv, *encr_data, *version_list, *nonce_s; member
|
D | eap_eke_common.h | 99 const u8 *nonce_p, const u8 *nonce_s); 103 const u8 *nonce_p, const u8 *nonce_s,
|
D | eap_sim_common.c | 109 const u8 *nonce_s, const u8 *mk, u8 *msk, in eap_sim_derive_keys_reauth() argument 127 addr[2] = nonce_s; in eap_sim_derive_keys_reauth() 138 wpa_hexdump(MSG_DEBUG, "EAP-SIM: NONCE_S", nonce_s, in eap_sim_derive_keys_reauth() 327 const u8 *nonce_s, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys_reauth() argument 340 os_memcpy(seed3 + 2, nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_prime_derive_keys_reauth() 718 attr->nonce_s = apos + 2; in eap_sim_parse_attr()
|
D | eap_eke_common.c | 509 const u8 *nonce_p, const u8 *nonce_s) in eap_eke_derive_ka() argument 537 os_memcpy(pos, nonce_s, sess->nonce_len); in eap_eke_derive_ka() 554 const u8 *nonce_p, const u8 *nonce_s, in eap_eke_derive_msk() argument 582 os_memcpy(pos, nonce_s, sess->nonce_len); in eap_eke_derive_msk()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_sim.c | 28 u8 nonce_mt[EAP_SIM_NONCE_MT_LEN], nonce_s[EAP_SIM_NONCE_S_LEN]; member 546 const u8 *nonce_s) in eap_sim_response_reauth() argument 581 return eap_sim_msg_finish(msg, EAP_TYPE_SIM, data->k_aut, nonce_s, in eap_sim_response_reauth() 959 if (eattr.nonce_s == NULL || eattr.counter < 0) { in eap_sim_process_reauthentication() 961 !eattr.nonce_s ? " AT_NONCE_S" : "", in eap_sim_process_reauthentication() 985 res = eap_sim_response_reauth(data, id, 1, eattr.nonce_s); in eap_sim_process_reauthentication() 992 os_memcpy(data->nonce_s, eattr.nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_process_reauthentication() 994 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_process_reauthentication() 998 data->nonce_s, data->mk, data->msk, in eap_sim_process_reauthentication() 1020 return eap_sim_response_reauth(data, id, 0, data->nonce_s); in eap_sim_process_reauthentication()
|
D | eap_aka.c | 25 u8 nonce_s[EAP_SIM_NONCE_S_LEN]; member 660 const u8 *nonce_s) in eap_aka_response_reauth() argument 696 return eap_sim_msg_finish(msg, data->eap_method, data->k_aut, nonce_s, in eap_aka_response_reauth() 1204 if (eattr.nonce_s == NULL || eattr.counter < 0) { in eap_aka_process_reauthentication() 1206 !eattr.nonce_s ? " AT_NONCE_S" : "", in eap_aka_process_reauthentication() 1230 res = eap_aka_response_reauth(data, id, 1, eattr.nonce_s); in eap_aka_process_reauthentication() 1237 os_memcpy(data->nonce_s, eattr.nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_process_reauthentication() 1239 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_process_reauthentication() 1245 data->nonce_s, in eap_aka_process_reauthentication() 1250 data->nonce_s, data->mk, in eap_aka_process_reauthentication() [all …]
|
D | eap_eke.c | 29 u8 nonce_s[EAP_EKE_MAX_NONCE_LEN]; member 551 os_memcpy(data->nonce_s, nonces + data->sess.nonce_len, in eap_eke_process_confirm() 554 data->nonce_s, data->sess.nonce_len); in eap_eke_process_confirm() 558 data->nonce_p, data->nonce_s) < 0) { in eap_eke_process_confirm() 587 if (eap_eke_prot(&data->sess, data->nonce_s, data->sess.nonce_len, in eap_eke_process_confirm() 605 data->nonce_s, data->nonce_p, in eap_eke_process_confirm()
|