Lines Matching defs:password_hash
106 * @password_hash: 16-octet PasswordHash (OUT)
110 u8 *password_hash)
121 return md4_vector(1, (const u8 **) &pos, &len, password_hash);
127 * @password_hash: 16-octet PasswordHash (IN)
131 int hash_nt_password_hash(const u8 *password_hash, u8 *password_hash_hash)
134 return md4_vector(1, &password_hash, &len, password_hash_hash);
141 * @password_hash: 16-octet PasswordHash (IN)
144 void challenge_response(const u8 *challenge, const u8 *password_hash,
148 des_encrypt(challenge, password_hash, response);
149 des_encrypt(challenge, password_hash + 7, response + 8);
150 zpwd[0] = password_hash[14];
151 zpwd[1] = password_hash[15];
174 u8 password_hash[16];
178 nt_password_hash(password, password_len, password_hash))
180 challenge_response(challenge, password_hash, response);
191 * @password_hash: 16-octet PasswordHash (IN)
198 const u8 *password_hash,
207 challenge_response(challenge, password_hash, response);
214 * @password_hash: 16-octet PasswordHash (IN)
225 const u8 *password_hash,
258 if (hash_nt_password_hash(password_hash, password_hash_hash) ||
286 u8 password_hash[16];
287 if (nt_password_hash(password, password_len, password_hash))
290 password_hash, peer_challenge, auth_challenge,
306 u8 password_hash[16];
307 if (nt_password_hash(password, password_len, password_hash))
309 challenge_response(challenge, password_hash, response);
423 * @password_hash: 16-octet PasswordHash (IN)
429 const u8 *password_hash, u8 *pw_block)
452 rc4_skip(password_hash, 16, 0, pw_block, PWBLOCK_LEN);
471 u8 password_hash[16];
473 if (nt_password_hash(old_password, old_password_len, password_hash))
476 password_hash,
487 * @password_hash: 16-octer PasswordHash (IN)
491 void nt_password_hash_encrypted_with_block(const u8 *password_hash,
494 des_encrypt(password_hash, block, cypher);
495 des_encrypt(password_hash + 8, block + 7, cypher + 8);