Searched refs:outbuf (Results 1 - 25 of 105) sorted by relevance

12345

/freebsd-9.3-release/crypto/openssh/
H A Drsa.c77 u_char *inbuf, *outbuf; local
84 outbuf = xmalloc(olen);
90 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key,
94 if (BN_bin2bn(outbuf, len, out) == NULL)
97 explicit_bzero(outbuf, olen);
99 free(outbuf);
106 u_char *inbuf, *outbuf; local
110 outbuf = xmalloc(olen);
116 if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, key,
120 if (BN_bin2bn(outbuf, le
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/des/
H A Denc_writ.c90 static unsigned char *outbuf = NULL; local
96 if (outbuf == NULL) {
97 outbuf = OPENSSL_malloc(BSIZE + HDRSIZE);
98 if (outbuf == NULL)
125 p = outbuf;
140 DES_pcbc_encrypt(cp, &(outbuf[HDRSIZE]), (len < 8) ? 8 : len, sched,
143 DES_cbc_encrypt(cp, &(outbuf[HDRSIZE]), (len < 8) ? 8 : len, sched,
154 i = write(fd, (void *)&(outbuf[j]), outnum - j);
156 i = _write(fd, (void *)&(outbuf[j]), outnum - j);
/freebsd-9.3-release/sys/fs/cd9660/
H A Diso_rrip.h65 char *outbuf; /* name/symbolic link output area */ member in struct:__anon9246
76 char *outbuf, u_short *outlen,
79 char *outbuf, u_short *outlen,
H A Dcd9660_rrip.c120 char *outbuf, *inbuf; local
126 outbuf = ana->outbuf;
140 *outbuf++ = '/';
168 outbuf -= len;
200 ana->outbuf -= *ana->outlen;
205 bcopy(inbuf,outbuf,wlen);
206 outbuf += wlen;
210 ana->outbuf = outbuf;
[all...]
/freebsd-9.3-release/usr.bin/gzip/
H A Dunbzip2.c42 static char *inbuf, *outbuf; local
46 if (outbuf == NULL)
47 outbuf = malloc(BUFLEN);
48 if (inbuf == NULL || outbuf == NULL)
82 bzs.next_out = outbuf;
104 n = write(out, outbuf, BUFLEN - bzs.avail_out);
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Drd_safe.c89 krb5_data *outbuf,
96 if (outbuf)
97 krb5_data_zero(outbuf);
187 outbuf->length = safe.safe_body.user_data.length;
188 outbuf->data = malloc(outbuf->length);
189 if (outbuf->data == NULL && outbuf->length != 0) {
192 krb5_data_zero(outbuf);
195 memcpy (outbuf
86 krb5_rd_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata) argument
[all...]
H A Dmk_req.c45 krb5_data *outbuf)
77 outbuf);
90 krb5_data *outbuf)
113 server, in_data, ccache, outbuf);
39 krb5_mk_req_exact(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, const krb5_principal server, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf) argument
83 krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, const char *service, const char *hostname, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf) argument
H A Dmk_rep.c41 krb5_data *outbuf)
121 ASN1_MALLOC_ENCODE(AP_REP, outbuf->data, outbuf->length, &ap, &len, ret);
122 if (ret == 0 && outbuf->length != len)
39 krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf) argument
H A Dmk_req_ext.c44 krb5_data *outbuf,
142 in_creds, ap_req_options, authenticator, outbuf);
155 krb5_data *outbuf)
162 outbuf,
39 _krb5_mk_req_internal(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_data *outbuf, krb5_key_usage checksum_usage, krb5_key_usage encrypt_usage) argument
150 krb5_mk_req_extended(krb5_context context, krb5_auth_context *auth_context, const krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_data *outbuf) argument
H A Dmk_safe.c42 krb5_data *outbuf,
135 outbuf->length = len;
136 outbuf->data = buf;
39 krb5_mk_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *userdata, krb5_data *outbuf, krb5_replay_data *outdata) argument
/freebsd-9.3-release/sys/crypto/rc4/
H A Drc4.h51 const u_char *inbuf, u_char *outbuf, int buflen);
/freebsd-9.3-release/sys/libkern/
H A Diconv_xlat.c81 size_t *inbytesleft, char **outbuf, size_t *outbytesleft,
89 if (inbuf == NULL || *inbuf == NULL || outbuf == NULL || *outbuf == NULL)
98 dst = *outbuf;
102 *outbuf += n;
80 iconv_xlat_conv(void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype) argument
/freebsd-9.3-release/tools/test/iconv/posix/
H A Dposix.c113 uint32_t outbuf[4]; local
120 outptr = (char *)outbuf;
135 uint32_t outbuf[2]; local
142 outptr = (char *)outbuf;
153 printf("outptr - outbuf = %d\n", (uint8_t *)outptr - (uint8_t *)outbuf);
159 (outbytesleft == 0) && ((uint8_t *)outptr - (uint8_t *)outbuf == 8) &&
173 uint32_t outbuf[4]; local
181 outptr = (char *)outbuf;
192 printf("outptr - outbuf
212 uint32_t outbuf[4]; local
[all...]
/freebsd-9.3-release/tools/test/iconv/gnu/
H A Dgnu.c249 char *outbuf; local
255 outbuf = malloc(40);
256 outptr = &outbuf;
279 char *outbuf; local
285 outbuf = malloc(40);
286 outptr = &outbuf;
352 uint8_t outbuf[4] = { 0x00, 0x00, 0x00, 0x00 }; local
370 outptr = (char *)outbuf;
378 printf("mb_uc fallback: %c\n", outbuf[0]);
381 if (mb_uc_fb && (outbuf[
394 char outbuf[6]; local
[all...]
/freebsd-9.3-release/usr.sbin/lpr/lptest/
H A Dlptest.c58 char outbuf[BUFSIZ]; local
60 setbuf(stdout, outbuf);
/freebsd-9.3-release/contrib/bzip2/
H A Dunzcrash.c41 uchar outbuf[M_BLOCK_OUT]; variable
107 outbuf, &nOut, zbuf, nZ, 0, 0 );
118 if (inbuf[i] != outbuf[i]) {
132 if (inbuf[i] != outbuf[i]) {
/freebsd-9.3-release/usr.bin/rctl/
H A Drctl.c322 char *outbuf = NULL; local
327 outbuf = realloc(outbuf, outbuflen);
328 if (outbuf == NULL)
331 error = rctl_get_limits(filter, strlen(filter) + 1, outbuf,
337 print_rules(outbuf, hflag, nflag);
339 free(outbuf);
391 char *outbuf = NULL, *tmp; local
396 outbuf = realloc(outbuf, outbufle
427 char *outbuf = NULL; local
[all...]
/freebsd-9.3-release/contrib/ipfilter/samples/
H A Dproxy.c233 char netbuf[1024], outbuf[1024]; local
249 orptr = outbuf;
250 owptr = outbuf;
251 osz = sizeof(outbuf);
259 if (orptr - outbuf < sizeof(outbuf))
264 if (osz < sizeof(outbuf))
279 i = read(net, orptr, sizeof(outbuf) - (orptr - outbuf));
292 if (osz == sizeof(outbuf) || owpt
[all...]
/freebsd-9.3-release/usr.bin/ypmatch/
H A Dypmatch.c78 char *inkey, *inmap, *outbuf; local
120 strlen(inkey), &outbuf, &outbuflen);
125 printf("%*.*s\n", outbuflen, outbuflen, outbuf);
/freebsd-9.3-release/sys/sys/
H A Diconv.h158 size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
160 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype);
162 size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
164 size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int casetype);
180 char **outbuf, size_t *outbytesleft);
182 char **outbuf, size_t *outbytesleft, int casetype);
184 char **outbuf, size_t *outbytesleft);
186 char **outbuf, size_t *outbytesleft, int casetype);
/freebsd-9.3-release/lib/libc/inet/
H A Dinet_net_ntop.c179 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; local
189 cp = outbuf;
261 if (cp != outbuf)
270 if (strlen(outbuf) + 1 > size)
272 strcpy(dst, outbuf);
/freebsd-9.3-release/usr.bin/iconv/
H A Diconv.c77 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *out; local
95 out = outbuf;
101 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes,
128 out = outbuf;
133 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, stdout);
/freebsd-9.3-release/contrib/ncurses/progs/
H A Ddump_entry.c66 static DYNBUF outbuf; variable
140 free_DYN(&outbuf);
380 while (outbuf.used > 0 && outbuf.text[outbuf.used - 1] == ' ')
381 outbuf.text[--outbuf.used] = '\0';
389 strcpy_DYN(&outbuf, trailer);
403 strcpy_DYN(&outbuf, src);
404 strcpy_DYN(&outbuf, separato
[all...]
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_subr.c192 char outbuf[SMB_MAXFNAMELEN]; local
193 char *obuf = outbuf;
196 olen = sizeof(outbuf);
197 bzero(outbuf, sizeof(outbuf));
219 *nmlen = sizeof(outbuf) - olen;
220 memcpy(name, outbuf, *nmlen);
/freebsd-9.3-release/contrib/pf/libevent/
H A Dbuffer.c92 evbuffer_add_buffer(struct evbuffer *outbuf, struct evbuffer *inbuf) argument
97 if (outbuf->off == 0) {
102 SWAP(&tmp, outbuf);
103 SWAP(outbuf, inbuf);
109 * of data that we tranfered from inbuf to outbuf
113 if (oldoff && outbuf->cb != NULL)
114 (*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg);
119 res = evbuffer_add(outbuf, inbu
[all...]

Completed in 138 milliseconds

12345