Lines Matching refs:password_hash
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
130 nt_password_hash(password, password_len, password_hash); in generate_nt_response()
131 challenge_response(challenge, password_hash, response); in generate_nt_response()
147 const u8 *password_hash, in generate_nt_response_pwhash() argument
154 challenge_response(challenge, password_hash, response); in generate_nt_response_pwhash()
170 const u8 *password_hash, in generate_authenticator_response_pwhash() argument
203 hash_nt_password_hash(password_hash, password_hash_hash); in generate_authenticator_response_pwhash()
230 u8 password_hash[16]; in generate_authenticator_response() local
231 nt_password_hash(password, password_len, password_hash); in generate_authenticator_response()
232 generate_authenticator_response_pwhash(password_hash, in generate_authenticator_response()
249 u8 password_hash[16]; in nt_challenge_response() local
250 nt_password_hash(password, password_len, password_hash); in nt_challenge_response()
251 challenge_response(challenge, password_hash, response); in nt_challenge_response()
361 const u8 *password_hash, u8 *pw_block) in encrypt_pw_block_with_password_hash() argument
380 rc4(pw_block, PWBLOCK_LEN, password_hash, 16); in encrypt_pw_block_with_password_hash()
397 u8 password_hash[16]; in new_password_encrypted_with_old_nt_password_hash() local
399 nt_password_hash(old_password, old_password_len, password_hash); in new_password_encrypted_with_old_nt_password_hash()
401 password_hash, encrypted_pw_block); in new_password_encrypted_with_old_nt_password_hash()
411 static void nt_password_hash_encrypted_with_block(const u8 *password_hash, in nt_password_hash_encrypted_with_block() argument
415 des_encrypt(password_hash, block, cypher); in nt_password_hash_encrypted_with_block()
416 des_encrypt(password_hash + 8, block + 7, cypher + 8); in nt_password_hash_encrypted_with_block()