Lines Matching refs:encode_buf
242 char *encode_buf, *decode_buf, *decode_once_buf;
1756 ret = _plug_buf_alloc(text->utils, &(text->encode_buf),
1767 out = (text->encode_buf)+4;
1772 memcpy(text->encode_buf, &tmpnum, 4);
1773 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
1776 text->utils->hmac_md5((const unsigned char *) text->encode_buf,
1800 memcpy(text->encode_buf, &tmp, 4);
1804 *output = text->encode_buf;
2035 ret = _plug_buf_alloc(text->utils, &(text->encode_buf),
2042 memcpy(text->encode_buf, &tmpnum, 4);
2043 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
2047 text->utils->hmac_md5((unsigned char *)text->encode_buf,
2051 text->utils->hmac_md5(text->encode_buf, inblob->curlen + 4,
2066 memcpy(text->encode_buf, &tmpnum, 4);
2068 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
2070 memcpy(text->encode_buf + 4 + inblob->curlen, MAC, 16);
2074 *output = text->encode_buf;
2280 if (text->encode_buf) utils->free(text->encode_buf);