Searched refs:authblob (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | auth.c | 299 int ksmbd_decode_ntlmssp_auth_blob(struct authenticate_message *authblob, in ksmbd_decode_ntlmssp_auth_blob() argument 314 if (memcmp(authblob->Signature, "NTLMSSP", 8)) { in ksmbd_decode_ntlmssp_auth_blob() 316 authblob->Signature); in ksmbd_decode_ntlmssp_auth_blob() 320 nt_off = le32_to_cpu(authblob->NtChallengeResponse.BufferOffset); in ksmbd_decode_ntlmssp_auth_blob() 321 nt_len = le16_to_cpu(authblob->NtChallengeResponse.Length); in ksmbd_decode_ntlmssp_auth_blob() 322 dn_off = le32_to_cpu(authblob->DomainName.BufferOffset); in ksmbd_decode_ntlmssp_auth_blob() 323 dn_len = le16_to_cpu(authblob->DomainName.Length); in ksmbd_decode_ntlmssp_auth_blob() 330 domain_name = smb_strndup_from_utf16((const char *)authblob + dn_off, in ksmbd_decode_ntlmssp_auth_blob() 339 (struct ntlmv2_resp *)((char *)authblob + nt_off), in ksmbd_decode_ntlmssp_auth_blob() 349 sess_key_off = le32_to_cpu(authblob->SessionKey.BufferOffset); in ksmbd_decode_ntlmssp_auth_blob() [all …]
|
D | auth.h | 45 int ksmbd_decode_ntlmssp_auth_blob(struct authenticate_message *authblob,
|
D | smb2pdu.c | 1379 struct authenticate_message *authblob; in session_user() local 1389 authblob = user_authblob(conn, req); in session_user() 1390 name_off = le32_to_cpu(authblob->UserName.BufferOffset); in session_user() 1391 name_len = le16_to_cpu(authblob->UserName.Length); in session_user() 1397 name = smb_strndup_from_utf16((const char *)authblob + name_off, in session_user() 1474 struct authenticate_message *authblob; in ntlm_authenticate() local 1476 authblob = user_authblob(conn, req); in ntlm_authenticate() 1478 rc = ksmbd_decode_ntlmssp_auth_blob(authblob, sz, conn, sess); in ntlm_authenticate()
|