Home
last modified time | relevance | path

Searched refs:EAP_SIM_NONCE_S_LEN (Results 1 – 6 of 6) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_server_sim.c21 u8 nonce_s[EAP_SIM_NONCE_S_LEN];
194 EAP_SIM_NONCE_S_LEN); 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()
634 EAP_SIM_NONCE_S_LEN)) { in eap_sim_process_reauth()
854 *len = 1 + EAP_SIM_NONCE_S_LEN + EAP_SIM_MAC_LEN; in eap_sim_get_session_id()
865 os_memcpy(id + 1, data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_get_session_id()
866 os_memcpy(id + 1 + EAP_SIM_NONCE_S_LEN, data->reauth_mac, in eap_sim_get_session_id()
Deap_server_aka.c22 u8 nonce_s[EAP_SIM_NONCE_S_LEN];
441 EAP_SIM_NONCE_S_LEN); 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()
1081 EAP_SIM_NONCE_S_LEN)) { in eap_aka_process_reauth()
1329 *len = 1 + EAP_SIM_NONCE_S_LEN + EAP_SIM_MAC_LEN; in eap_aka_get_session_id()
1340 os_memcpy(id + 1, data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_get_session_id()
1341 os_memcpy(id + 1 + EAP_SIM_NONCE_S_LEN, data->reauth_mac, in eap_aka_get_session_id()
/external/wpa_supplicant_8/src/eap_peer/
Deap_sim.c28 u8 nonce_mt[EAP_SIM_NONCE_MT_LEN], nonce_s[EAP_SIM_NONCE_S_LEN];
605 EAP_SIM_NONCE_S_LEN); in eap_sim_response_reauth()
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()
1269 *len = 1 + EAP_SIM_NONCE_S_LEN + EAP_SIM_MAC_LEN; in eap_sim_get_session_id()
1280 os_memcpy(id + 1, data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_sim_get_session_id()
1281 os_memcpy(id + 1 + EAP_SIM_NONCE_S_LEN, data->reauth_mac, in eap_sim_get_session_id()
Deap_aka.c25 u8 nonce_s[EAP_SIM_NONCE_S_LEN];
733 EAP_SIM_NONCE_S_LEN); in eap_aka_response_reauth()
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()
1550 *len = 1 + EAP_SIM_NONCE_S_LEN + EAP_SIM_MAC_LEN; in eap_aka_get_session_id()
1561 os_memcpy(id + 1, data->nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_get_session_id()
1562 os_memcpy(id + 1 + EAP_SIM_NONCE_S_LEN, data->reauth_mac, in eap_aka_get_session_id()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c128 len[2] = EAP_SIM_NONCE_S_LEN; in eap_sim_derive_keys_reauth()
139 EAP_SIM_NONCE_S_LEN); in eap_sim_derive_keys_reauth()
328 u8 seed3[2 + EAP_SIM_NONCE_S_LEN]; in eap_aka_prime_derive_keys_reauth()
339 os_memcpy(seed3 + 2, nonce_s, EAP_SIM_NONCE_S_LEN); in eap_aka_prime_derive_keys_reauth()
710 if (alen != 2 + EAP_SIM_NONCE_S_LEN) { in eap_sim_parse_attr()
Deap_sim_common.h12 #define EAP_SIM_NONCE_S_LEN 16 macro