Home
last modified time | relevance | path

Searched refs:chgblob (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/fs/ksmbd/
Dauth.c404 ksmbd_build_ntlmssp_challenge_blob(struct challenge_message *chgblob, in ksmbd_build_ntlmssp_challenge_blob() argument
414 memcpy(chgblob->Signature, NTLMSSP_SIGNATURE, 8); in ksmbd_build_ntlmssp_challenge_blob()
415 chgblob->MessageType = NtLmChallenge; in ksmbd_build_ntlmssp_challenge_blob()
443 chgblob->NegotiateFlags = cpu_to_le32(flags); in ksmbd_build_ntlmssp_challenge_blob()
461 chgblob->TargetName.Length = cpu_to_le16(uni_len); in ksmbd_build_ntlmssp_challenge_blob()
462 chgblob->TargetName.MaximumLength = cpu_to_le16(uni_len); in ksmbd_build_ntlmssp_challenge_blob()
463 chgblob->TargetName.BufferOffset = cpu_to_le32(blob_off); in ksmbd_build_ntlmssp_challenge_blob()
467 memcpy(chgblob->Challenge, conn->ntlmssp.cryptkey, in ksmbd_build_ntlmssp_challenge_blob()
471 chgblob->TargetInfoArray.BufferOffset = cpu_to_le32(blob_len); in ksmbd_build_ntlmssp_challenge_blob()
473 target_name = (__u8 *)chgblob + blob_off; in ksmbd_build_ntlmssp_challenge_blob()
[all …]
Dauth.h51 ksmbd_build_ntlmssp_challenge_blob(struct challenge_message *chgblob,
Dsmb2pdu.c1307 struct challenge_message *chgblob; in ntlm_negotiate() local
1319 chgblob = in ntlm_negotiate()
1321 memset(chgblob, 0, sizeof(struct challenge_message)); in ntlm_negotiate()
1324 sz = ksmbd_build_ntlmssp_challenge_blob(chgblob, work->conn); in ntlm_negotiate()
1339 chgblob = (struct challenge_message *)neg_blob; in ntlm_negotiate()
1340 sz = ksmbd_build_ntlmssp_challenge_blob(chgblob, work->conn); in ntlm_negotiate()