Home
last modified time | relevance | path

Searched refs:password_hash (Results 1 – 18 of 18) sorted by relevance

/NextBSD/contrib/wpa/src/crypto/
HDms_funcs.c110 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()
144 void challenge_response(const u8 *challenge, const u8 *password_hash, in challenge_response() argument
148 des_encrypt(challenge, password_hash, response); in challenge_response()
149 des_encrypt(challenge, password_hash + 7, response + 8); in challenge_response()
150 zpwd[0] = password_hash[14]; in challenge_response()
151 zpwd[1] = password_hash[15]; in challenge_response()
174 u8 password_hash[16]; in generate_nt_response() local
[all …]
HDms_funcs.h19 const u8 *password_hash,
27 const u8 *password_hash,
34 void 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 void nt_password_hash_encrypted_with_block(const u8 *password_hash,
HDcrypto_module_tests.c1596 u8 password_hash[] = { in test_ms_funcs() local
1626 os_memcmp(password_hash, buf, sizeof(password_hash)) != 0) { in test_ms_funcs()
1639 if (hash_nt_password_hash(password_hash, buf) || in test_ms_funcs()
/NextBSD/contrib/wpa/hostapd/
HDnt_password_hash.c17 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()
HDconfig_file.c467 user->password_hash = 1; in hostapd_config_read_eap_user()
/NextBSD/contrib/wpa/src/eap_peer/
HDmschapv2.c46 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()
HDeap_mschapv2.c525 u8 password_hash[16], password_hash_hash[16]; in eap_mschapv2_change_password()
616 if (nt_password_hash(new_password, new_password_len, password_hash) || in eap_mschapv2_change_password()
617 hash_nt_password_hash(password_hash, password_hash_hash) || in eap_mschapv2_change_password()
HDeap_pwd.c29 int password_hash; member
135 data->password_hash = pwhash; in eap_pwd_init()
261 if (id->prep == EAP_PWD_PREP_NONE && data->password_hash) { in eap_pwd_perform_id_exchange()
297 if (data->password_hash) { in eap_pwd_perform_id_exchange()
/NextBSD/contrib/wpa/src/ap/
HDauthsrv.c80 user->password_hash = eap_user->password_hash; in hostapd_radius_get_eap_user()
HDap_config.h153 unsigned int password_hash:1; /* whether password is hashed with member
HDieee802_1x.c1960 user->password_hash = eap_user->password_hash; in ieee802_1x_get_eap_user()
/NextBSD/lib/libpam/modules/pam_unix/
HDpam_unix.c79 static char password_hash[] = PASSWORD_HASH; variable
381 if (login_setcryptfmt(lc, password_hash, NULL) == NULL) in pam_sm_chauthtok()
/NextBSD/contrib/wpa/src/eap_server/
HDeap_server_ttls.c533 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()
768 if (sm->user->password_hash) { in eap_ttls_process_phase2_mschapv2()
799 if (sm->user->password_hash) { in eap_ttls_process_phase2_mschapv2()
HDeap_server_pwd.c28 int password_hash; member
117 data->password_hash = sm->user->password_hash; in eap_pwd_init()
187 wpabuf_put_u8(data->outbuf, data->password_hash ? EAP_PWD_PREP_MS : in eap_pwd_build_id_req()
622 if (data->password_hash) { in eap_pwd_process_id_resp()
HDeap.h32 int password_hash; /* whether password is hashed with member
HDeap_server_md5.c107 sm->user->password_hash) { in eap_md5_process()
HDeap_server_gtc.c170 sm->user->password_hash) { in eap_gtc_process()
HDeap_server_mschapv2.c390 if (sm->user->password_hash) { in eap_mschapv2_process_response()
419 if (sm->user->password_hash) { in eap_mschapv2_process_response()