Home
last modified time | relevance | path

Searched refs:EAP_PAX_RAND_LEN (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_pax.c29 u8 e[2 * EAP_PAX_RAND_LEN];
31 u8 x[EAP_PAX_RAND_LEN]; /* server rand */
32 u8 y[EAP_PAX_RAND_LEN]; /* client rand */
143 if (left < 2 + EAP_PAX_RAND_LEN) { in eap_pax_process_std_1()
151 if (WPA_GET_BE16(pos) != EAP_PAX_RAND_LEN) { in eap_pax_process_std_1()
154 WPA_GET_BE16(pos), EAP_PAX_RAND_LEN); in eap_pax_process_std_1()
161 os_memcpy(data->rand.r.x, pos, EAP_PAX_RAND_LEN); in eap_pax_process_std_1()
163 data->rand.r.x, EAP_PAX_RAND_LEN); in eap_pax_process_std_1()
164 pos += EAP_PAX_RAND_LEN; in eap_pax_process_std_1()
165 left -= EAP_PAX_RAND_LEN; in eap_pax_process_std_1()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_pax.c29 u8 e[2 * EAP_PAX_RAND_LEN];
31 u8 x[EAP_PAX_RAND_LEN]; /* server rand */
32 u8 y[EAP_PAX_RAND_LEN]; /* client rand */
81 if (random_get_bytes(data->rand.r.x, EAP_PAX_RAND_LEN)) { in eap_pax_build_std_1()
88 sizeof(*pax) + 2 + EAP_PAX_RAND_LEN + in eap_pax_build_std_1()
104 wpabuf_put_be16(req, EAP_PAX_RAND_LEN); in eap_pax_build_std_1()
105 wpabuf_put_data(req, data->rand.r.x, EAP_PAX_RAND_LEN); in eap_pax_build_std_1()
107 data->rand.r.x, EAP_PAX_RAND_LEN); in eap_pax_build_std_1()
153 data->rand.r.y, EAP_PAX_RAND_LEN, in eap_pax_build_std_3()
326 if (left < 2 + EAP_PAX_RAND_LEN || in eap_pax_process_std_2()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_pax_common.c134 e, 2 * EAP_PAX_RAND_LEN, EAP_PAX_MK_LEN, mk) || in eap_pax_initial_key_derivation()
136 e, 2 * EAP_PAX_RAND_LEN, EAP_PAX_CK_LEN, ck) || in eap_pax_initial_key_derivation()
138 e, 2 * EAP_PAX_RAND_LEN, EAP_PAX_ICK_LEN, ick) || in eap_pax_initial_key_derivation()
140 e, 2 * EAP_PAX_RAND_LEN, EAP_PAX_MID_LEN, mid)) in eap_pax_initial_key_derivation()
Deap_pax_common.h70 #define EAP_PAX_RAND_LEN 32 macro