/external/wpa_supplicant_8/src/eap_peer/ |
D | mschapv2.c | 40 const u8 *peer_challenge, in mschapv2_derive_response() argument 58 peer_challenge, MSCHAPV2_CHAL_LEN); in mschapv2_derive_response() 66 if (generate_nt_response_pwhash(auth_challenge, peer_challenge, in mschapv2_derive_response() 70 password, peer_challenge, auth_challenge, in mschapv2_derive_response() 77 if (generate_nt_response(auth_challenge, peer_challenge, in mschapv2_derive_response() 82 peer_challenge, in mschapv2_derive_response()
|
D | eap_mschapv2.c | 41 u8 peer_challenge[MSCHAPV2_CHAL_LEN]; member 51 u8 peer_challenge[MSCHAPV2_CHAL_LEN]; member 89 u8 *peer_challenge; member 111 if (sm->peer_challenge) { in eap_mschapv2_init() 112 data->peer_challenge = os_malloc(MSCHAPV2_CHAL_LEN); in eap_mschapv2_init() 113 if (data->peer_challenge == NULL) { in eap_mschapv2_init() 117 os_memcpy(data->peer_challenge, sm->peer_challenge, in eap_mschapv2_init() 140 os_free(data->peer_challenge); in eap_mschapv2_deinit() 153 u8 *peer_challenge; in eap_mschapv2_challenge_reply() local 191 peer_challenge = r->peer_challenge; in eap_mschapv2_challenge_reply() [all …]
|
D | eap_leap.c | 31 u8 peer_challenge[LEAP_CHALLENGE_LEN]; member 103 os_memcpy(data->peer_challenge, challenge, LEAP_CHALLENGE_LEN); in eap_leap_process_request() 364 data->peer_challenge, LEAP_CHALLENGE_LEN); in eap_leap_getKey() 378 addr[3] = data->peer_challenge; in eap_leap_getKey()
|
D | mschapv2.h | 22 const u8 *peer_challenge,
|
D | eap_i.h | 353 u8 *peer_challenge, *auth_challenge; member
|
D | eap_ttls.c | 433 u8 *buf, *pos, *challenge, *peer_challenge; in eap_ttls_phase2_request_mschapv2() local 485 peer_challenge = pos; in eap_ttls_phase2_request_mschapv2() 491 peer_challenge, pos, data->auth_response, in eap_ttls_phase2_request_mschapv2()
|
D | eap_fast.c | 357 sm->peer_challenge = data->key_block_p->client_challenge; in eap_fast_init_phase2_method() 363 sm->peer_challenge = NULL; in eap_fast_init_phase2_method()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_mschapv2.c | 49 u8 *peer_challenge; member 73 if (sm->peer_challenge) { in eap_mschapv2_init() 74 data->peer_challenge = os_malloc(CHALLENGE_LEN); in eap_mschapv2_init() 75 if (data->peer_challenge == NULL) { in eap_mschapv2_init() 79 os_memcpy(data->peer_challenge, sm->peer_challenge, in eap_mschapv2_init() 93 os_free(data->peer_challenge); in eap_mschapv2_reset() 286 const u8 *pos, *end, *peer_challenge, *nt_response, *name; in eap_mschapv2_process_response() local 314 peer_challenge = pos; in eap_mschapv2_process_response() 322 if (data->peer_challenge) { in eap_mschapv2_process_response() 325 peer_challenge = data->peer_challenge; in eap_mschapv2_process_response() [all …]
|
D | eap_server_ttls.c | 663 u8 *chal, *username, nt_response[24], *rx_resp, *peer_challenge, in eap_ttls_process_phase2_mschapv2() local 726 peer_challenge = response + 2; in eap_ttls_process_phase2_mschapv2() 733 peer_challenge, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN); in eap_ttls_process_phase2_mschapv2() 736 generate_nt_response_pwhash(auth_challenge, peer_challenge, in eap_ttls_process_phase2_mschapv2() 741 generate_nt_response(auth_challenge, peer_challenge, in eap_ttls_process_phase2_mschapv2() 753 if (challenge_hash(peer_challenge, auth_challenge, in eap_ttls_process_phase2_mschapv2() 769 peer_challenge, auth_challenge, in eap_ttls_process_phase2_mschapv2() 775 peer_challenge, auth_challenge, in eap_ttls_process_phase2_mschapv2()
|
D | eap_i.h | 180 u8 *peer_challenge; member
|
D | eap_server_fast.c | 955 sm->peer_challenge = data->key_block_p->client_challenge; in eap_fast_phase2_init() 961 sm->peer_challenge = NULL; in eap_fast_phase2_init()
|
/external/wpa_supplicant_8/src/crypto/ |
D | ms_funcs.c | 81 int challenge_hash(const u8 *peer_challenge, const u8 *auth_challenge, in challenge_hash() argument 88 addr[0] = peer_challenge; in challenge_hash() 168 int generate_nt_response(const u8 *auth_challenge, const u8 *peer_challenge, in generate_nt_response() argument 176 if (challenge_hash(peer_challenge, auth_challenge, username, in generate_nt_response() 197 const u8 *peer_challenge, in generate_nt_response_pwhash() argument 204 if (challenge_hash(peer_challenge, auth_challenge, in generate_nt_response_pwhash() 227 const u8 *peer_challenge, const u8 *auth_challenge, in generate_authenticator_response_pwhash() argument 264 if (challenge_hash(peer_challenge, auth_challenge, username, in generate_authenticator_response_pwhash() 285 const u8 *peer_challenge, in generate_authenticator_response() argument 294 password_hash, peer_challenge, auth_challenge, in generate_authenticator_response()
|
D | ms_funcs.h | 12 int generate_nt_response(const u8 *auth_challenge, const u8 *peer_challenge, 17 const u8 *peer_challenge, 22 const u8 *peer_challenge, 28 const u8 *peer_challenge, const u8 *auth_challenge, 36 int challenge_hash(const u8 *peer_challenge, const u8 *auth_challenge,
|
D | crypto_module_tests.c | 1574 u8 peer_challenge[] = { in test_ms_funcs() local 1613 if (generate_nt_response(auth_challenge, peer_challenge, in test_ms_funcs() 1630 peer_challenge, auth_challenge, in test_ms_funcs()
|