/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_misc.c | 127 gss_buffer_desc in_buf, out_buf; local 137 out_buf.length = 0; 161 * out_buf will have wrapped data (in_buf will no longer be 162 * needed). If integrity is used, out_buf will have checksum 171 &conf_state, &out_buf) != GSS_S_COMPLETE) 179 &out_buf) != GSS_S_COMPLETE) 187 * write out in_buf and out_buf as needed 194 if (!__xdr_gss_buf(out_xdrs, &out_buf)) 201 if (out_buf.length != 0) 202 (void) gss_release_buffer(&minor, &out_buf); 220 gss_buffer_desc in_buf, out_buf; local [all...] |
H A D | rpcsec_gss.c | 508 gss_buffer_desc in_buf, out_buf; local 525 &out_buf)) != GSS_S_COMPLETE) { 531 verf.oa_base = out_buf.value; 532 verf.oa_length = out_buf.length; 534 (void) gss_release_buffer(&minor, &out_buf);
|
H A D | svc_rpcsec_gss.c | 1152 gss_buffer_desc in_buf, out_buf; local 1159 &out_buf) != GSS_S_COMPLETE) 1163 rqst->rq_xprt->xp_verf.oa_length = out_buf.length; 1164 memcpy(rqst->rq_xprt->xp_verf.oa_base, out_buf.value, 1165 out_buf.length); 1166 (void) gss_release_buffer(&minor, &out_buf);
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | printaudit.c | 98 print_audit_xml_prolog_buf(char *out_buf, const int out_buf_len) argument 105 (void) snprintf(out_buf, out_buf_len, "%s%s%s%s", prolog1, prolog_xsl, 119 print_audit_xml_ending_buf(char *out_buf, const int out_buf_len) argument 126 (void) snprintf(out_buf, out_buf_len, "%s", xml_ending); 186 * out_buf, - address and length of output buffer to 197 print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf, argument 220 context->outbuf_p = *out_buf;
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uuencode.c | 183 unsigned char out_buf[112]; local 193 optr = out_buf; 213 (void) fwrite(out_buf, 1, (size_t)(optr - out_buf), 227 optr = out_buf; 252 (void) fwrite(out_buf, 1, 254 (size_t)(optr - out_buf), out); 261 optr = out_buf; 295 (void) fwrite(out_buf, 1, 297 (size_t)(optr - out_buf), ou [all...] |
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss_misc.c | 145 gss_buffer_desc in_buf, out_buf; local 158 out_buf.length = 0; 176 * out_buf will have wrapped data (in_buf will no longer be 177 * needed). If integrity is used, out_buf will have checksum 187 &conf_state, &out_buf)) != GSS_S_COMPLETE) { 198 &out_buf)) != GSS_S_COMPLETE) { 209 * write out in_buf and out_buf as needed 216 if (!__xdr_gss_buf(out_xdrs, &out_buf)) 221 if (out_buf.length != 0) 222 (void) gss_release_buffer(&minor, &out_buf); 240 gss_buffer_desc in_buf, out_buf; local [all...] |
H A D | rpcsec_gss.c | 940 gss_buffer_desc in_buf, out_buf; local 957 &out_buf)) != GSS_S_COMPLETE) { 966 verf.oa_base = out_buf.value; 967 verf.oa_length = out_buf.length; 969 (void) gss_release_buffer(&minor, &out_buf);
|
H A D | svc_rpcsec_gss.c | 1483 gss_buffer_desc in_buf, out_buf; local 1492 &out_buf)) != GSS_S_COMPLETE) 1497 rqst->rq_xprt->xp_verf.oa_length = out_buf.length; 1498 bcopy(out_buf.value, rqst->rq_xprt->xp_verf.oa_base, out_buf.length); 1499 (void) gss_release_buffer(&minor, &out_buf);
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softBlowfishCrypt.c | 151 CK_BYTE *out_buf = NULL; local 185 out_buf = pEncrypted; 259 out_buf = pEncrypted; 269 out.cd_raw.iov_base = (char *)out_buf; 327 CK_BYTE *out_buf = NULL; local 361 out_buf = pData; 430 out_buf = pData; 436 out.cd_raw.iov_base = (char *)out_buf;
|
H A D | softAESCrypt.c | 166 CK_BYTE *out_buf = NULL; local 233 out_buf = pEncrypted; 307 out_buf = pEncrypted; 325 tmp_outbuf = &out_buf[i]; 355 out.cd_raw.iov_base = (char *)out_buf; 391 out.cd_raw.iov_base = (char *)out_buf; 504 CK_BYTE *out_buf = NULL; local 557 out_buf = pData; 647 out_buf = pData; 665 tmp_outbuf = &out_buf[ [all...] |
H A D | softDESCrypt.c | 187 CK_BYTE *out_buf = NULL; local 254 out_buf = pEncrypted; 327 out_buf = pEncrypted; 345 tmp_outbuf = &out_buf[i]; 382 out.cd_raw.iov_base = (char *)out_buf; 418 out.cd_raw.iov_base = (char *)out_buf; 503 CK_BYTE *out_buf = NULL; local 558 out_buf = pData; 647 out_buf = pData; 664 tmp_outbuf = &out_buf[ [all...] |
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | external.c | 228 char *out_buf; member in struct:client_context 343 result = _plug_buf_alloc(params->utils, &text->out_buf, 346 result = _buf_alloc(&text->out_buf, &text->out_buf_len, *clientoutlen + 1); 361 memcpy(text->out_buf, user, *clientoutlen); 369 text->out_buf[*clientoutlen] = '\0'; 371 *clientout = text->out_buf; 399 if(text->out_buf) utils->free(text->out_buf); 403 if(text->out_buf) sasl_FREE(text->out_buf); [all...] |
/illumos-gate/usr/src/lib/sasl_plugins/plain/ |
H A D | plain.c | 275 char *out_buf; member in struct:client_context 432 result = _plug_buf_alloc(params->utils, &(text->out_buf), 436 memset(text->out_buf, 0, *clientoutlen + 1); 437 memcpy(text->out_buf, oparams->user, oparams->ulen); 438 memcpy(text->out_buf + oparams->ulen + 1, oparams->authid, oparams->alen); 439 memcpy(text->out_buf + oparams->ulen + oparams->alen + 2, 442 *clientout = text->out_buf; 470 if (text->out_buf) utils->free(text->out_buf);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | auth.c | 74 uchar_t *out_buf = NULL; local 192 out_buf = (uchar_t *)malloc(outlen); 193 if (out_buf == NULL) { 199 auth_error = radix_encode(send_tok.value, out_buf, 205 } else if ((comcode = command("ADAT %s", out_buf)) 241 reply_parse, out_buf, outlen, &i, 1)) { 248 recv_tok.value = out_buf; 270 if (out_buf != NULL) 271 free(out_buf);
|
H A D | secure.c | 240 gss_buffer_desc in_buf, out_buf; local 250 &out_buf); 261 if (bufsize < out_buf.length) { 263 realloc(outbuf, (size_t)out_buf.length) : 264 malloc((size_t)out_buf.length); 266 bufsize = out_buf.length; 275 memcpy(outbuf, out_buf.value, length = out_buf.length); 276 gss_release_buffer(&min_stat, &out_buf);
|
H A D | ftp.c | 2283 gss_buffer_desc in_buf, out_buf; local 2306 &out_buf); 2316 out = out_buf.value; 2322 out_buf.length); 2324 out = out_buf.value; 2328 inlen = ((4 * out_buf.length) / 3) + 4; 2331 gss_release_buffer(&min_stat, &out_buf); 2334 length = out_buf.length; 2340 gss_release_buffer(&min_stat, &out_buf); 2348 gss_release_buffer(&min_stat, &out_buf); [all...] |
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 469 convert_string(int8_t *value, int8_t *out_buf, int32_t out_len, argument 474 out_length = ud_convert2unicode(value, out_buf, out_len);
|
/illumos-gate/usr/src/lib/sasl_plugins/cram/ |
H A D | cram.c | 527 char *out_buf; member in struct:client_context 715 result = _plug_buf_alloc(params->utils, &(text->out_buf), 719 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16); 721 *clientout = text->out_buf; 756 if (text->out_buf) utils->free(text->out_buf);
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | g721.c | 566 * written to a buffer pointed to by 'out_buf'. 574 * valid bytes in 'out_buf' is returned in *out_size. Note that 580 * which now is in out_buf[0]. 591 unsigned char *out_buf, 612 *out_buf++ = state_ptr->leftover[i]; 631 char_out = (unsigned char *)out_buf; 723 * pointed to by 'out_buf'. 730 void *out_buf, /* Decoded data buffer. */ 749 char_out = (unsigned char *)out_buf; 750 linear_out = (short *)out_buf; 587 g721_encode( void *in_buf, int data_size, Audio_hdr *in_header, unsigned char *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument 726 g721_decode( unsigned char *in_buf, int data_size, Audio_hdr *out_header, void *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument [all...] |
H A D | g723.c | 626 * pointed to by 'out_buf'. 633 * The number of valid bytes in 'out_buf' is returned in *out_size. Note that 639 * the state structure which now is in out_buf[0]. 650 unsigned char *out_buf, 669 *out_buf++ = leftover[i]; 675 *out_buf++ = 0; 693 out_ptr = (unsigned char *)out_buf; 739 *out_size = (out_ptr - (unsigned char *)out_buf); 750 * pointed to by 'out_buf'. 758 void *out_buf, /* Decode 646 g723_encode( void *in_buf, int data_size, Audio_hdr *in_header, unsigned char *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument 754 g723_decode( unsigned char *in_buf, int data_size, Audio_hdr *out_header, void *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | transport.c | 177 gss_buffer_desc out_buf, in_buf; local 185 out_buf.value = (void *)ver_str; 186 out_buf.length = strlen((char *)out_buf.value); 188 out_buf.length, out_buf.length, (char *)out_buf.value)); 190 if (send_token(&sockfd, &out_buf) < 0) { 205 if (out_buf.length != in_buf.length || 206 memcmp(out_buf 420 char *out_buf; local 725 gss_buffer_desc in_buf, out_buf; local 1515 gss_buffer_desc out_buf; local [all...] |
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 165 char *out_buf; /* per-step mem management */ member in struct:context 683 if (text->out_buf) { 684 text->utils->free(text->out_buf); 685 text->out_buf = NULL; 966 ret = _plug_buf_alloc(text->utils, &(text->out_buf), 972 memcpy(text->out_buf, output_token->value, *serveroutlen); 973 *serverout = text->out_buf; 1204 ret = _plug_buf_alloc(text->utils, &(text->out_buf), 1210 memcpy(text->out_buf, output_token->value, *serveroutlen); 1211 *serverout = text->out_buf; [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 1174 struct stat out_buf; local 1207 if (stat(rp->stdout_file, &out_buf) < 0) { 1214 (out_buf.st_size > 0)) { 1223 if (out_buf.st_size != cmds_length || silent_flag || 1234 if (stat(rp->stderr_file, &out_buf) < 0) { 1240 (out_buf.st_size > 0)) {
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 237 char *out_buf; member in struct:context 2284 if (text->out_buf) utils->free(text->out_buf); 2650 result = _plug_buf_alloc(sparams->utils, &(text->out_buf), 2661 sprintf(text->out_buf, "nonce=\"%s\"", nonce); 2666 &text->out_buf, &text->out_buf_len, &resplen, 2688 &text->out_buf, &text->out_buf_len, &resplen, 2708 &text->out_buf, &text->out_buf_len, &resplen, 2726 &text->out_buf, &text->out_buf_len, &resplen, 2750 &text->out_buf, [all...] |