Lines Matching refs:encode_buf
243 char *encode_buf, *decode_buf, *decode_once_buf; member
1757 ret = _plug_buf_alloc(text->utils, &(text->encode_buf),
1768 out = (text->encode_buf)+4;
1773 memcpy(text->encode_buf, &tmpnum, 4);
1774 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
1777 text->utils->hmac_md5((const unsigned char *) text->encode_buf,
1801 memcpy(text->encode_buf, &tmp, 4);
1805 *output = text->encode_buf;
2036 ret = _plug_buf_alloc(text->utils, &(text->encode_buf),
2043 memcpy(text->encode_buf, &tmpnum, 4);
2044 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
2048 text->utils->hmac_md5((unsigned char *)text->encode_buf,
2052 text->utils->hmac_md5(text->encode_buf, inblob->curlen + 4,
2067 memcpy(text->encode_buf, &tmpnum, 4);
2069 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
2071 memcpy(text->encode_buf + 4 + inblob->curlen, MAC, 16);
2075 *output = text->encode_buf;
2281 if (text->encode_buf) utils->free(text->encode_buf);