Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 24 of 24) sorted by relevance

/titanic_50/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_misc.c145 gss_buffer_desc in_buf, out_buf; local
180 in_buf.length = xdr_getpos(&temp_xdrs);
181 in_buf.value = (char *)temp_xdrs.x_base;
186 if ((major = kgss_seal(&minor, context, TRUE, qop, &in_buf,
192 in_buf.length = 0; /* in_buf not needed */
197 if ((major = kgss_sign(&minor, context, qop, &in_buf,
211 if (in_buf.length != 0) {
212 if (!__xdr_gss_buf(out_xdrs, &in_buf))
240 gss_buffer_desc in_buf, out_buf; local
247 in_buf.value = NULL;
[all …]
H A Drpcsec_gss.c940 gss_buffer_desc in_buf, out_buf; local
954 in_buf.length = xdr_getpos(xdrs);
955 in_buf.value = buf;
956 if ((major = kgss_sign(&minor, ap->context, ap->qop, &in_buf,
H A Dsvc_rpcsec_gss.c1483 gss_buffer_desc in_buf, out_buf; local
1487 in_buf.length = sizeof (num);
1488 in_buf.value = (char *)&num_net;
1491 if ((kgss_sign(&minor, cl->context, cl->qop, &in_buf,
/titanic_50/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_misc.c127 gss_buffer_desc in_buf, out_buf; local
165 in_buf.length = xdr_getpos(&temp_xdrs);
166 in_buf.value = temp_xdrs.x_base;
170 if (gss_seal(&minor, context, TRUE, qop, &in_buf,
173 in_buf.length = 0; /* in_buf not needed */
178 if (gss_sign(&minor, context, qop, &in_buf,
189 if (in_buf.length != 0) {
190 if (!__xdr_gss_buf(out_xdrs, &in_buf))
220 gss_buffer_desc in_buf, out_buf; local
227 in_buf.value = NULL;
[all …]
H A Drpcsec_gss.c508 gss_buffer_desc in_buf, out_buf; local
522 in_buf.length = xdr_getpos(xdrs);
523 in_buf.value = buf;
524 if ((major = gss_sign(&minor, ap->context, ap->qop, &in_buf,
H A Dsvc_rpcsec_gss.c1152 gss_buffer_desc in_buf, out_buf; local
1156 in_buf.length = sizeof (num);
1157 in_buf.value = (char *)&num_net;
1158 if (gss_sign(&minor, cl->context, cl->qop, &in_buf,
/titanic_50/usr/src/cmd/audio/utilities/
H A DFir.cc53 double *in_buf, in convolve() argument
59 in_buf += --length; in convolve()
60 double sum = *coefs * *in_buf; in convolve()
62 sum += *++coefs * *--in_buf; in convolve()
108 double *in_buf = new double[size]; in update_short() local
109 short2double(in_buf, in, size); in update_short()
110 updateState(in_buf, size); in update_short()
111 delete in_buf; in update_short()
175 double *in_buf = new double[size]; in filter_noadjust() local
176 short2double(in_buf, in, size); // convert short input to double in filter_noadjust()
[all …]
H A DResample.cc192 double *in_buf = new double[size]; in decimate_noadjust() local
193 short2double(in_buf, in, size); in decimate_noadjust()
199 *out_ptr++ = double2short(convolve(coef, in_buf, i + 1) + in decimate_noadjust()
202 *out_ptr++ = double2short(convolve(coef, in_buf + i - order, in decimate_noadjust()
206 updateState(in_buf, size); in decimate_noadjust()
207 delete in_buf; in decimate_noadjust()
258 double *in_buf = new double[size]; in interpolate_noadjust() local
259 short2double(in_buf, in, size); in interpolate_noadjust()
272 order - j, up, in_buf, i) + poly_conv( in interpolate_noadjust()
282 order - j, up, in_buf, size) + poly_conv( in interpolate_noadjust()
[all …]
H A Dg723.c647 void *in_buf, in g723_encode() argument
688 short_ptr = (short *)in_buf; in g723_encode()
691 char_ptr = (unsigned char *)in_buf; in g723_encode()
755 unsigned char *in_buf, /* Buffer of g723 encoded data. */ in g723_decode() argument
779 in_ptr = in_buf; in g723_decode()
780 inbuf_end = in_buf + data_size; in g723_decode()
H A Dg721.c588 void *in_buf, in g721_encode() argument
626 short_ptr = (short *)in_buf; in g721_encode()
629 char_in = (unsigned char *)in_buf; in g721_encode()
727 unsigned char *in_buf, /* Buffer of g721 encoded data. */ in g721_decode() argument
748 char_in = (unsigned char *)in_buf; in g721_decode()
/titanic_50/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c177 gss_buffer_desc out_buf, in_buf; in prot_ver_negotiate() local
195 if (recv_token(sockfd, &in_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()
209 (char *)out_buf.value, in_buf.length, in prot_ver_negotiate()
210 (char *)in_buf.value)); in prot_ver_negotiate()
211 free(in_buf.value); in prot_ver_negotiate()
220 ver_str_concat_sz = out_buf.length + in_buf.length + 1; in prot_ver_negotiate()
226 free(in_buf.value); in prot_ver_negotiate()
230 (void) memcpy(ver_str_concat + out_buf.length, in_buf.value, in prot_ver_negotiate()
[all …]
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c150 CK_BYTE *in_buf = NULL; in soft_blowfish_encrypt_common() local
184 in_buf = pData; in soft_blowfish_encrypt_common()
255 in_buf = pEncrypted; in soft_blowfish_encrypt_common()
257 in_buf = pData; in soft_blowfish_encrypt_common()
275 (char *)in_buf, out_len, &out); in soft_blowfish_encrypt_common()
326 CK_BYTE *in_buf = NULL; in soft_blowfish_decrypt_common() local
360 in_buf = pEncrypted; in soft_blowfish_decrypt_common()
425 in_buf = pData; in soft_blowfish_decrypt_common()
427 in_buf = pEncrypted; in soft_blowfish_decrypt_common()
442 (char *)in_buf, out_len, &out); in soft_blowfish_decrypt_common()
H A DsoftAESCrypt.c165 CK_BYTE *in_buf = NULL; in soft_aes_encrypt_common() local
232 in_buf = pData; in soft_aes_encrypt_common()
303 in_buf = pEncrypted; in soft_aes_encrypt_common()
305 in_buf = pData; in soft_aes_encrypt_common()
324 tmp_inbuf = &in_buf[i]; in soft_aes_encrypt_common()
361 (char *)in_buf, out_len, &out); in soft_aes_encrypt_common()
383 (void) memcpy(tmpblock, in_buf + out_len, in soft_aes_encrypt_common()
503 CK_BYTE *in_buf = NULL; in soft_aes_decrypt_common() local
556 in_buf = pEncrypted; in soft_aes_decrypt_common()
643 in_buf = pData; in soft_aes_decrypt_common()
[all …]
H A DsoftDESCrypt.c186 CK_BYTE *in_buf = NULL; in soft_des_encrypt_common() local
253 in_buf = pData; in soft_des_encrypt_common()
323 in_buf = pEncrypted; in soft_des_encrypt_common()
325 in_buf = pData; in soft_des_encrypt_common()
344 tmp_inbuf = &in_buf[i]; in soft_des_encrypt_common()
388 (char *)in_buf, out_len, &out); in soft_des_encrypt_common()
410 (void) memcpy(tmpblock, in_buf + out_len, in soft_des_encrypt_common()
502 CK_BYTE *in_buf = NULL; in soft_des_decrypt_common() local
557 in_buf = pEncrypted; in soft_des_decrypt_common()
643 in_buf = pData; in soft_des_decrypt_common()
[all …]
/titanic_50/usr/src/cmd/audio/include/
H A Daudio_encode.h159 void *in_buf,
166 unsigned char *in_buf,
183 void *in_buf,
190 unsigned char *in_buf,
/titanic_50/usr/src/lib/libsasl/lib/
H A Dcanonusr.c385 char *in_buf, *userin; local
393 in_buf = utils->malloc((ulen + 2) * sizeof(char));
395 in_buf = sasl_ALLOC((ulen + 2) * sizeof(char));
397 if(!in_buf) return SASL_NOMEM;
399 userin = in_buf;
412 utils->free(in_buf);
414 sasl_FREE(in_buf);
447 utils->free(in_buf);
449 sasl_FREE(in_buf);
/titanic_50/usr/src/common/iscsi/
H A Dbase64.c186 iscsi_binary_to_base64_str(uint8_t *in_buf, int in_buf_len, in iscsi_binary_to_base64_str() argument
194 iptr = in_buf; in iscsi_binary_to_base64_str()
204 while (iptr + 3 <= in_buf + in_buf_len) { in iscsi_binary_to_base64_str()
219 in_bytes_remaining = ((uintptr_t)in_buf + in_buf_len) - (uintptr_t)iptr; in iscsi_binary_to_base64_str()
/titanic_50/usr/src/cmd/bnu/
H A Duuencode.c182 unsigned char in_buf[80]; in encode() local
192 iptr = in_buf; in encode()
235 while ((n = fread(in_buf, 1, 51, in)) > 0) { in encode()
237 iptr = in_buf; in encode()
/titanic_50/usr/src/cmd/praudit/
H A Dprintaudit.c197 print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf, in print_audit_buf() argument
213 context->inbuf_last = context->inbuf_start = *in_buf; in print_audit_buf()
227 (void) adrm_start(context->audit_adr, *in_buf); in print_audit_buf()
235 *in_buf = context->inbuf_last; in print_audit_buf()
H A Dprint_audit.txt44 int print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf,
55 in_buf and copies in ASCII to out_buf, terminating with a null
112 in_buf, in_buf_len,
147 in_buf, in_buf_len -
149 updated to reflect amount of input successfully consumed. in_buf
/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
244 in_buf.value = buf; in secure_putbuf()
245 in_buf.length = nbyte; in secure_putbuf()
249 &in_buf, &conf_state, in secure_putbuf()
H A Dftp.c2283 gss_buffer_desc in_buf, out_buf; in secure_command() local
2291 in_buf.value = cmd; in secure_command()
2292 in_buf.length = strlen(cmd) + 1; in secure_command()
2305 &in_buf, &conf_state, in secure_command()
/titanic_50/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c416 gss_buffer_desc in_buf; in main() local
981 in_buf.value = names[1].name; in main()
982 in_buf.length = strlen(names[1].name) + 1; in main()
983 (void) gss_import_name(&OMret, &in_buf, (gss_OID) nt_krb5_name_oid, in main()
986 in_buf.value = names[3].name; in main()
987 in_buf.length = strlen(names[3].name) + 1; in main()
988 (void) gss_import_name(&OMret, &in_buf, (gss_OID) nt_krb5_name_oid, in main()
/titanic_50/usr/src/uts/common/sys/iscsit/
H A Discsit_common.h500 iscsi_binary_to_base64_str(uint8_t *in_buf, int in_buf_len,