Lines Matching refs:blob_len
306 int blob_len, struct ksmbd_conn *conn, in ksmbd_decode_ntlmssp_auth_blob() argument
314 if (blob_len < sizeof(struct authenticate_message)) { in ksmbd_decode_ntlmssp_auth_blob()
316 blob_len); in ksmbd_decode_ntlmssp_auth_blob()
331 if (blob_len < (u64)dn_off + dn_len || blob_len < (u64)nt_off + nt_len || in ksmbd_decode_ntlmssp_auth_blob()
358 if (blob_len < (u64)sess_key_off + sess_key_len) in ksmbd_decode_ntlmssp_auth_blob()
387 int blob_len, struct ksmbd_conn *conn) in ksmbd_decode_ntlmssp_neg_blob() argument
389 if (blob_len < sizeof(struct negotiate_message)) { in ksmbd_decode_ntlmssp_neg_blob()
391 blob_len); in ksmbd_decode_ntlmssp_neg_blob()
419 unsigned int flags, blob_off, blob_len, type, target_info_len = 0; in ksmbd_build_ntlmssp_challenge_blob() local
468 blob_len = blob_off + uni_len; in ksmbd_build_ntlmssp_challenge_blob()
480 chgblob->TargetInfoArray.BufferOffset = cpu_to_le32(blob_len); in ksmbd_build_ntlmssp_challenge_blob()
504 blob_len += target_info_len; in ksmbd_build_ntlmssp_challenge_blob()
506 ksmbd_debug(AUTH, "NTLMSSP SecurityBufferLength %d\n", blob_len); in ksmbd_build_ntlmssp_challenge_blob()
507 return blob_len; in ksmbd_build_ntlmssp_challenge_blob()