Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/client/
Dcifsencrypt.c418 static int calc_ntlmv2_hash(struct cifs_ses *ses, char *ntlmv2_hash, in calc_ntlmv2_hash() argument
496 rc = crypto_shash_final(hmacmd5, ntlmv2_hash); in calc_ntlmv2_hash()
504 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash, struct shash_desc *hmacmd5) in CalcNTLMv2_response() argument
515 rc = crypto_shash_setkey(hmacmd5->tfm, ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in CalcNTLMv2_response()
539 rc = crypto_shash_final(hmacmd5, ntlmv2->ntlmv2_hash); in CalcNTLMv2_response()
554 char ntlmv2_hash[16]; in setup_ntlmv2_rsp() local
622 rc = calc_ntlmv2_hash(ses, ntlmv2_hash, nls_cp, hmacmd5); in setup_ntlmv2_rsp()
629 rc = CalcNTLMv2_response(ses, ntlmv2_hash, hmacmd5); in setup_ntlmv2_rsp()
636 rc = crypto_shash_setkey(hmacmd5->tfm, ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in setup_ntlmv2_rsp()
648 rc = crypto_shash_update(hmacmd5, ntlmv2->ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in setup_ntlmv2_rsp()
Dcifspdu.h657 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member
/linux-6.12.1/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()
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()
Dntlmssp.h147 char ntlmv2_hash[CIFS_ENCPWD_SIZE]; member