Home
last modified time | relevance | path

Searched refs:ntlmv2_hash (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/fs/cifs/
A Dcifsencrypt.c532 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()
A Dcifspdu.h657 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member
/linux-6.3-rc2/fs/ksmbd/
A Dauth.c125 char *ntlmv2_hash, char *dname) in calc_ntlmv2_hash() argument
199 ret = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_hash); in calc_ntlmv2_hash()
222 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; in ksmbd_auth_ntlmv2() local
234 rc = calc_ntlmv2_hash(conn, sess, ntlmv2_hash, domain_name); in ksmbd_auth_ntlmv2()
241 ntlmv2_hash, in ksmbd_auth_ntlmv2()
276 rc = ksmbd_gen_sess_key(sess, ntlmv2_hash, ntlmv2_rsp); in ksmbd_auth_ntlmv2()
282 if (memcmp(ntlmv2->ntlmv2_hash, ntlmv2_rsp, CIFS_HMAC_MD5_HASH_SIZE) != 0) in ksmbd_auth_ntlmv2()
A Dntlmssp.h147 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member

Completed in 28 milliseconds