Searched refs:CHALLENGE_LEN (Results 1 – 4 of 4) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_md5.c | 17 #define CHALLENGE_LEN 16 macro 20 u8 challenge[CHALLENGE_LEN]; 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) { in eap_md5_buildReq() 56 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHALLENGE_LEN, in eap_md5_buildReq() 65 wpabuf_put_u8(req, CHALLENGE_LEN); in eap_md5_buildReq() 66 wpabuf_put_data(req, data->challenge, CHALLENGE_LEN); in eap_md5_buildReq() 68 CHALLENGE_LEN); in eap_md5_buildReq() 123 data->challenge, CHALLENGE_LEN, hash)) { in eap_md5_process()
|
D | eap_server_mschapv2.c | 44 #define CHALLENGE_LEN 16 macro 47 u8 auth_challenge[CHALLENGE_LEN]; 69 CHALLENGE_LEN); in eap_mschapv2_init() 75 CHALLENGE_LEN); in eap_mschapv2_init() 105 random_get_bytes(data->auth_challenge, CHALLENGE_LEN)) { in eap_mschapv2_build_challenge() 112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->cfg->server_id_len; in eap_mschapv2_build_challenge() 127 wpabuf_put_u8(req, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 129 wpabuf_put_data(req, data->auth_challenge, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 131 wpabuf_put(req, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 133 data->auth_challenge, CHALLENGE_LEN); in eap_mschapv2_build_challenge()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_md5.c | 17 #define CHALLENGE_LEN 16 macro 20 u8 challenge[CHALLENGE_LEN]; 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) { in eap_md5_buildReq() 56 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHALLENGE_LEN, in eap_md5_buildReq() 65 wpabuf_put_u8(req, CHALLENGE_LEN); in eap_md5_buildReq() 66 wpabuf_put_data(req, data->challenge, CHALLENGE_LEN); in eap_md5_buildReq() 68 CHALLENGE_LEN); in eap_md5_buildReq() 123 data->challenge, CHALLENGE_LEN, hash)) { in eap_md5_process()
|
D | eap_server_mschapv2.c | 44 #define CHALLENGE_LEN 16 macro 47 u8 auth_challenge[CHALLENGE_LEN]; 69 CHALLENGE_LEN); in eap_mschapv2_init() 75 CHALLENGE_LEN); in eap_mschapv2_init() 105 random_get_bytes(data->auth_challenge, CHALLENGE_LEN)) { in eap_mschapv2_build_challenge() 112 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->server_id_len; in eap_mschapv2_build_challenge() 127 wpabuf_put_u8(req, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 129 wpabuf_put_data(req, data->auth_challenge, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 131 wpabuf_put(req, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 133 data->auth_challenge, CHALLENGE_LEN); in eap_mschapv2_build_challenge()
|