Lines Matching refs:authblob
305 int ksmbd_decode_ntlmssp_auth_blob(struct authenticate_message *authblob, in ksmbd_decode_ntlmssp_auth_blob() argument
320 if (memcmp(authblob->Signature, "NTLMSSP", 8)) { in ksmbd_decode_ntlmssp_auth_blob()
322 authblob->Signature); in ksmbd_decode_ntlmssp_auth_blob()
326 nt_off = le32_to_cpu(authblob->NtChallengeResponse.BufferOffset); in ksmbd_decode_ntlmssp_auth_blob()
327 nt_len = le16_to_cpu(authblob->NtChallengeResponse.Length); in ksmbd_decode_ntlmssp_auth_blob()
328 dn_off = le32_to_cpu(authblob->DomainName.BufferOffset); in ksmbd_decode_ntlmssp_auth_blob()
329 dn_len = le16_to_cpu(authblob->DomainName.Length); in ksmbd_decode_ntlmssp_auth_blob()
336 domain_name = smb_strndup_from_utf16((const char *)authblob + dn_off, in ksmbd_decode_ntlmssp_auth_blob()
345 (struct ntlmv2_resp *)((char *)authblob + nt_off), in ksmbd_decode_ntlmssp_auth_blob()
355 sess_key_off = le32_to_cpu(authblob->SessionKey.BufferOffset); in ksmbd_decode_ntlmssp_auth_blob()
356 sess_key_len = le16_to_cpu(authblob->SessionKey.Length); in ksmbd_decode_ntlmssp_auth_blob()
371 (char *)authblob + sess_key_off, sess_key_len); in ksmbd_decode_ntlmssp_auth_blob()