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

12345

/freebsd-11-stable/crypto/openssh/
H A Drsa.c77 u_char *inbuf = NULL, *outbuf = NULL; local
84 if ((outbuf = malloc(olen)) == NULL) {
96 if ((len = RSA_public_encrypt(ilen, inbuf, outbuf, key,
102 if (BN_bin2bn(outbuf, len, out) == NULL) {
109 if (outbuf != NULL) {
110 explicit_bzero(outbuf, olen);
111 free(outbuf);
123 u_char *inbuf = NULL, *outbuf = NULL; local
127 if ((outbuf = malloc(olen)) == NULL) {
139 if ((len = RSA_private_decrypt(ilen, inbuf, outbuf, ke
[all...]
/freebsd-11-stable/crypto/openssl/crypto/des/
H A Denc_writ.c93 static unsigned char *outbuf = NULL;
102 if (outbuf == NULL) {
103 outbuf = OPENSSL_malloc(BSIZE + HDRSIZE);
104 if (outbuf == NULL)
131 p = outbuf;
148 DES_pcbc_encrypt(cp, &(outbuf[HDRSIZE]), (len < 8) ? 8 : len, sched,
151 DES_cbc_encrypt(cp, &(outbuf[HDRSIZE]), (len < 8) ? 8 : len, sched,
162 i = write(fd, (void *)&(outbuf[j]), outnum - j);
164 i = _write(fd, (void *)&(outbuf[j]), outnum - j);
/freebsd-11-stable/sys/fs/cd9660/
H A Diso_rrip.h65 char *outbuf; /* name/symbolic link output area */ member in struct:__anon11997
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-11-stable/usr.bin/gzip/
H A Dunbzip2.c44 static char *inbuf, *outbuf; local
48 if (outbuf == NULL)
49 outbuf = malloc(BUFLEN);
50 if (inbuf == NULL || outbuf == NULL)
86 bzs.next_out = outbuf;
108 n = write(out, outbuf, BUFLEN - bzs.avail_out);
/freebsd-11-stable/sys/crypto/rc4/
H A Drc4.h51 const u_char *inbuf, u_char *outbuf, int buflen);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Drd_safe.c87 krb5_data *outbuf,
94 krb5_data_zero(outbuf);
191 outbuf->length = safe.safe_body.user_data.length;
192 outbuf->data = malloc(outbuf->length);
193 if (outbuf->data == NULL && outbuf->length != 0) {
196 krb5_data_zero(outbuf);
199 memcpy (outbuf->data, safe.safe_body.user_data.data, outbuf
84 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.c43 krb5_data *outbuf)
75 outbuf);
88 krb5_data *outbuf)
111 server, in_data, ccache, outbuf);
37 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
81 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.c39 krb5_data *outbuf)
117 ASN1_MALLOC_ENCODE(AP_REP, outbuf->data, outbuf->length, &ap, &len, ret);
118 if (ret == 0 && outbuf->length != len)
37 krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf) argument
H A Dmk_req_ext.c42 krb5_data *outbuf,
139 in_creds, ap_req_options, authenticator, outbuf);
152 krb5_data *outbuf)
159 outbuf,
37 _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
147 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
/freebsd-11-stable/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-11-stable/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-11-stable/usr.bin/rctl/
H A Drctl.c419 char *outbuf = NULL; local
424 outbuf = realloc(outbuf, outbuflen);
425 if (outbuf == NULL)
428 outbuf, outbuflen);
436 free(outbuf);
441 print_rules(outbuf, hflag, nflag);
442 free(outbuf);
502 char *copy, *outbuf = NULL, *tmp; local
507 outbuf
549 char *outbuf = NULL; local
[all...]
/freebsd-11-stable/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-11-stable/usr.sbin/lpr/lptest/
H A Dlptest.c58 char outbuf[BUFSIZ]; local
60 setbuf(stdout, outbuf);
/freebsd-11-stable/contrib/apr-util/xlate/
H A Dxlate.c108 char inbuf[256], outbuf[256]; local
110 char *outbufptr = outbuf;
130 convset->sbcs_table = apr_palloc(convset->pool, sizeof(outbuf));
131 memcpy(convset->sbcs_table, outbuf, sizeof(outbuf));
147 char inbuf[256], outbuf[256]; local
149 char *outbufptr = outbuf;
172 convset->sbcs_table = apr_palloc(convset->pool, sizeof(outbuf));
173 memcpy(convset->sbcs_table, outbuf, sizeof(outbuf));
[all...]
/freebsd-11-stable/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-11-stable/sys/fs/smbfs/
H A Dsmbfs_subr.c159 char outbuf[SMB_MAXFNAMELEN]; local
160 char *obuf = outbuf;
163 olen = sizeof(outbuf);
164 bzero(outbuf, sizeof(outbuf));
186 *nmlen = sizeof(outbuf) - olen;
187 memcpy(name, outbuf, *nmlen);
/freebsd-11-stable/contrib/ncurses/progs/
H A Ddump_entry.c67 static DYNBUF outbuf; variable
152 free_DYN(&outbuf);
402 while (outbuf.used > 0 && outbuf.text[outbuf.used - 1] == ' ')
403 outbuf.text[--outbuf.used] = '\0';
411 strcpy_DYN(&outbuf, trailer);
425 strcpy_DYN(&outbuf, src);
426 strcpy_DYN(&outbuf, separato
[all...]
/freebsd-11-stable/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-11-stable/usr.bin/ypmatch/
H A Dypmatch.c79 char *domainname, *inkey, *inmap, *outbuf; local
125 strlen(inkey), &outbuf, &outbuflen);
130 printf("%*.*s\n", outbuflen, outbuflen, outbuf);
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_xlate.h102 * @param outbuf The address of the destination buffer
120 char *outbuf,
/freebsd-11-stable/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-11-stable/lib/libc/inet/
H A Dinet_net_ntop.c170 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; local
180 cp = outbuf;
252 if (cp != outbuf)
261 if (strlen(outbuf) + 1 > size)
263 strcpy(dst, outbuf);
/freebsd-11-stable/usr.bin/iconv/
H A Diconv.c76 char inbuf[INBUFSIZE], outbuf[OUTBUFSIZE], *in, *out; local
95 out = outbuf;
101 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes,
128 out = outbuf;
133 (void)fwrite(outbuf, 1, OUTBUFSIZE - outbytes, stdout);

Completed in 232 milliseconds

12345