Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
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()
Dcifspdu.h657 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member
/linux-6.6.21/fs/smb/server/
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
228 rc = calc_ntlmv2_hash(conn, sess, ntlmv2_hash, domain_name); in ksmbd_auth_ntlmv2()
241 ntlmv2_hash, in ksmbd_auth_ntlmv2()
278 rc = ksmbd_gen_sess_key(sess, ntlmv2_hash, ntlmv2_rsp); in ksmbd_auth_ntlmv2()
284 if (memcmp(ntlmv2->ntlmv2_hash, ntlmv2_rsp, CIFS_HMAC_MD5_HASH_SIZE) != 0) in ksmbd_auth_ntlmv2()
Dntlmssp.h147 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member