Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_misc.c145 gss_buffer_desc in_buf, out_buf; local
158 out_buf.length = 0;
198 &out_buf)) != GSS_S_COMPLETE) {
216 if (!__xdr_gss_buf(out_xdrs, &out_buf))
221 if (out_buf.length != 0)
240 gss_buffer_desc in_buf, out_buf; local
248 out_buf.value = NULL;
272 in_buf.length = out_buf.length;
273 in_buf.value = out_buf.value;
283 if (!__xdr_gss_buf(in_xdrs, &out_buf)) {
[all …]
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_misc.c125 gss_buffer_desc in_buf, out_buf; local
135 out_buf.length = 0;
177 &out_buf) != GSS_S_COMPLETE)
192 if (!__xdr_gss_buf(out_xdrs, &out_buf))
199 if (out_buf.length != 0)
218 gss_buffer_desc in_buf, out_buf; local
226 out_buf.value = NULL;
245 in_buf.length = out_buf.length;
246 in_buf.value = out_buf.value;
256 if (!__xdr_gss_buf(in_xdrs, &out_buf))
[all …]
H A Drpcsec_gss.c521 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 Dsvc_rpcsec_gss.c1125 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 Duuencode.c183 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 Dtransport.c177 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()
206 memcmp(out_buf.value, in_buf.value, out_buf.length) != 0) { in prot_ver_negotiate()
229 (void) memcpy(ver_str_concat, out_buf.value, out_buf.length); in prot_ver_negotiate()
420 char *out_buf; in send_token() local
435 if (out_buf == NULL) { in send_token()
448 free(out_buf); in send_token()
453 free(out_buf); in send_token()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c238 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 Dauth.c72 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 Dftp.c2288 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 Dexternal.c227 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/cmd/audio/include/
H A Daudio_encode.h160 unsigned char *out_buf,
167 void *out_buf,
184 unsigned char *out_buf,
191 void *out_buf,
/illumos-gate/usr/src/lib/sasl_plugins/plain/
H A Dplain.c274 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/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c152 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 DsoftDESCrypt.c188 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()
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()
699 out.cd_raw.iov_base = (char *)out_buf; in soft_des_decrypt_common()
[all …]
/illumos-gate/usr/src/cmd/praudit/
H A Dprintaudit.c96 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 Dprint_audit.txt42 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 Dpraudit.h256 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 Dg723.c650 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 Dg721.c589 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 Dhkdf.c28 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 Dgssapi.c683 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),
973 *serverout = text->out_buf;
1204 ret = _plug_buf_alloc(text->utils, &(text->out_buf),
1211 *serverout = text->out_buf;
1829 ret = _plug_buf_alloc(text->utils, &(text->out_buf),
1836 *clientout = text->out_buf;
2078 ret = _plug_buf_alloc(text->utils, &(text->out_buf),
[all …]
/illumos-gate/usr/src/lib/sasl_plugins/cram/
H A Dcram.c526 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/uts/common/io/cxgbe/t4nex/
H A Dfastlz_api.c102 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/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c238 char *out_buf; member
2285 if (text->out_buf) utils->free(text->out_buf);
2828 *serveroutlen = strlen(text->out_buf);
2829 *serverout = text->out_buf;
3502 if (strlen(text->out_buf) > 2048) {
3508 *serveroutlen = strlen(text->out_buf);
3509 *serverout = text->out_buf;
4138 if (strlen(text->out_buf) > 2048) {
4859 *clientoutlen = strlen(text->out_buf);
4860 *clientout = text->out_buf;
[all …]
/illumos-gate/usr/src/cmd/make/bin/
H A Dparallel.cc1174 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()

12