Lines Matching defs:hash
66 * Given a password, compute the LM hash.
70 * hash: 16-byte "LanMan" (LM) hash (normally ctx->ct_lmhash)
80 ntlm_compute_lm_hash(uchar_t *hash, const char *pass)
96 /* Compute the hash. */
97 err = smb_encrypt_DES(hash, NTLM_HASH_SZ,
107 * Given a password, compute the NT hash.
111 * hash: 16-byte "NT" hash (normally ctx->ct_nthash)
117 ntlm_compute_nt_hash(uchar_t *hash, const char *pass)
129 /* Compute the hash. */
132 MD4Final(hash, &ctx);
142 * Create an LM response from the given LM hash and challenge,
143 * or an NTLM repsonse from a given NTLM hash and challenge.
148 const uchar_t *hash,
159 bcopy(hash, S21, NTLM_HASH_SZ);
202 * the challenge and the NT hash (a.k.a ResponseKeyNT)
222 /* They asked to send the LM hash too. */
279 * NT hash (a.k.a ResponseKeyNT) and the first
365 MD5Update(&context, digest, 16); /* then results of 1st hash */
371 * Compute an NTLMv2 hash given the NTLMv1 hash, the user name,
375 * v2hash: 16-byte NTLMv2 hash.
377 * v1hash: 16-byte NTLMv1 hash.
426 * appending the client_data to the returned hash.
431 * v2hash: 16-byte NTLMv2 hash.
506 * Compute the NTLMv2 hash
519 * 1: 16-byte response hash
536 * 1: 16-byte response hash