Lines Matching defs:hash
2 * NTLM and NTLMv2 hash generation.
36 void lm_hash(const char *passwd, unsigned char hash[LM_HASH_SIZE])
47 deshash(hash, buffer, lm_magic);
48 deshash(hash + 8, buffer + 7, lm_magic);
53 void ntlm_v1_hash(const char *passwd, unsigned char hash[NTLMSSP_HASH_SIZE])
58 md4_get_digest(wpwd, len, hash);
75 unsigned char hash[NTLMSSP_V2_HASH_SIZE])
83 hmac_final(&ctx, hash);
87 ntlmssp_v1_response(const unsigned char *hash,
93 memcpy(des_hash, hash, NTLMSSP_HASH_SIZE);
105 ntlmssp2_response(const unsigned char *hash,
118 ntlmssp_v1_response(hash, session_hash, response);
129 unsigned char hash[NTLMSSP_V2_HASH_SIZE];
131 ntlm_v2_hash(user, target, hash_v1, hash);
133 hmac_init(&ctx, hash, NTLMSSP_V2_HASH_SIZE, &hash_method_md5);
138 safe_memset(hash, 0, sizeof(hash));