Searched refs:encode_buf (Results 1 - 6 of 6) sorted by relevance

/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/plugins/
H A Dpassdss.c139 char *encode_buf, *decode_buf, *decode_pkt_buf; member in struct:context
171 ret = _plug_buf_alloc(text->utils, &text->encode_buf,
199 text->encode_buf + *outputlen, &enclen,
205 memcpy(text->encode_buf + *outputlen, invec[i].iov_base,
220 text->encode_buf + *outputlen, &enclen,
228 text->encode_buf + *outputlen, &enclen,
232 text->encode_buf + *outputlen, &enclen,
238 text->encode_buf + *outputlen, &enclen);
243 memcpy(text->encode_buf + *outputlen, hmac, hmaclen);
250 memcpy(text->encode_buf,
[all...]
H A Dsrp.c273 char *encode_buf, *decode_buf, *decode_pkt_buf; member in struct:context
303 ret = _plug_buf_alloc(text->utils, &text->encode_buf,
323 text->encode_buf + *outputlen, &enclen,
328 input = text->encode_buf + 4;
333 memcpy(text->encode_buf + *outputlen, input, inputlen);
343 text->encode_buf + *outputlen, &enclen);
351 HMAC_Update(&text->hmac_send_ctx, text->encode_buf+4, *outputlen-4);
362 HMAC_Final(&text->hmac_send_ctx, text->encode_buf + *outputlen,
370 memcpy(text->encode_buf, &tmpnum, 4);
372 *output = text->encode_buf;
[all...]
H A Dgssapi.c161 unsigned char *encode_buf; /* For encoding/decoding mem management */ member in struct:context
387 ret = _plug_buf_alloc(text->utils, &(text->encode_buf),
398 memcpy(text->encode_buf, &len, 4);
399 memcpy(text->encode_buf + 4, output_token->value, output_token->length);
406 *output = (const char *)text->encode_buf;
568 if (text->encode_buf) {
569 text->utils->free(text->encode_buf);
570 text->encode_buf = NULL;
H A Ddigestmd5.c254 unsigned char *encode_buf, *decode_buf, *decode_packet_buf; member in struct:context
1371 ret = _plug_buf_alloc(text->utils, (unsigned char **)&(text->encode_buf),
1381 out = (text->encode_buf)+4;
1389 memcpy(text->encode_buf, &tmpnum, 4);
1390 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
1396 text->utils->hmac_md5((const unsigned char *) text->encode_buf,
1407 text->utils->hmac_md5((const unsigned char *) text->encode_buf,
1410 (unsigned char *)text->encode_buf + inblob->curlen + 4);
1431 memcpy(text->encode_buf, &tmp, 4);
1435 *output = (const char *)text->encode_buf;
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/lib/
H A Dcommon.c260 result = _iovec_to_buf(invec, numiov, &conn->encode_buf);
263 *output = (const char *)conn->encode_buf->data;
264 *outputlen = (unsigned) conn->encode_buf->curlen;
398 conn->encode_buf = NULL;
494 if(conn->encode_buf) {
495 if(conn->encode_buf->data) sasl_FREE(conn->encode_buf->data);
496 sasl_FREE(conn->encode_buf);
H A Dsaslint.h173 buffer_info_t *encode_buf; member in struct:sasl_conn

Completed in 269 milliseconds