Lines Matching refs:blob_len
886 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, in decode_ntlmssp_challenge() argument
894 if (blob_len < sizeof(CHALLENGE_MESSAGE)) { in decode_ntlmssp_challenge()
895 cifs_dbg(VFS, "challenge blob len %d too small\n", blob_len); in decode_ntlmssp_challenge()
946 if (tioffset > blob_len || tioffset + tilen > blob_len) { in decode_ntlmssp_challenge()
1543 u16 blob_len; in sess_auth_kerberos() local
1630 blob_len = le16_to_cpu(pSMB->resp.SecurityBlobLength); in sess_auth_kerberos()
1631 if (blob_len > bytes_remaining) { in sess_auth_kerberos()
1633 blob_len); in sess_auth_kerberos()
1637 bcc_ptr += blob_len; in sess_auth_kerberos()
1638 bytes_remaining -= blob_len; in sess_auth_kerberos()
1723 u16 blob_len; in sess_auth_rawntlmssp_negotiate() local
1747 &blob_len, ses, server, in sess_auth_rawntlmssp_negotiate()
1752 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_negotiate()
1754 pSMB->req.SecurityBlobLength = cpu_to_le16(blob_len); in sess_auth_rawntlmssp_negotiate()
1788 blob_len = le16_to_cpu(pSMB->resp.SecurityBlobLength); in sess_auth_rawntlmssp_negotiate()
1789 if (blob_len > bytes_remaining) { in sess_auth_rawntlmssp_negotiate()
1791 blob_len); in sess_auth_rawntlmssp_negotiate()
1796 rc = decode_ntlmssp_challenge(bcc_ptr, blob_len, ses); in sess_auth_rawntlmssp_negotiate()
1829 u16 blob_len; in sess_auth_rawntlmssp_authenticate() local
1842 &blob_len, ses, server, in sess_auth_rawntlmssp_authenticate()
1846 sess_data->iov[1].iov_len = blob_len; in sess_auth_rawntlmssp_authenticate()
1848 pSMB->req.SecurityBlobLength = cpu_to_le16(blob_len); in sess_auth_rawntlmssp_authenticate()
1882 blob_len = le16_to_cpu(pSMB->resp.SecurityBlobLength); in sess_auth_rawntlmssp_authenticate()
1883 if (blob_len > bytes_remaining) { in sess_auth_rawntlmssp_authenticate()
1885 blob_len); in sess_auth_rawntlmssp_authenticate()
1889 bcc_ptr += blob_len; in sess_auth_rawntlmssp_authenticate()
1890 bytes_remaining -= blob_len; in sess_auth_rawntlmssp_authenticate()