/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; 187 &conf_state, &out_buf)) != GSS_S_COMPLETE) { 198 &out_buf)) != GSS_S_COMPLETE) { 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 248 out_buf.value = NULL; 261 major = kgss_unseal(&minor, context, &in_buf, &out_buf, &conf, [all …]
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_misc.c | 125 gss_buffer_desc in_buf, out_buf; local 135 out_buf.length = 0; 169 &conf_state, &out_buf) != GSS_S_COMPLETE) 177 &out_buf) != GSS_S_COMPLETE) 192 if (!__xdr_gss_buf(out_xdrs, &out_buf)) 199 if (out_buf.length != 0) 200 (void) gss_release_buffer(&minor, &out_buf); 218 gss_buffer_desc in_buf, out_buf; local 226 out_buf.value = NULL; 237 major = gss_unseal(&minor, context, &in_buf, &out_buf, &conf, [all …]
|
H A D | rpcsec_gss.c | 521 gss_buffer_desc in_buf, out_buf; local 538 &out_buf)) != GSS_S_COMPLETE) { 544 verf.oa_base = out_buf.value; 545 verf.oa_length = out_buf.length; 547 (void) gss_release_buffer(&minor, &out_buf);
|
H A D | svc_rpcsec_gss.c | 1125 gss_buffer_desc in_buf, out_buf; in set_response_verf() local 1132 &out_buf) != GSS_S_COMPLETE) in set_response_verf() 1136 rqst->rq_xprt->xp_verf.oa_length = out_buf.length; in set_response_verf() 1137 memcpy(rqst->rq_xprt->xp_verf.oa_base, out_buf.value, in set_response_verf() 1138 out_buf.length); in set_response_verf() 1139 (void) gss_release_buffer(&minor, &out_buf); in set_response_verf()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uuencode.c | 183 unsigned char out_buf[112]; in encode() local 193 optr = out_buf; in encode() 213 (void) fwrite(out_buf, 1, (size_t)(optr - out_buf), in encode() 227 optr = out_buf; in encode() 252 (void) fwrite(out_buf, 1, in encode() 254 (size_t)(optr - out_buf), out); in encode() 261 optr = out_buf; in encode() 295 (void) fwrite(out_buf, 1, in encode() 297 (size_t)(optr - out_buf), out); in encode() 304 optr = out_buf; in encode()
|
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | transport.c | 177 gss_buffer_desc out_buf, in_buf; in prot_ver_negotiate() local 185 out_buf.value = (void *)ver_str; in prot_ver_negotiate() 186 out_buf.length = strlen((char *)out_buf.value); in prot_ver_negotiate() 188 out_buf.length, out_buf.length, (char *)out_buf.value)); in prot_ver_negotiate() 190 if (send_token(&sockfd, &out_buf) < 0) { in prot_ver_negotiate() 205 if (out_buf.length != in_buf.length || in prot_ver_negotiate() 206 memcmp(out_buf.value, in_buf.value, out_buf.length) != 0) { in prot_ver_negotiate() 208 "failed [%d:%s][%d:%s]\n", out_buf.length, in prot_ver_negotiate() 209 (char *)out_buf.value, in_buf.length, in prot_ver_negotiate() 220 ver_str_concat_sz = out_buf.length + in_buf.length + 1; in prot_ver_negotiate() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | secure.c | 238 gss_buffer_desc in_buf, out_buf; in secure_putbuf() local 248 &out_buf); in secure_putbuf() 259 if (bufsize < out_buf.length) { in secure_putbuf() 261 realloc(outbuf, (size_t)out_buf.length) : in secure_putbuf() 262 malloc((size_t)out_buf.length); in secure_putbuf() 264 bufsize = out_buf.length; in secure_putbuf() 273 memcpy(outbuf, out_buf.value, length = out_buf.length); in secure_putbuf() 274 gss_release_buffer(&min_stat, &out_buf); in secure_putbuf()
|
H A D | auth.c | 72 uchar_t *out_buf = NULL; in do_auth() local 190 out_buf = (uchar_t *)malloc(outlen); in do_auth() 191 if (out_buf == NULL) { in do_auth() 197 auth_error = radix_encode(send_tok.value, out_buf, in do_auth() 203 } else if ((comcode = command("ADAT %s", out_buf)) in do_auth() 239 reply_parse, out_buf, outlen, &i, 1)) { in do_auth() 246 recv_tok.value = out_buf; in do_auth() 268 if (out_buf != NULL) in do_auth() 269 free(out_buf); in do_auth()
|
H A D | ftp.c | 2288 gss_buffer_desc in_buf, out_buf; in secure_command() local 2311 &out_buf); in secure_command() 2321 out = out_buf.value; in secure_command() 2327 out_buf.length); in secure_command() 2329 out = out_buf.value; in secure_command() 2333 inlen = ((4 * out_buf.length) / 3) + 4; in secure_command() 2336 gss_release_buffer(&min_stat, &out_buf); in secure_command() 2339 length = out_buf.length; in secure_command() 2345 gss_release_buffer(&min_stat, &out_buf); in secure_command() 2353 gss_release_buffer(&min_stat, &out_buf); in secure_command()
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | external.c | 227 char *out_buf; member 342 result = _plug_buf_alloc(params->utils, &text->out_buf, in external_client_mech_step() 345 result = _buf_alloc(&text->out_buf, &text->out_buf_len, *clientoutlen + 1); in external_client_mech_step() 360 memcpy(text->out_buf, user, *clientoutlen); in external_client_mech_step() 368 text->out_buf[*clientoutlen] = '\0'; in external_client_mech_step() 370 *clientout = text->out_buf; in external_client_mech_step() 398 if(text->out_buf) utils->free(text->out_buf); in external_client_mech_dispose() 402 if(text->out_buf) sasl_FREE(text->out_buf); in external_client_mech_dispose()
|
/illumos-gate/usr/src/lib/sasl_plugins/plain/ |
H A D | plain.c | 274 char *out_buf; member 431 result = _plug_buf_alloc(params->utils, &(text->out_buf), in plain_client_mech_step() 435 memset(text->out_buf, 0, *clientoutlen + 1); in plain_client_mech_step() 436 memcpy(text->out_buf, oparams->user, oparams->ulen); in plain_client_mech_step() 437 memcpy(text->out_buf + oparams->ulen + 1, oparams->authid, oparams->alen); in plain_client_mech_step() 438 memcpy(text->out_buf + oparams->ulen + oparams->alen + 2, in plain_client_mech_step() 441 *clientout = text->out_buf; in plain_client_mech_step() 469 if (text->out_buf) utils->free(text->out_buf); in plain_client_mech_dispose()
|
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | audio_encode.h | 160 unsigned char *out_buf, 167 void *out_buf, 184 unsigned char *out_buf, 191 void *out_buf,
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softBlowfishCrypt.c | 152 CK_BYTE *out_buf = NULL; in soft_blowfish_encrypt_common() local 186 out_buf = pEncrypted; in soft_blowfish_encrypt_common() 260 out_buf = pEncrypted; in soft_blowfish_encrypt_common() 270 out.cd_raw.iov_base = (char *)out_buf; in soft_blowfish_encrypt_common() 324 CK_BYTE *out_buf = NULL; in soft_blowfish_decrypt_common() local 358 out_buf = pData; in soft_blowfish_decrypt_common() 427 out_buf = pData; in soft_blowfish_decrypt_common() 433 out.cd_raw.iov_base = (char *)out_buf; in soft_blowfish_decrypt_common()
|
H A D | softDESCrypt.c | 188 CK_BYTE *out_buf = NULL; in soft_des_encrypt_common() local 255 out_buf = pEncrypted; in soft_des_encrypt_common() 328 out_buf = pEncrypted; in soft_des_encrypt_common() 346 tmp_outbuf = &out_buf[i]; in soft_des_encrypt_common() 383 out.cd_raw.iov_base = (char *)out_buf; in soft_des_encrypt_common() 419 out.cd_raw.iov_base = (char *)out_buf; in soft_des_encrypt_common() 499 CK_BYTE *out_buf = NULL; in soft_des_decrypt_common() local 554 out_buf = pData; in soft_des_decrypt_common() 643 out_buf = pData; in soft_des_decrypt_common() 660 tmp_outbuf = &out_buf[i]; in soft_des_decrypt_common() [all …]
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | printaudit.c | 96 print_audit_xml_prolog_buf(char *out_buf, const int out_buf_len) in print_audit_xml_prolog_buf() argument 103 (void) snprintf(out_buf, out_buf_len, "%s%s%s%s", prolog1, prolog_xsl, in print_audit_xml_prolog_buf() 117 print_audit_xml_ending_buf(char *out_buf, const int out_buf_len) in print_audit_xml_ending_buf() argument 124 (void) snprintf(out_buf, out_buf_len, "%s", xml_ending); in print_audit_xml_ending_buf() 195 print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf, in print_audit_buf() argument 218 context->outbuf_p = *out_buf; in print_audit_buf()
|
H A D | print_audit.txt | 42 int print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf, 47 int print_audit_xml_prolog_buf(char *out_buf, const int out_buf_len); 48 int print_audit_xml_ending_buf(char *out_buf, const int out_buf_len); 53 in_buf and copies in ASCII to out_buf, terminating with a null 111 out_buf, out_buf_len -
|
H A D | praudit.h | 256 extern int print_audit_xml_prolog_buf(char *out_buf, 258 extern int print_audit_xml_ending_buf(char *out_buf,
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | g723.c | 650 unsigned char *out_buf, in g723_encode() argument 669 *out_buf++ = leftover[i]; in g723_encode() 675 *out_buf++ = 0; in g723_encode() 693 out_ptr = (unsigned char *)out_buf; in g723_encode() 739 *out_size = (out_ptr - (unsigned char *)out_buf); in g723_encode() 758 void *out_buf, /* Decoded data buffer. */ in g723_decode() argument 781 out_ptr = (unsigned char *)out_buf; in g723_decode() 782 linear_ptr = (short *)out_buf; in g723_decode() 856 *out_size = linear_ptr - (short *)out_buf; in g723_decode() 858 *out_size = out_ptr - (unsigned char *)out_buf; in g723_decode()
|
H A D | g721.c | 589 unsigned char *out_buf, in g721_encode() argument 610 *out_buf++ = state_ptr->leftover[i]; in g721_encode() 629 char_out = (unsigned char *)out_buf; in g721_encode() 728 void *out_buf, /* Decoded data buffer. */ in g721_decode() argument 747 char_out = (unsigned char *)out_buf; in g721_decode() 748 linear_out = (short *)out_buf; in g721_decode()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | hkdf.c | 28 uint_t km_len, uint8_t *out_buf) in hkdf_sha512_extract() argument 55 output_cd.cd_raw.iov_base = (char *)out_buf; in hkdf_sha512_extract() 67 uint8_t *out_buf, uint_t out_len) in hkdf_sha512_expand() argument 139 bcopy(T, out_buf + pos, in hkdf_sha512_expand()
|
/illumos-gate/usr/src/lib/sasl_plugins/gssapi/ |
H A D | gssapi.c | 165 char *out_buf; /* per-step mem management */ member 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/lib/sasl_plugins/cram/ |
H A D | cram.c | 526 char *out_buf; member 714 result = _plug_buf_alloc(params->utils, &(text->out_buf), in crammd5_client_mech_step() 718 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16); in crammd5_client_mech_step() 720 *clientout = text->out_buf; in crammd5_client_mech_step() 755 if (text->out_buf) utils->free(text->out_buf); in crammd5_client_mech_dispose()
|
/illumos-gate/usr/src/lib/sasl_plugins/digestmd5/ |
H A D | digestmd5.c | 238 char *out_buf; member 2285 if (text->out_buf) utils->free(text->out_buf); 2651 result = _plug_buf_alloc(sparams->utils, &(text->out_buf), 2662 sprintf(text->out_buf, "nonce=\"%s\"", nonce); 2667 &text->out_buf, &text->out_buf_len, &resplen, 2689 &text->out_buf, &text->out_buf_len, &resplen, 2709 &text->out_buf, &text->out_buf_len, &resplen, 2727 &text->out_buf, &text->out_buf_len, &resplen, 2751 &text->out_buf, &text->out_buf_len, &resplen, 2767 &text->out_buf, &text->out_buf_len, &resplen, [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | fastlz_api.c | 102 write_to_buf(void *out_buf, u32 out_buf_size, u32 *offset, void *in_buf, in write_to_buf() argument 112 memcpy((char *)out_buf + *offset, in_buf, in_buf_size); in write_to_buf() 120 read_from_buf(void *in_buf, u32 in_buf_size, u32 *offset, void *out_buf, in read_from_buf() argument 126 memcpy((char *)out_buf, (char *)in_buf + *offset, out_buf_size); in read_from_buf()
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 1174 struct stat out_buf; in finish_children() local 1207 if (stat(rp->stdout_file, &out_buf) < 0) { in finish_children() 1214 (out_buf.st_size > 0)) { in finish_children() 1223 if (out_buf.st_size != cmds_length || silent_flag || in finish_children() 1234 if (stat(rp->stderr_file, &out_buf) < 0) { in finish_children() 1240 (out_buf.st_size > 0)) { in finish_children()
|