Lines Matching refs:pbuffer
719 int build_ntlmssp_negotiate_blob(unsigned char **pbuffer, in build_ntlmssp_negotiate_blob() argument
732 *pbuffer = kmalloc(len, GFP_KERNEL); in build_ntlmssp_negotiate_blob()
733 if (!*pbuffer) { in build_ntlmssp_negotiate_blob()
739 sec_blob = (NEGOTIATE_MESSAGE *)*pbuffer; in build_ntlmssp_negotiate_blob()
741 memset(*pbuffer, 0, sizeof(NEGOTIATE_MESSAGE)); in build_ntlmssp_negotiate_blob()
754 tmp = *pbuffer + sizeof(NEGOTIATE_MESSAGE); in build_ntlmssp_negotiate_blob()
762 *pbuffer, &tmp, in build_ntlmssp_negotiate_blob()
768 *pbuffer, &tmp, in build_ntlmssp_negotiate_blob()
771 *buflen = tmp - *pbuffer; in build_ntlmssp_negotiate_blob()
776 int build_ntlmssp_auth_blob(unsigned char **pbuffer, in build_ntlmssp_auth_blob() argument
795 *pbuffer = kmalloc(len, GFP_KERNEL); in build_ntlmssp_auth_blob()
796 if (!*pbuffer) { in build_ntlmssp_auth_blob()
802 sec_blob = (AUTHENTICATE_MESSAGE *)*pbuffer; in build_ntlmssp_auth_blob()
810 tmp = *pbuffer + sizeof(AUTHENTICATE_MESSAGE); in build_ntlmssp_auth_blob()
819 cpu_to_le32(tmp - *pbuffer); in build_ntlmssp_auth_blob()
840 *pbuffer, &tmp, in build_ntlmssp_auth_blob()
846 *pbuffer, &tmp, in build_ntlmssp_auth_blob()
852 *pbuffer, &tmp, in build_ntlmssp_auth_blob()
859 sec_blob->SessionKey.BufferOffset = cpu_to_le32(tmp - *pbuffer); in build_ntlmssp_auth_blob()
865 sec_blob->SessionKey.BufferOffset = cpu_to_le32(tmp - *pbuffer); in build_ntlmssp_auth_blob()
870 *buflen = tmp - *pbuffer; in build_ntlmssp_auth_blob()