| /onnv-gate/usr/src/uts/common/rpc/sec_gss/ |
| H A D | rpcsec_gss_misc.c | 143 gss_buffer_desc in_buf, out_buf; local 158 out_buf.length = 0; 188 &conf_state, &out_buf)) != GSS_S_COMPLETE) { 202 &out_buf)) != GSS_S_COMPLETE) { 220 if (!__xdr_gss_buf(out_xdrs, &out_buf)) 225 if (out_buf.length != 0) 226 (void) gss_release_buffer(&minor, &out_buf); 244 gss_buffer_desc in_buf, out_buf; local 252 out_buf.value = NULL; 266 major = kgss_unseal(&minor, context, &in_buf, &out_buf, &conf, [all …]
|
| /onnv-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; 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 …]
|
| /onnv-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()
|
| /onnv-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 …]
|
| /onnv-gate/usr/src/common/openssl/apps/ |
| H A D | passwd.c | 312 static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */ in md5crypt() local 321 out_buf[0] = '$'; in md5crypt() 322 out_buf[1] = 0; in md5crypt() 324 strncat(out_buf, magic, 4); in md5crypt() 325 strncat(out_buf, "$", 1); in md5crypt() 326 strncat(out_buf, salt, 8); in md5crypt() 327 assert(strlen(out_buf) <= 6 + 8); /* "$apr1$..salt.." */ in md5crypt() 328 salt_out = out_buf + 2 + strlen(magic); in md5crypt() 391 assert(output == out_buf + strlen(out_buf)); in md5crypt() 408 assert(strlen(out_buf) < sizeof(out_buf)); in md5crypt() [all …]
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
| H A D | secure.c | 240 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 D | auth.c | 74 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()
|
| /onnv-gate/usr/src/lib/libsasl/lib/ |
| H A D | external.c | 228 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()
|
| /onnv-gate/usr/src/cmd/audio/include/ |
| H A D | audio_encode.h | 162 unsigned char *out_buf, 169 void *out_buf, 186 unsigned char *out_buf, 193 void *out_buf,
|
| /onnv-gate/usr/src/lib/sasl_plugins/plain/ |
| H A D | plain.c | 275 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()
|
| /onnv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| H A D | softBlowfishCrypt.c | 151 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 D | softAESCrypt.c | 166 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 D | softDESCrypt.c | 187 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 …]
|
| /onnv-gate/usr/src/cmd/praudit/ |
| H A D | printaudit.c | 98 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 D | print_audit.txt | 44 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 -
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ |
| H A D | gssutil.c | 800 gss_buffer_desc in_buf, out_buf; in sec_putbuf() local 810 &out_buf); in sec_putbuf() 821 net_len = (unsigned long)htonl((unsigned long) out_buf.length); in sec_putbuf() 829 if ((ret = looping_write(fd, out_buf.value, out_buf.length)) != in sec_putbuf() 830 out_buf.length) { in sec_putbuf() 831 syslog(LOG_ERR, "Error writing %d bytes: %m", out_buf.length); in sec_putbuf() 837 gss_release_buffer(&min_stat, &out_buf); in sec_putbuf() 1139 gss_buffer_desc in_buf, out_buf; in sec_reply() local 1153 &out_buf); in sec_reply() 1158 gss_release_buffer(&min_stat, &out_buf); in sec_reply() [all …]
|
| /onnv-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 | 591 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()
|
| /onnv-gate/usr/src/common/crypto/fips/ |
| H A D | fips_des_util.c | 266 CK_ULONG ulDataLen, CK_BYTE_PTR out_buf, in fips_des_encrypt() argument 271 ulong_t ulDataLen, uint8_t *out_buf, in fips_des_encrypt() 308 tmp_outbuf = &out_buf[i]; in fips_des_encrypt() 341 out.cd_raw.iov_base = (char *)out_buf; in fips_des_encrypt() 390 CK_ULONG ulEncryptedLen, CK_BYTE_PTR out_buf, in fips_des_decrypt() argument 395 ulong_t ulEncryptedLen, uint8_t *out_buf, in fips_des_decrypt() 429 tmp_outbuf = &out_buf[i]; in fips_des_decrypt() 461 out.cd_raw.iov_base = (char *)out_buf; in fips_des_decrypt()
|
| H A D | fips_aes_util.c | 353 ulong_t ulDataLen, uchar_t *out_buf, in fips_aes_encrypt() argument 358 CK_ULONG ulDataLen, CK_BYTE_PTR out_buf, in fips_aes_encrypt() 393 tmp_outbuf = &out_buf[i]; in fips_aes_encrypt() 411 out.cd_raw.iov_base = (char *)out_buf; in fips_aes_encrypt() 438 out.cd_raw.iov_base = (char *)out_buf; in fips_aes_encrypt() 481 out.cd_raw.iov_base = (char *)out_buf; in fips_aes_encrypt() 535 out.cd_raw.iov_base = (char *)out_buf; in fips_aes_encrypt() 582 out.cd_raw.iov_base = (char *)out_buf; in fips_aes_encrypt() 622 ulong_t ulEncryptedLen, uchar_t *out_buf, in fips_aes_decrypt() argument 627 CK_ULONG ulEncryptedLen, CK_BYTE_PTR out_buf, in fips_aes_decrypt() [all …]
|
| /onnv-gate/usr/src/lib/pkcs11/pkcs11_kms/common/ |
| H A D | kmsAESCrypt.c | 206 CK_BYTE *out_buf = NULL; in kms_aes_encrypt_common() local 273 out_buf = pEncrypted; in kms_aes_encrypt_common() 347 out_buf = pEncrypted; in kms_aes_encrypt_common() 364 out.cd_raw.iov_base = (char *)out_buf; in kms_aes_encrypt_common() 400 out.cd_raw.iov_base = (char *)out_buf; in kms_aes_encrypt_common() 488 CK_BYTE *out_buf = NULL; in kms_aes_decrypt_common() local 541 out_buf = pData; in kms_aes_decrypt_common() 631 out_buf = pData; in kms_aes_decrypt_common() 649 out.cd_raw.iov_base = (char *)out_buf; in kms_aes_decrypt_common() 684 (void) memcpy(out_buf + out_len, in kms_aes_decrypt_common()
|
| /onnv-gate/usr/src/cmd/parted/ |
| H A D | strlist.c | 150 char* out_buf; in wchar_to_str() local 158 out_buf = result = malloc ((count + 1) * MB_LEN_MAX); in wchar_to_str() 165 status = wcrtomb (out_buf, str[i], &ps); in wchar_to_str() 168 out_buf += status; in wchar_to_str() 171 status = wcrtomb (out_buf, 0, &ps); in wchar_to_str()
|
| /onnv-gate/usr/src/lib/sasl_plugins/gssapi/ |
| H A D | gssapi.c | 167 char *out_buf; /* per-step mem management */ member 685 if (text->out_buf) { 686 text->utils->free(text->out_buf); 687 text->out_buf = NULL; 968 ret = _plug_buf_alloc(text->utils, &(text->out_buf), 974 memcpy(text->out_buf, output_token->value, *serveroutlen); 975 *serverout = text->out_buf; 1206 ret = _plug_buf_alloc(text->utils, &(text->out_buf), 1212 memcpy(text->out_buf, output_token->value, *serveroutlen); 1213 *serverout = text->out_buf; [all …]
|
| /onnv-gate/usr/src/lib/sasl_plugins/cram/ |
| H A D | cram.c | 527 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()
|
| /onnv-gate/usr/src/lib/smbsrv/libsmbrdr/common/ |
| H A D | smbrdr_transact.c | 57 smbrdr_transact(int fid, char *out_buf, int out_len, char *in_buf, int in_len) in smbrdr_transact() argument 91 rc = prep_smb_transact(mb, ofile->fid, out_buf, out_len, in_len, in smbrdr_transact()
|