Searched refs:ntlmv2 (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/fs/smb/client/ |
| H A D | cifsencrypt.c | 496 struct ntlmv2_resp *ntlmv2 = (struct ntlmv2_resp *) in CalcNTLMv2_response() local 521 rc = crypto_shash_update(hmacmd5, ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response() 528 rc = crypto_shash_final(hmacmd5, ntlmv2->ntlmv2_hash); in CalcNTLMv2_response() 542 struct ntlmv2_resp *ntlmv2; in setup_ntlmv2_rsp() local 604 ntlmv2 = (struct ntlmv2_resp *) in setup_ntlmv2_rsp() 606 ntlmv2->blob_signature = cpu_to_le32(0x00000101); in setup_ntlmv2_rsp() 607 ntlmv2->reserved = 0; in setup_ntlmv2_rsp() 608 ntlmv2->time = rsp_timestamp; in setup_ntlmv2_rsp() 610 get_random_bytes(&ntlmv2->client_chal, sizeof(ntlmv2->client_chal)); in setup_ntlmv2_rsp() 611 ntlmv2->reserved2 = 0; in setup_ntlmv2_rsp() [all …]
|
| /linux-6.15/fs/smb/server/ |
| H A D | auth.h | 43 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name,
|
| H A 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()
|
| /linux-6.15/Documentation/admin-guide/cifs/ |
| H A D | usage.rst | 680 ntlmv2
|