Searched refs:CHALLENGE_LEN (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/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() 74 data->peer_challenge = os_malloc(CHALLENGE_LEN); in eap_mschapv2_init() 80 CHALLENGE_LEN); in eap_mschapv2_init() 106 random_get_bytes(data->auth_challenge, CHALLENGE_LEN)) { in eap_mschapv2_build_challenge() 113 ms_len = sizeof(*ms) + 1 + CHALLENGE_LEN + sm->server_id_len; in eap_mschapv2_build_challenge() 128 wpabuf_put_u8(req, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 130 wpabuf_put_data(req, data->auth_challenge, CHALLENGE_LEN); in eap_mschapv2_build_challenge() 132 wpabuf_put(req, CHALLENGE_LEN); in eap_mschapv2_build_challenge() [all …]
|