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

/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss_misc.c145 gss_buffer_desc in_buf, out_buf; local
175 * Data to be wrapped goes in in_buf. If privacy is used,
176 * out_buf will have wrapped data (in_buf will no longer be
178 * which will follow the data in in_buf.
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,
240 gss_buffer_desc in_buf, out_buf; local
[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,
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_misc.c127 gss_buffer_desc in_buf, out_buf; local
160 * Data to be wrapped goes in in_buf. If privacy is used,
161 * out_buf will have wrapped data (in_buf will no longer be
163 * which will follow the data in in_buf.
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,
220 gss_buffer_desc in_buf, out_buf; local
[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,
/illumos-gate/usr/src/cmd/audio/utilities/
H A DFir.cc43 * returns the convolution of coef[length] and in_buf[length]:
45 * convolution = coef[0] * in_buf[length - 1] +
46 * coef[1] * in_buf[length - 2] +
48 * coef[length - 1] * in_buf[0]
53 double *in_buf,
59 in_buf += --length;
60 double sum = *coefs * *in_buf;
62 sum += *++coefs * *--in_buf;
108 double *in_buf = new double[size]; local
109 short2double(in_buf, i
51 convolve( double *coefs, double *in_buf, int length) argument
175 double *in_buf = new double[size]; local
[all...]
H A DResample.cc192 double *in_buf = new double[size]; local
193 short2double(in_buf, in, size);
199 *out_ptr++ = double2short(convolve(coef, in_buf, i + 1) +
202 *out_ptr++ = double2short(convolve(coef, in_buf + i - order,
206 updateState(in_buf, size);
207 delete in_buf;
258 double *in_buf = new double[size]; local
259 short2double(in_buf, in, size);
272 order - j, up, in_buf, i) + poly_conv(
282 order - j, up, in_buf, siz
320 double *in_buf = new double[delay_in]; local
345 double *in_buf = new double[size]; local
433 double *in_buf = new double[delay_in]; local
[all...]
H A Dg723.c623 * Encodes a buffer of linear PCM, A-law or Mu-law data pointed to by 'in_buf'
647 void *in_buf,
688 short_ptr = (short *)in_buf;
691 char_ptr = (unsigned char *)in_buf;
748 * Decodes a buffer of G.723 encoded data pointed to by 'in_buf' and
755 unsigned char *in_buf, /* Buffer of g723 encoded data. */
756 int data_size, /* Size in bytes of in_buf. */
779 in_ptr = in_buf;
780 inbuf_end = in_buf + data_size;
646 g723_encode( void *in_buf, int data_size, Audio_hdr *in_header, unsigned char *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument
754 g723_decode( unsigned char *in_buf, int data_size, Audio_hdr *out_header, void *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument
H A Dg721.c564 * 'in_buf' according * the G.721 encoding algorithm and packs the
588 void *in_buf,
626 short_ptr = (short *)in_buf;
629 char_in = (unsigned char *)in_buf;
721 * Decodes a buffer of G.721 encoded data pointed to by 'in_buf' and
727 unsigned char *in_buf, /* Buffer of g721 encoded data. */
728 int data_size, /* Size in bytes of in_buf. */
748 char_in = (unsigned char *)in_buf;
587 g721_encode( void *in_buf, int data_size, Audio_hdr *in_header, unsigned char *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument
726 g721_decode( unsigned char *in_buf, int data_size, Audio_hdr *out_header, void *out_buf, int *out_size, struct audio_g72x_state *state_ptr) argument
/illumos-gate/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,
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Dtransport.c177 gss_buffer_desc out_buf, in_buf; local
195 if (recv_token(sockfd, &in_buf) < 0) {
205 if (out_buf.length != in_buf.length ||
206 memcmp(out_buf.value, in_buf.value, out_buf.length) != 0) {
209 (char *)out_buf.value, in_buf.length,
210 (char *)in_buf.value));
211 free(in_buf.value);
220 ver_str_concat_sz = out_buf.length + in_buf.length + 1;
226 free(in_buf.value);
230 (void) memcpy(ver_str_concat + out_buf.length, in_buf
725 gss_buffer_desc in_buf, out_buf; local
950 gss_buffer_desc in_buf = GSS_C_EMPTY_BUFFER; local
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c150 CK_BYTE *in_buf = NULL; local
184 in_buf = pData;
255 in_buf = pEncrypted;
257 in_buf = pData;
275 (char *)in_buf, out_len, &out);
326 CK_BYTE *in_buf = NULL; local
360 in_buf = pEncrypted;
425 in_buf = pData;
427 in_buf = pEncrypted;
442 (char *)in_buf, out_le
[all...]
H A DsoftAESCrypt.c165 CK_BYTE *in_buf = NULL; local
232 in_buf = pData;
303 in_buf = pEncrypted;
305 in_buf = pData;
324 tmp_inbuf = &in_buf[i];
361 (char *)in_buf, out_len, &out);
383 (void) memcpy(tmpblock, in_buf + out_len,
503 CK_BYTE *in_buf = NULL; local
556 in_buf = pEncrypted;
643 in_buf
[all...]
H A DsoftDESCrypt.c186 CK_BYTE *in_buf = NULL; local
253 in_buf = pData;
323 in_buf = pEncrypted;
325 in_buf = pData;
344 tmp_inbuf = &in_buf[i];
388 (char *)in_buf, out_len, &out);
410 (void) memcpy(tmpblock, in_buf + out_len,
502 CK_BYTE *in_buf = NULL; local
557 in_buf = pEncrypted;
643 in_buf
[all...]
/illumos-gate/usr/src/common/iscsi/
H A Dbase64.c186 iscsi_binary_to_base64_str(uint8_t *in_buf, int in_buf_len, argument
194 iptr = in_buf;
204 while (iptr + 3 <= in_buf + in_buf_len) {
219 in_bytes_remaining = ((uintptr_t)in_buf + in_buf_len) - (uintptr_t)iptr;
/illumos-gate/usr/src/cmd/bnu/
H A Duuencode.c182 unsigned char in_buf[80]; local
192 iptr = in_buf;
235 while ((n = fread(in_buf, 1, 51, in)) > 0) {
237 iptr = in_buf;
/illumos-gate/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);
/illumos-gate/usr/src/cmd/praudit/
H A Dprintaudit.c184 * in_buf, - address and length of binary audit input.
197 print_audit_buf(char **in_buf, int *in_buf_len, char **out_buf, argument
213 context->inbuf_last = context->inbuf_start = *in_buf;
227 (void) adrm_start(context->audit_adr, *in_buf);
235 *in_buf = context->inbuf_last;
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
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c240 gss_buffer_desc in_buf, out_buf; local
244 in_buf.value = buf;
245 in_buf.length = nbyte;
249 &in_buf, &conf_state,
H A Dftp.c2283 gss_buffer_desc in_buf, out_buf; local
2291 in_buf.value = cmd;
2292 in_buf.length = strlen(cmd) + 1;
2305 &in_buf, &conf_state,
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c416 gss_buffer_desc in_buf; local
981 in_buf.value = names[1].name;
982 in_buf.length = strlen(names[1].name) + 1;
983 (void) gss_import_name(&OMret, &in_buf, (gss_OID) nt_krb5_name_oid,
986 in_buf.value = names[3].name;
987 in_buf.length = strlen(names[3].name) + 1;
988 (void) gss_import_name(&OMret, &in_buf, (gss_OID) nt_krb5_name_oid,
/illumos-gate/usr/src/uts/common/sys/iscsit/
H A Discsit_common.h500 iscsi_binary_to_base64_str(uint8_t *in_buf, int in_buf_len,

Completed in 152 milliseconds