Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dcifsencrypt.c404 static int calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, in calc_ntlmv2_hash() argument
501 ntlmv2_hash); in calc_ntlmv2_hash()
509 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash) in CalcNTLMv2_response() argument
526 ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in CalcNTLMv2_response()
554 ntlmv2->ntlmv2_hash); in CalcNTLMv2_response()
568 char ntlmv2_hash[16]; in setup_ntlmv2_rsp() local
635 rc = calc_ntlmv2_hash(ses, ntlmv2_hash, nls_cp); in setup_ntlmv2_rsp()
642 rc = CalcNTLMv2_response(ses, ntlmv2_hash); in setup_ntlmv2_rsp()
650 ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in setup_ntlmv2_rsp()
664 ntlmv2->ntlmv2_hash, in setup_ntlmv2_rsp()
Dcifspdu.h657 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member
/linux-6.1.9/fs/ksmbd/
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()
Dntlmssp.h147 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member