Lines Matching refs:NTLMSSP_SIG_SIZE
70 if (buf_len < 8 + NTLMSSP_SIG_SIZE) {
77 data_len = buf_len - 8 - NTLMSSP_SIG_SIZE;
80 sig = data_blob_const(inbuf+8, NTLMSSP_SIG_SIZE);
83 (unsigned char *)inbuf + 8 + NTLMSSP_SIG_SIZE, /* 4 byte len + 0xFF 'E' <enc> <ctx> */
85 (unsigned char *)inbuf + 8 + NTLMSSP_SIG_SIZE,
94 memcpy(buf + 8, inbuf + 8 + NTLMSSP_SIG_SIZE, data_len);
131 buf_out = SMB_XMALLOC_ARRAY(char, 8 + NTLMSSP_SIG_SIZE + data_len);
135 memcpy(buf_out + 8 + NTLMSSP_SIG_SIZE, buf + 8, data_len);
137 smb_set_enclen(buf_out, smb_len(buf) + NTLMSSP_SIG_SIZE, enc_ctx_num);
142 (unsigned char *)buf_out + 8 + NTLMSSP_SIG_SIZE, /* 4 byte len + 0xFF 'S' <enc> <ctx> */
144 (unsigned char *)buf_out + 8 + NTLMSSP_SIG_SIZE,
155 memcpy(buf_out + 8, sig.data, NTLMSSP_SIG_SIZE);