Home
last modified time | relevance | path

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

12

/titanic_50/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;
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 …]
/titanic_50/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_misc.c127 gss_buffer_desc in_buf, out_buf; local
137 out_buf.length = 0;
171 &conf_state, &out_buf) != GSS_S_COMPLETE)
179 &out_buf) != GSS_S_COMPLETE)
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
228 out_buf.value = NULL;
239 major = gss_unseal(&minor, context, &in_buf, &out_buf, &conf,
[all …]
H A Drpcsec_gss.c508 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 Dsvc_rpcsec_gss.c1152 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);
/titanic_50/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()
/titanic_50/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()
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 …]
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c240 gss_buffer_desc in_buf, out_buf; in secure_putbuf() local
250 &out_buf); in secure_putbuf()
261 if (bufsize < out_buf.length) { in secure_putbuf()
263 realloc(outbuf, (size_t)out_buf.length) : in secure_putbuf()
264 malloc((size_t)out_buf.length); in secure_putbuf()
266 bufsize = out_buf.length; in secure_putbuf()
275 memcpy(outbuf, out_buf.value, length = out_buf.length); in secure_putbuf()
276 gss_release_buffer(&min_stat, &out_buf); in secure_putbuf()
H A Dauth.c74 uchar_t *out_buf = NULL; in do_auth() local
192 out_buf = (uchar_t *)malloc(outlen); in do_auth()
193 if (out_buf == NULL) { in do_auth()
199 auth_error = radix_encode(send_tok.value, out_buf, in do_auth()
205 } else if ((comcode = command("ADAT %s", out_buf)) in do_auth()
241 reply_parse, out_buf, outlen, &i, 1)) { in do_auth()
248 recv_tok.value = out_buf; in do_auth()
270 if (out_buf != NULL) in do_auth()
271 free(out_buf); in do_auth()
H A Dftp.c2283 gss_buffer_desc in_buf, out_buf; in secure_command() local
2306 &out_buf); in secure_command()
2316 out = out_buf.value; in secure_command()
2322 out_buf.length); in secure_command()
2324 out = out_buf.value; in secure_command()
2328 inlen = ((4 * out_buf.length) / 3) + 4; in secure_command()
2331 gss_release_buffer(&min_stat, &out_buf); in secure_command()
2334 length = out_buf.length; in secure_command()
2340 gss_release_buffer(&min_stat, &out_buf); in secure_command()
2348 gss_release_buffer(&min_stat, &out_buf); in secure_command()
/titanic_50/usr/src/lib/libsasl/lib/
H A Dexternal.c228 char *out_buf; member
343 result = _plug_buf_alloc(params->utils, &text->out_buf, in external_client_mech_step()
346 result = _buf_alloc(&text->out_buf, &text->out_buf_len, *clientoutlen + 1); in external_client_mech_step()
361 memcpy(text->out_buf, user, *clientoutlen); in external_client_mech_step()
369 text->out_buf[*clientoutlen] = '\0'; in external_client_mech_step()
371 *clientout = text->out_buf; in external_client_mech_step()
399 if(text->out_buf) utils->free(text->out_buf); in external_client_mech_dispose()
403 if(text->out_buf) sasl_FREE(text->out_buf); in external_client_mech_dispose()
/titanic_50/usr/src/cmd/audio/include/
H A Daudio_encode.h162 unsigned char *out_buf,
169 void *out_buf,
186 unsigned char *out_buf,
193 void *out_buf,
/titanic_50/usr/src/lib/sasl_plugins/plain/
H A Dplain.c275 char *out_buf; member
432 result = _plug_buf_alloc(params->utils, &(text->out_buf), in plain_client_mech_step()
436 memset(text->out_buf, 0, *clientoutlen + 1); in plain_client_mech_step()
437 memcpy(text->out_buf, oparams->user, oparams->ulen); in plain_client_mech_step()
438 memcpy(text->out_buf + oparams->ulen + 1, oparams->authid, oparams->alen); in plain_client_mech_step()
439 memcpy(text->out_buf + oparams->ulen + oparams->alen + 2, in plain_client_mech_step()
442 *clientout = text->out_buf; in plain_client_mech_step()
470 if (text->out_buf) utils->free(text->out_buf); in plain_client_mech_dispose()
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c151 CK_BYTE *out_buf = NULL; in soft_blowfish_encrypt_common() local
185 out_buf = pEncrypted; in soft_blowfish_encrypt_common()
259 out_buf = pEncrypted; in soft_blowfish_encrypt_common()
269 out.cd_raw.iov_base = (char *)out_buf; in soft_blowfish_encrypt_common()
327 CK_BYTE *out_buf = NULL; in soft_blowfish_decrypt_common() local
361 out_buf = pData; in soft_blowfish_decrypt_common()
430 out_buf = pData; in soft_blowfish_decrypt_common()
436 out.cd_raw.iov_base = (char *)out_buf; in soft_blowfish_decrypt_common()
H A DsoftAESCrypt.c166 CK_BYTE *out_buf = NULL; in soft_aes_encrypt_common() local
233 out_buf = pEncrypted; in soft_aes_encrypt_common()
307 out_buf = pEncrypted; in soft_aes_encrypt_common()
325 tmp_outbuf = &out_buf[i]; in soft_aes_encrypt_common()
355 out.cd_raw.iov_base = (char *)out_buf; in soft_aes_encrypt_common()
391 out.cd_raw.iov_base = (char *)out_buf; in soft_aes_encrypt_common()
504 CK_BYTE *out_buf = NULL; in soft_aes_decrypt_common() local
557 out_buf = pData; in soft_aes_decrypt_common()
647 out_buf = pData; in soft_aes_decrypt_common()
665 tmp_outbuf = &out_buf[i]; in soft_aes_decrypt_common()
[all …]
H A DsoftDESCrypt.c187 CK_BYTE *out_buf = NULL; in soft_des_encrypt_common() local
254 out_buf = pEncrypted; in soft_des_encrypt_common()
327 out_buf = pEncrypted; in soft_des_encrypt_common()
345 tmp_outbuf = &out_buf[i]; in soft_des_encrypt_common()
382 out.cd_raw.iov_base = (char *)out_buf; in soft_des_encrypt_common()
418 out.cd_raw.iov_base = (char *)out_buf; in soft_des_encrypt_common()
503 CK_BYTE *out_buf = NULL; in soft_des_decrypt_common() local
558 out_buf = pData; in soft_des_decrypt_common()
647 out_buf = pData; in soft_des_decrypt_common()
664 tmp_outbuf = &out_buf[i]; in soft_des_decrypt_common()
[all …]
/titanic_50/usr/src/cmd/praudit/
H A Dprintaudit.c98 print_audit_xml_prolog_buf(char *out_buf, const int out_buf_len) in print_audit_xml_prolog_buf() argument
105 (void) snprintf(out_buf, out_buf_len, "%s%s%s%s", prolog1, prolog_xsl, in print_audit_xml_prolog_buf()
119 print_audit_xml_ending_buf(char *out_buf, const int out_buf_len) in print_audit_xml_ending_buf() argument
126 (void) snprintf(out_buf, out_buf_len, "%s", xml_ending); in print_audit_xml_ending_buf()
197 print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf, in print_audit_buf() argument
220 context->outbuf_p = *out_buf; in print_audit_buf()
H A Dprint_audit.txt44 int print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf,
49 int print_audit_xml_prolog_buf(char *out_buf, const int out_buf_len);
50 int print_audit_xml_ending_buf(char *out_buf, const int out_buf_len);
55 in_buf and copies in ASCII to out_buf, terminating with a null
113 out_buf, out_buf_len -
H A Dpraudit.h252 extern int print_audit_xml_prolog_buf(char *out_buf,
254 extern int print_audit_xml_ending_buf(char *out_buf,
/titanic_50/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.c591 unsigned char *out_buf, in g721_encode() argument
612 *out_buf++ = state_ptr->leftover[i]; in g721_encode()
631 char_out = (unsigned char *)out_buf; in g721_encode()
730 void *out_buf, /* Decoded data buffer. */ in g721_decode() argument
749 char_out = (unsigned char *)out_buf; in g721_decode()
750 linear_out = (short *)out_buf; in g721_decode()
/titanic_50/usr/src/lib/sasl_plugins/gssapi/
H A Dgssapi.c165 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 …]
/titanic_50/usr/src/lib/sasl_plugins/cram/
H A Dcram.c527 char *out_buf; member
715 result = _plug_buf_alloc(params->utils, &(text->out_buf), in crammd5_client_mech_step()
719 snprintf(text->out_buf, maxsize, "%s %s", oparams->authid, in16); in crammd5_client_mech_step()
721 *clientout = text->out_buf; in crammd5_client_mech_step()
756 if (text->out_buf) utils->free(text->out_buf); in crammd5_client_mech_dispose()
/titanic_50/usr/src/lib/sasl_plugins/digestmd5/
H A Ddigestmd5.c237 char *out_buf; member
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, &text->out_buf_len, &resplen,
2766 &text->out_buf, &text->out_buf_len, &resplen,
[all …]
/titanic_50/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()
/titanic_50/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c469 convert_string(int8_t *value, int8_t *out_buf, int32_t out_len, in convert_string() argument
474 out_length = ud_convert2unicode(value, out_buf, out_len); in convert_string()

12