Searched refs:ntlmv2 (Results 1 – 3 of 3) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | cifsencrypt.c | 444 struct ntlmv2_resp *ntlmv2 = (struct ntlmv2_resp *) in CalcNTLMv2_response() local 453 memcpy(ntlmv2->challenge.key, ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response() 455 memcpy(ntlmv2->challenge.key, ses->server->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response() 459 ntlmv2->challenge.key, hash_len, in CalcNTLMv2_response() 460 ntlmv2->ntlmv2_hash); in CalcNTLMv2_response() 518 struct ntlmv2_resp *ntlmv2; in setup_ntlmv2_rsp() local 579 ntlmv2 = (struct ntlmv2_resp *) in setup_ntlmv2_rsp() 581 ntlmv2->blob_signature = cpu_to_le32(0x00000101); in setup_ntlmv2_rsp() 582 ntlmv2->reserved = 0; in setup_ntlmv2_rsp() 583 ntlmv2->time = rsp_timestamp; in setup_ntlmv2_rsp() [all …]
|
| /linux/fs/smb/server/ |
| H A D | auth.c | 139 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name, in ksmbd_auth_ntlmv2() argument 160 hmac_md5_update(&ctx, (const u8 *)&ntlmv2->blob_signature, blen); in ksmbd_auth_ntlmv2() 168 if (memcmp(ntlmv2->ntlmv2_hash, ntlmv2_rsp, CIFS_HMAC_MD5_HASH_SIZE) != 0) in ksmbd_auth_ntlmv2()
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | usage.rst | 682 ntlmv2
|