Searched refs:password_hash (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant/ |
D | ms_funcs.c | 59 u8 *password_hash) in nt_password_hash() argument 75 md4_vector(1, (const u8 **) &pos, &len, password_hash); in nt_password_hash() 84 void hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash) in hash_nt_password_hash() argument 87 md4_vector(1, &password_hash, &len, password_hash_hash); in hash_nt_password_hash() 97 void challenge_response(const u8 *challenge, const u8 *password_hash, in challenge_response() argument 101 des_encrypt(challenge, password_hash, response); in challenge_response() 102 des_encrypt(challenge, password_hash + 7, response + 8); in challenge_response() 103 zpwd[0] = password_hash[14]; in challenge_response() 104 zpwd[1] = password_hash[15]; in challenge_response() 126 u8 password_hash[16]; in generate_nt_response() local [all …]
|
D | ms_funcs.h | 25 const u8 *password_hash, 33 const u8 *password_hash, 40 void challenge_response(const u8 *challenge, const u8 *password_hash, 43 u8 *password_hash); 44 void hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash);
|
D | eap_mschapv2.c | 187 u8 password_hash[16], password_hash_hash[16]; in eap_mschapv2_derive_response() local 212 nt_password_hash(password, password_len, password_hash); in eap_mschapv2_derive_response() 213 hash_nt_password_hash(password_hash, password_hash_hash); in eap_mschapv2_derive_response()
|
/external/wpa_supplicant/tests/ |
D | test_ms_funcs.c | 32 u8 password_hash[] = { in main() local 73 if (memcmp(password_hash, buf, sizeof(password_hash)) != 0) { in main() 87 hash_nt_password_hash(password_hash, buf); in main()
|