Home
last modified time | relevance | path

Searched refs:encode_buf (Results 1 – 5 of 5) sorted by relevance

/onnv-gate/usr/src/lib/libdscfg/common/
H A Dcfg.c1207 char encode_buf[CFG_MAX_BUF]; in cfg_put_options() local
1230 *encode_buf = ';'; in cfg_put_options()
1231 enclen = cfg_encode_string(tag, &encode_buf[1], CFG_MAX_BUF - 1) + 1; in cfg_put_options()
1237 encode_buf[enclen] = '='; in cfg_put_options()
1238 encode_buf[enclen + 1] = '\0'; in cfg_put_options()
1241 if (strncmp(buf, &encode_buf[1], enclen) == 0) { in cfg_put_options()
1247 strcat(p, &encode_buf[1]); in cfg_put_options()
1251 strcpy(p, &encode_buf[1]); in cfg_put_options()
1253 if (cfg_encode_string(val, encode_buf, CFG_MAX_BUF) < 0) { in cfg_put_options()
1258 strcat(p, encode_buf); in cfg_put_options()
[all …]
/onnv-gate/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c159 char *encode_buf; /* For encoding/decoding mem management */ member
415 ret = _plug_buf_alloc(text->utils, &(text->encode_buf), in sasl_gss_encode()
427 memcpy(text->encode_buf, &len, 4); in sasl_gss_encode()
428 memcpy(text->encode_buf + 4, output_token->value, output_token->length); in sasl_gss_encode()
435 *output = text->encode_buf; in sasl_gss_encode()
690 if (text->encode_buf) {
691 text->utils->free(text->encode_buf);
692 text->encode_buf = NULL;
/onnv-gate/usr/src/lib/libsasl/lib/
H A Dcommon.c342 result = _iovec_to_buf(conn->gctx, invec, numiov, &conn->encode_buf); in sasl_encodev()
344 result = _iovec_to_buf(invec, numiov, &conn->encode_buf); in sasl_encodev()
348 *output = conn->encode_buf->data; in sasl_encodev()
349 *outputlen = conn->encode_buf->curlen; in sasl_encodev()
545 conn->encode_buf = NULL; in _sasl_conn_init()
705 if(conn->encode_buf) { in _sasl_conn_dispose()
706 if(conn->encode_buf->data) sasl_FREE(conn->encode_buf->data); in _sasl_conn_dispose()
707 sasl_FREE(conn->encode_buf); in _sasl_conn_dispose()
H A Dsaslint.h201 buffer_info_t *encode_buf; member
/onnv-gate/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c246 char *encode_buf, *decode_buf, *decode_once_buf; member
1764 ret = _plug_buf_alloc(text->utils, &(text->encode_buf),
1775 out = (text->encode_buf)+4;
1780 memcpy(text->encode_buf, &tmpnum, 4);
1781 memcpy(text->encode_buf + 4, inblob->data, inblob->curlen);
1784 text->utils->hmac_md5((const unsigned char *) text->encode_buf,
1808 memcpy(text->encode_buf, &tmp, 4);
1812 *output = text->encode_buf;
2043 ret = _plug_buf_alloc(text->utils, &(text->encode_buf),
2050 memcpy(text->encode_buf, &tmpnum, 4);
[all …]