Lines Matching refs:hash
66 * Compute an LM hash given a password
69 * hash: 16-byte "LanMan" (LM) hash.
79 smbfs_ntlm_compute_lm_hash(uchar_t *hash, const char *pass)
95 /* Compute the hash. */
96 err = smbfs_encrypt_DES(hash, NTLM_HASH_SZ,
106 * Compute an NT hash given a password in UTF-8.
109 * hash: 16-byte "NT" hash.
115 smbfs_ntlm_compute_nt_hash(uchar_t *hash, const char *pass)
127 /* Compute the hash. */
130 MD4Final(hash, &ctx);
139 * Create an LM response from the given LM hash and challenge,
140 * or an NTLM repsonse from a given NTLM hash and challenge.
145 const uchar_t *hash,
156 bcopy(hash, S21, NTLM_HASH_SZ);
207 /* They asked to send the LM hash too. */
216 * the challenge and the NT hash.
352 MD5Update(&context, digest, 16); /* then results of 1st hash */
358 * Compute an NTLMv2 hash given the NTLMv1 hash, the user name,
362 * v2hash: 16-byte NTLMv2 hash.
364 * v1hash: 16-byte NTLMv1 hash.
413 * appending the client_data to the returned hash.
418 * v2hash: 16-byte NTLMv2 hash.
493 * Compute the NTLMv2 hash
506 * 1: 16-byte response hash
524 * 1: 16-byte response hash