Searched refs:ntlmv2_hash (Results 1 – 4 of 4) sorted by relevance
/fs/smb/client/ |
D | cifsencrypt.c | 532 static int calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, in calc_ntlmv2_hash() argument 629 ntlmv2_hash); in calc_ntlmv2_hash() 637 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash) in CalcNTLMv2_response() argument 654 ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in CalcNTLMv2_response() 682 ntlmv2->ntlmv2_hash); in CalcNTLMv2_response() 696 char ntlmv2_hash[16]; in setup_ntlmv2_rsp() local 763 rc = calc_ntlmv2_hash(ses, ntlmv2_hash, nls_cp); in setup_ntlmv2_rsp() 770 rc = CalcNTLMv2_response(ses, ntlmv2_hash); in setup_ntlmv2_rsp() 778 ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in setup_ntlmv2_rsp() 792 ntlmv2->ntlmv2_hash, in setup_ntlmv2_rsp()
|
D | cifspdu.h | 657 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member
|
/fs/smb/server/ |
D | auth.c | 125 char *ntlmv2_hash, char *dname) in calc_ntlmv2_hash() argument 199 ret = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_hash); in calc_ntlmv2_hash() 224 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; in ksmbd_auth_ntlmv2() local 230 rc = calc_ntlmv2_hash(conn, sess, ntlmv2_hash, domain_name); in ksmbd_auth_ntlmv2() 243 ntlmv2_hash, in ksmbd_auth_ntlmv2() 280 rc = ksmbd_gen_sess_key(sess, ntlmv2_hash, ntlmv2_rsp); in ksmbd_auth_ntlmv2() 286 if (memcmp(ntlmv2->ntlmv2_hash, ntlmv2_rsp, CIFS_HMAC_MD5_HASH_SIZE) != 0) in ksmbd_auth_ntlmv2()
|
D | ntlmssp.h | 147 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member
|