/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | ms_funcs.c | 110 u8 *password_hash) in nt_password_hash() argument 121 return md4_vector(1, (const u8 **) &pos, &len, password_hash); in nt_password_hash() 131 int hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash) in hash_nt_password_hash() argument 134 return md4_vector(1, &password_hash, &len, password_hash_hash); in hash_nt_password_hash() 145 int challenge_response(const u8 *challenge, const u8 *password_hash, in challenge_response() argument 150 if (des_encrypt(challenge, password_hash, response) < 0 || in challenge_response() 151 des_encrypt(challenge, password_hash + 7, response + 8) < 0) in challenge_response() 153 zpwd[0] = password_hash[14]; in challenge_response() 154 zpwd[1] = password_hash[15]; in challenge_response() 177 u8 password_hash[16]; in generate_nt_response() local [all …]
|
D | ms_funcs.h | 19 const u8 *password_hash, 27 const u8 *password_hash, 34 int challenge_response(const u8 *challenge, const u8 *password_hash, 39 u8 *password_hash); 40 int hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash); 48 const u8 *password_hash, u8 *pw_block); 53 int nt_password_hash_encrypted_with_block(const u8 *password_hash,
|
D | crypto_module_tests.c | 2058 u8 password_hash[] = { in test_ms_funcs() local 2088 os_memcmp(password_hash, buf, sizeof(password_hash)) != 0) { in test_ms_funcs() 2101 if (hash_nt_password_hash(password_hash, buf) || in test_ms_funcs()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | ms_funcs.c | 110 u8 *password_hash) in nt_password_hash() argument 121 return md4_vector(1, (const u8 **) &pos, &len, password_hash); in nt_password_hash() 131 int hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash) in hash_nt_password_hash() argument 134 return md4_vector(1, &password_hash, &len, password_hash_hash); in hash_nt_password_hash() 145 int challenge_response(const u8 *challenge, const u8 *password_hash, in challenge_response() argument 150 if (des_encrypt(challenge, password_hash, response) < 0 || in challenge_response() 151 des_encrypt(challenge, password_hash + 7, response + 8) < 0) in challenge_response() 153 zpwd[0] = password_hash[14]; in challenge_response() 154 zpwd[1] = password_hash[15]; in challenge_response() 177 u8 password_hash[16]; in generate_nt_response() local [all …]
|
D | ms_funcs.h | 19 const u8 *password_hash, 27 const u8 *password_hash, 34 int challenge_response(const u8 *challenge, const u8 *password_hash, 39 u8 *password_hash); 40 int hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash); 48 const u8 *password_hash, u8 *pw_block); 53 int nt_password_hash_encrypted_with_block(const u8 *password_hash,
|
D | crypto_module_tests.c | 2207 u8 password_hash[] = { in test_ms_funcs() local 2237 os_memcmp(password_hash, buf, sizeof(password_hash)) != 0) { in test_ms_funcs() 2250 if (hash_nt_password_hash(password_hash, buf) || in test_ms_funcs()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
D | nt_password_hash.c | 17 unsigned char password_hash[16]; in main() local 40 if (nt_password_hash((u8 *) password, strlen(password), password_hash)) in main() 42 for (i = 0; i < sizeof(password_hash); i++) in main() 43 printf("%02x", password_hash[i]); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
D | nt_password_hash.c | 17 unsigned char password_hash[16]; in main() local 40 if (nt_password_hash((u8 *) password, strlen(password), password_hash)) in main() 42 for (i = 0; i < sizeof(password_hash); i++) in main() 43 printf("%02x", password_hash[i]); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | mschapv2.c | 46 u8 password_hash[16], password_hash_hash[16]; in mschapv2_derive_response() local 99 if (nt_password_hash(password, password_len, password_hash) || in mschapv2_derive_response() 100 hash_nt_password_hash(password_hash, password_hash_hash)) in mschapv2_derive_response()
|
D | eap_pwd.c | 32 int password_hash; member 135 data->password_hash = pwhash; in eap_pwd_init() 297 if (id->prep == EAP_PWD_PREP_NONE && data->password_hash) { in eap_pwd_perform_id_exchange() 403 if (data->password_hash) { in eap_pwd_perform_commit_exchange() 534 if (data->password_hash) { in eap_pwd_perform_commit_exchange()
|
D | eap_mschapv2.c | 523 u8 password_hash[16], password_hash_hash[16]; in eap_mschapv2_change_password() 614 if (nt_password_hash(new_password, new_password_len, password_hash) || in eap_mschapv2_change_password() 615 hash_nt_password_hash(password_hash, password_hash_hash) || in eap_mschapv2_change_password()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | mschapv2.c | 46 u8 password_hash[16], password_hash_hash[16]; in mschapv2_derive_response() local 99 if (nt_password_hash(password, password_len, password_hash) || in mschapv2_derive_response() 100 hash_nt_password_hash(password_hash, password_hash_hash)) in mschapv2_derive_response()
|
D | eap_pwd.c | 32 int password_hash; member 135 data->password_hash = pwhash; in eap_pwd_init() 297 if (id->prep == EAP_PWD_PREP_NONE && data->password_hash) { in eap_pwd_perform_id_exchange() 403 if (data->password_hash) { in eap_pwd_perform_commit_exchange() 534 if (data->password_hash) { in eap_pwd_perform_commit_exchange()
|
D | eap_mschapv2.c | 523 u8 password_hash[16], password_hash_hash[16]; in eap_mschapv2_change_password() 614 if (nt_password_hash(new_password, new_password_len, password_hash) || in eap_mschapv2_change_password() 615 hash_nt_password_hash(password_hash, password_hash_hash) || in eap_mschapv2_change_password()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_ttls.c | 533 if (!sm->user || !sm->user->password || sm->user->password_hash || in eap_ttls_process_phase2_pap() 575 if (!sm->user || !sm->user->password || sm->user->password_hash || in eap_ttls_process_phase2_chap() 669 if ((sm->user->password_hash && in eap_ttls_process_phase2_mschap() 671 (!sm->user->password_hash && in eap_ttls_process_phase2_mschap() 771 if (sm->user->password_hash) { in eap_ttls_process_phase2_mschapv2() 802 if (sm->user->password_hash) { in eap_ttls_process_phase2_mschapv2()
|
D | eap_server_pwd.c | 29 int password_hash; member 119 data->password_hash = sm->user->password_hash; in eap_pwd_init() 222 data->password_prep = data->password_hash ? EAP_PWD_PREP_MS : in eap_pwd_build_id_req()
|
D | eap_server_md5.c | 107 sm->user->password_hash) { in eap_md5_process()
|
D | eap.h | 32 int password_hash; /* whether password is hashed with member
|
D | eap_server_gtc.c | 169 sm->user->password_hash) { in eap_gtc_process()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_ttls.c | 532 if (!sm->user || !sm->user->password || sm->user->password_hash || in eap_ttls_process_phase2_pap() 574 if (!sm->user || !sm->user->password || sm->user->password_hash || in eap_ttls_process_phase2_chap() 668 if ((sm->user->password_hash && in eap_ttls_process_phase2_mschap() 670 (!sm->user->password_hash && in eap_ttls_process_phase2_mschap() 770 if (sm->user->password_hash) { in eap_ttls_process_phase2_mschapv2() 801 if (sm->user->password_hash) { in eap_ttls_process_phase2_mschapv2()
|
D | eap.h | 32 int password_hash; /* whether password is hashed with member
|
D | eap_server_pwd.c | 29 int password_hash; member 119 data->password_hash = sm->user->password_hash; in eap_pwd_init() 222 data->password_prep = data->password_hash ? EAP_PWD_PREP_MS : in eap_pwd_build_id_req()
|
D | eap_server_md5.c | 107 sm->user->password_hash) { in eap_md5_process()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | authsrv.c | 79 user->password_hash = eap_user->password_hash; in hostapd_radius_get_eap_user()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | authsrv.c | 79 user->password_hash = eap_user->password_hash; in hostapd_radius_get_eap_user()
|