/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_sim.c | 21 u8 nonce_s[EAP_SIM_NONCE_S_LEN]; member 150 const u8 *nonce_s) in eap_sim_build_encr() argument 156 } else if (!nonce_s) { in eap_sim_build_encr() 179 counter == 0 && nonce_s == NULL) in eap_sim_build_encr() 191 if (nonce_s) { in eap_sim_build_encr() 193 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_S, 0, nonce_s, in eap_sim_build_encr() 263 if (random_get_bytes(data->nonce_s, EAP_SIM_NONCE_S_LEN)) in eap_sim_build_reauth() 266 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_build_reauth() 271 sm->identity_len, data->nonce_s, data->mk, in eap_sim_build_reauth() 277 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 393 const u8 *nonce_s) in eap_aka_build_encr() argument 399 } else if (!nonce_s) { in eap_aka_build_encr() 426 counter == 0 && nonce_s == NULL) in eap_aka_build_encr() 438 if (nonce_s) { in eap_aka_build_encr() 440 eap_sim_msg_add(msg, EAP_SIM_AT_NONCE_S, 0, nonce_s, in eap_aka_build_encr() 556 if (random_get_bytes(data->nonce_s, EAP_SIM_NONCE_S_LEN)) in eap_aka_build_reauth() 559 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_build_reauth() 565 data->nonce_s, in eap_aka_build_reauth() 571 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() 625 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() 782 os_memcpy(sid + 1 + data->sess.nonce_len, data->nonce_s, in eap_eke_get_session_id()
|
/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() 326 const u8 *nonce_s, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys_reauth() argument 339 os_memcpy(seed3 + 2, nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_prime_derive_keys_reauth() 716 attr->nonce_s = apos + 2; in eap_sim_parse_attr()
|
D | eap_eke_common.c | 479 const u8 *nonce_p, const u8 *nonce_s) in eap_eke_derive_ka() argument 507 os_memcpy(pos, nonce_s, sess->nonce_len); in eap_eke_derive_ka() 524 const u8 *nonce_p, const u8 *nonce_s, in eap_eke_derive_msk() argument 552 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 569 const u8 *nonce_s) in eap_sim_response_reauth() argument 604 return eap_sim_msg_finish(msg, EAP_TYPE_SIM, data->k_aut, nonce_s, in eap_sim_response_reauth() 1025 if (eattr.nonce_s == NULL || eattr.counter < 0) { in eap_sim_process_reauthentication() 1027 !eattr.nonce_s ? " AT_NONCE_S" : "", in eap_sim_process_reauthentication() 1051 res = eap_sim_response_reauth(data, id, 1, eattr.nonce_s); in eap_sim_process_reauthentication() 1058 os_memcpy(data->nonce_s, eattr.nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_process_reauthentication() 1060 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_process_reauthentication() 1064 data->nonce_s, data->mk, data->msk, in eap_sim_process_reauthentication() 1086 return eap_sim_response_reauth(data, id, 0, data->nonce_s); in eap_sim_process_reauthentication() [all …]
|
D | eap_aka.c | 25 u8 nonce_s[EAP_SIM_NONCE_S_LEN]; member 696 const u8 *nonce_s) in eap_aka_response_reauth() argument 732 return eap_sim_msg_finish(msg, data->eap_method, data->k_aut, nonce_s, in eap_aka_response_reauth() 1293 if (eattr.nonce_s == NULL || eattr.counter < 0) { in eap_aka_process_reauthentication() 1295 !eattr.nonce_s ? " AT_NONCE_S" : "", in eap_aka_process_reauthentication() 1319 res = eap_aka_response_reauth(data, id, 1, eattr.nonce_s); in eap_aka_process_reauthentication() 1326 os_memcpy(data->nonce_s, eattr.nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_process_reauthentication() 1328 data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_process_reauthentication() 1334 data->nonce_s, in eap_aka_process_reauthentication() 1339 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 552 os_memcpy(data->nonce_s, nonces + data->sess.nonce_len, in eap_eke_process_confirm() 555 data->nonce_s, data->sess.nonce_len); in eap_eke_process_confirm() 559 data->nonce_p, data->nonce_s) < 0) { in eap_eke_process_confirm() 588 if (eap_eke_prot(&data->sess, data->nonce_s, data->sess.nonce_len, in eap_eke_process_confirm() 606 data->nonce_s, data->nonce_p, in eap_eke_process_confirm() 759 os_memcpy(sid + 1 + data->sess.nonce_len, data->nonce_s, in eap_eke_get_session_id()
|