/freebsd/contrib/wpa/src/eap_peer/ |
H A D | mschapv2.c | 41 u8 *nt_response, u8 *auth_response, in mschapv2_derive_response() argument 68 password, nt_response) || in mschapv2_derive_response() 71 username, username_len, nt_response, in mschapv2_derive_response() 80 nt_response) || in mschapv2_derive_response() 85 nt_response, in mschapv2_derive_response() 90 nt_response, MSCHAPV2_NT_RESPONSE_LEN); in mschapv2_derive_response() 103 if (get_master_key(password_hash_hash, nt_response, master_key)) in mschapv2_derive_response()
|
H A D | eap_mschapv2.c | 43 u8 nt_response[MSCHAPV2_NT_RESPONSE_LEN]; member 53 u8 nt_response[MSCHAPV2_NT_RESPONSE_LEN]; member 213 peer_challenge, r->nt_response, in eap_mschapv2_challenge_reply() 605 cp->nt_response); in eap_mschapv2_change_password() 607 cp->nt_response, MSCHAPV2_NT_RESPONSE_LEN); in eap_mschapv2_change_password() 615 cp->nt_response, data->auth_response); in eap_mschapv2_change_password() 622 get_master_key(password_hash_hash, cp->nt_response, in eap_mschapv2_change_password()
|
H A D | mschapv2.h | 23 u8 *nt_response, u8 *auth_response,
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | ms_funcs.c | 231 const u8 *nt_response, u8 *response) in generate_authenticator_response_pwhash() argument 254 addr1[1] = nt_response; in generate_authenticator_response_pwhash() 287 const u8 *nt_response, u8 *response) in generate_authenticator_response() argument 294 username, username_len, nt_response, response); in generate_authenticator_response() 325 int get_master_key(const u8 *password_hash_hash, const u8 *nt_response, in get_master_key() argument 338 addr[1] = nt_response; in get_master_key()
|
H A D | ms_funcs.h | 25 const u8 *nt_response, u8 *response); 30 const u8 *nt_response, u8 *response); 41 int get_master_key(const u8 *password_hash_hash, const u8 *nt_response,
|
H A D | crypto_module_tests.c | 2491 u8 nt_response[] = { in test_ms_funcs() local 2525 os_memcmp(nt_response, buf, sizeof(nt_response)) != 0) { in test_ms_funcs() 2542 nt_response, buf) || in test_ms_funcs() 2549 if (get_master_key(password_hash_hash, nt_response, buf) || in test_ms_funcs()
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_mschapv2.c | 291 const u8 *pos, *end, *peer_challenge, *nt_response, *name; in eap_mschapv2_process_response() local 321 nt_response = pos; in eap_mschapv2_process_response() 334 wpa_hexdump(MSG_MSGDUMP, "EAP-MSCHAPV2: NT-Response", nt_response, 24); in eap_mschapv2_process_response() 376 challenge, nt_response); in eap_mschapv2_process_response() 414 if (os_memcmp_const(nt_response, expected, 24) == 0) { in eap_mschapv2_process_response() 437 username, username_len, nt_response, in eap_mschapv2_process_response() 440 get_master_key(pw_hash_hash, nt_response, in eap_mschapv2_process_response()
|
H A D | eap_server_ttls.c | 624 u8 *chal, nt_response[24]; in eap_ttls_process_phase2_mschap() local 671 challenge_response(challenge, sm->user->password, nt_response)) || in eap_ttls_process_phase2_mschap() 674 sm->user->password_len, nt_response))) { in eap_ttls_process_phase2_mschap() 679 if (os_memcmp_const(nt_response, response + 2 + 24, 24) == 0) { in eap_ttls_process_phase2_mschap() 688 nt_response, 24); in eap_ttls_process_phase2_mschap() 700 u8 *chal, *username, nt_response[24], *rx_resp, *peer_challenge, in eap_ttls_process_phase2_mschapv2() local 776 nt_response); in eap_ttls_process_phase2_mschapv2() 782 nt_response); in eap_ttls_process_phase2_mschapv2() 798 if (os_memcmp_const(nt_response, rx_resp, 24) == 0) { in eap_ttls_process_phase2_mschapv2() 807 username, username_len, nt_response, in eap_ttls_process_phase2_mschapv2() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | radius.c | 105 u_char nt_response[24]; member 985 memcpy(msresp.nt_response, key + 25, 24); in radius_Authenticate()
|