Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dcifsencrypt.c507 struct ntlmv2_resp *ntlmv2 = (struct ntlmv2_resp *) in CalcNTLMv2_response() local
528 memcpy(ntlmv2->challenge.key, ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
530 memcpy(ntlmv2->challenge.key, ses->server->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
532 rc = crypto_shash_update(hmacmd5, ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
539 rc = crypto_shash_final(hmacmd5, ntlmv2->ntlmv2_hash); in CalcNTLMv2_response()
553 struct ntlmv2_resp *ntlmv2; in setup_ntlmv2_rsp() local
602 ntlmv2 = (struct ntlmv2_resp *) in setup_ntlmv2_rsp()
604 ntlmv2->blob_signature = cpu_to_le32(0x00000101); in setup_ntlmv2_rsp()
605 ntlmv2->reserved = 0; in setup_ntlmv2_rsp()
606 ntlmv2->time = rsp_timestamp; in setup_ntlmv2_rsp()
[all …]
/linux/fs/smb/server/
H A Dauth.h43 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name,
H A Dauth.c221 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name, in ksmbd_auth_ntlmv2() argument
264 memcpy(construct + CIFS_CRYPTO_KEY_SIZE, &ntlmv2->blob_signature, blen); in ksmbd_auth_ntlmv2()
286 if (memcmp(ntlmv2->ntlmv2_hash, ntlmv2_rsp, CIFS_HMAC_MD5_HASH_SIZE) != 0) in ksmbd_auth_ntlmv2()
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst680 ntlmv2