Searched refs:ntlmv2 (Results 1 – 3 of 3) sorted by relevance
/fs/smb/client/ |
D | cifsencrypt.c | 640 struct ntlmv2_resp *ntlmv2 = (struct ntlmv2_resp *) in CalcNTLMv2_response() local 668 memcpy(ntlmv2->challenge.key, in CalcNTLMv2_response() 671 memcpy(ntlmv2->challenge.key, in CalcNTLMv2_response() 674 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response() 682 ntlmv2->ntlmv2_hash); in CalcNTLMv2_response() 695 struct ntlmv2_resp *ntlmv2; in setup_ntlmv2_rsp() local 744 ntlmv2 = (struct ntlmv2_resp *) in setup_ntlmv2_rsp() 746 ntlmv2->blob_signature = cpu_to_le32(0x00000101); in setup_ntlmv2_rsp() 747 ntlmv2->reserved = 0; in setup_ntlmv2_rsp() 748 ntlmv2->time = rsp_timestamp; in setup_ntlmv2_rsp() [all …]
|
/fs/smb/server/ |
D | auth.h | 43 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name,
|
D | auth.c | 221 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()
|