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

1234

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dwrite_msg.c41 krb5int_write_messages(krb5_context context, krb5_pointer fdp, krb5_data *outbuf, int nbufs) argument
54 len[0] = htonl(outbuf[0].length);
56 SG_SET(&sg[1], outbuf[0].length ? outbuf[0].data : NULL,
57 outbuf[0].length);
59 len[1] = htonl(outbuf[1].length);
61 SG_SET(&sg[3], outbuf[1].length ? outbuf[1].data : NULL,
62 outbuf[1].length);
67 outbuf
74 krb5_write_message(krb5_context context, krb5_pointer fdp, krb5_data *outbuf) argument
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Ddeflate.h24 char *outbuf, grub_size_t outsize);
/osnet-11/usr/src/lib/libpp/common/
H A Dppdata.c63 static char outbuf[2*(PPBUFSIZ+MAXTOKEN)];/* output buffer */ variable
101 &outbuf[0], /* outb */
102 &outbuf[0], /* outbuf */
103 &outbuf[0], /* outp */
104 &outbuf[PPBUFSIZ], /* oute */
H A Dpp.h71 #define PPWRITE(n) do{if(write(1,pp.outbuf,n)!=(n))pperror(ERROR_SYSTEM|3,"%s: write error",pp.outfile);pp.offset+=(n);pp.lastout=pp.outbuf[(n)-1];}while(0)
73 #define pplastout() ((pp.outp>pp.outbuf)?*(pp.outp-1):pp.lastout)
75 #define pppendout() (pp.outp-pp.outbuf)
77 #define ppflushout() do{if(pp.outp>pp.outbuf){PPWRITE(pp.outp-pp.outbuf);pp.outp=pp.outbuf;}}while(0)
78 #define ppcheckout() do{if(pp.outp>pp.oute){PPWRITE(PPBUFSIZ);if(pp.outbuf==pp.outb){pp.outbuf+=PPBUFSIZ;pp.oute+=PPBUFSIZ;}else{pp.outbuf
409 char* outbuf; /* output buffer */ member in struct:ppglobals
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/
H A Dhash_ef_generic.c58 char *outbuf = NULL; local
78 outbuf = calloc(outlen, sizeof (char));
79 if (outbuf == NULL)
81 if (outbuf != NULL && inbuf != NULL) {
88 (mit_des_cblock *)outbuf,
93 (void) memcpy(output->data, &outbuf[outlen-8], 8);
99 if (outbuf != NULL)
100 free(outbuf);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dsendauth.c60 krb5_data inbuf, outbuf[2]; local
73 outbuf[0].length = strlen(sendauth_version) + 1;
74 outbuf[0].data = (char *) sendauth_version;
75 outbuf[1].length = strlen(appl_version) + 1;
76 outbuf[1].data = appl_version;
77 if ((retval = krb5int_write_messages(context, fd, outbuf, 2)))
167 outbuf[0].data = NULL; /* Coverity is confused otherwise */
170 &outbuf[0])))
177 retval = krb5_write_message(context, fd, &outbuf[0]);
180 k5_trace_message_send(*((int *)fd), outbuf[
[all...]
H A Dmk_rep.c68 Formats a KRB_AP_REP message into outbuf.
70 The outbuf buffer storage is allocated, and should be freed by the
78 krb5_data *outbuf, int dce_style)
134 *outbuf = *toutbuf;
151 krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf) argument
153 return k5_mk_rep(context, auth_context, outbuf, 0);
157 krb5_mk_rep_dce(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf) argument
159 return k5_mk_rep(context, auth_context, outbuf, 1);
77 k5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf, int dce_style) argument
H A Dmk_req.c35 Formats a KRB_AP_REQ message into outbuf.
47 The outbuf buffer storage is allocated, and should be freed by the
56 krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf)
81 in_data, credsp, outbuf);
54 krb5_mk_req(krb5_context context, krb5_auth_context *auth_context, krb5_flags ap_req_options, char *service, char *hostname, krb5_data *in_data, krb5_ccache ccache, krb5_data *outbuf) argument
H A Drecvauth.c60 krb5_data outbuf; local
185 if ((retval = krb5_mk_error(context, &error, &outbuf))) {
194 outbuf.length = 0;
195 outbuf.data = 0;
198 retval = krb5_write_message(context, fd, &outbuf);
199 if (outbuf.data) {
200 free(outbuf.data);
210 if ((retval = krb5_mk_rep(context, *auth_context, &outbuf))) {
213 retval = krb5_write_message(context, fd, &outbuf);
214 free(outbuf
[all...]
H A Drd_priv.c44 data in *outbuf.
51 outbuf points to allocated storage which the caller should
66 krb5_replay_data *replaydata, krb5_data *outbuf)
147 *outbuf = privmsg_enc_part->user_data;
168 const krb5_data *inbuf, krb5_data *outbuf,
233 &replaydata, outbuf))) {
282 free(outbuf->data);
283 outbuf->length = 0;
284 outbuf->data = NULL;
63 krb5_rd_priv_basic(krb5_context context, const krb5_data *inbuf, const krb5_key key, const krb5_address *local_addr, const krb5_address *remote_addr, krb5_pointer i_vector, krb5_replay_data *replaydata, krb5_data *outbuf) argument
167 krb5_rd_priv(krb5_context context, krb5_auth_context auth_context, const krb5_data *inbuf, krb5_data *outbuf, krb5_replay_data *outdata) argument
H A Dmk_safe.c42 Formats a KRB_SAFE message into outbuf.
51 The outbuf buffer storage is allocated, and should be freed by the
60 krb5_cksumtype sumtype, krb5_data *outbuf)
111 *outbuf = *scratch2;
125 const krb5_data *userdata, krb5_data *outbuf,
264 sumtype, outbuf))) {
277 free(outbuf);
287 free(outbuf);
57 krb5_mk_safe_basic(krb5_context context, const krb5_data *userdata, krb5_key key, krb5_replay_data *replaydata, krb5_address *local_addr, krb5_address *remote_addr, krb5_cksumtype sumtype, krb5_data *outbuf) argument
124 krb5_mk_safe(krb5_context context, krb5_auth_context auth_context, const krb5_data *userdata, krb5_data *outbuf, krb5_replay_data *outdata) argument
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Drfc2268.c87 do_encrypt (void *context, unsigned char *outbuf, const unsigned char *inbuf) argument
128 outbuf[0] = word0 & 255;
129 outbuf[1] = word0 >> 8;
130 outbuf[2] = word1 & 255;
131 outbuf[3] = word1 >> 8;
132 outbuf[4] = word2 & 255;
133 outbuf[5] = word2 >> 8;
134 outbuf[6] = word3 & 255;
135 outbuf[7] = word3 >> 8;
139 do_decrypt (void *context, unsigned char *outbuf, cons argument
[all...]
H A Darcfour.c42 byte *outbuf, const byte *inbuf, unsigned int length )
56 *outbuf++ = *inbuf++ ^ sbox[(sbox[i] + sbox[j]) & 255];
65 byte *outbuf, const byte *inbuf, unsigned int length)
68 do_encrypt_stream (ctx, outbuf, inbuf, length );
41 do_encrypt_stream( ARCFOUR_context *ctx, byte *outbuf, const byte *inbuf, unsigned int length ) argument
64 encrypt_stream(void *context, byte *outbuf, const byte *inbuf, unsigned int length) argument
H A Dcamellia-glue.c109 camellia_encrypt(void *c, byte *outbuf, const byte *inbuf) argument
113 Camellia_EncryptBlock(ctx->keybitlength,inbuf,ctx->keytable,outbuf);
123 camellia_decrypt(void *c, byte *outbuf, const byte *inbuf) argument
127 Camellia_DecryptBlock(ctx->keybitlength,inbuf,ctx->keytable,outbuf);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/et/
H A Derror_table.h34 /*@out@*/ /*@returned@*/ char *outbuf)
35 /*@modifies outbuf@*/;
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Drfc2268.c88 do_encrypt (void *context, unsigned char *outbuf, const unsigned char *inbuf) argument
129 outbuf[0] = word0 & 255;
130 outbuf[1] = word0 >> 8;
131 outbuf[2] = word1 & 255;
132 outbuf[3] = word1 >> 8;
133 outbuf[4] = word2 & 255;
134 outbuf[5] = word2 >> 8;
135 outbuf[6] = word3 & 255;
136 outbuf[7] = word3 >> 8;
140 do_decrypt (void *context, unsigned char *outbuf, cons argument
[all...]
H A Dcipher.c234 unsigned char *outbuf, const unsigned char *inbuf)
237 (void)outbuf;
244 unsigned char *outbuf, const unsigned char *inbuf)
247 (void)outbuf;
254 unsigned char *outbuf, const unsigned char *inbuf,
258 (void)outbuf;
266 unsigned char *outbuf, const unsigned char *inbuf,
270 (void)outbuf;
930 do_ecb_encrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf,
937 c->cipher->encrypt ( &c->context.c, outbuf, (byt
232 dummy_encrypt_block(void *c, unsigned char *outbuf, const unsigned char *inbuf) argument
242 dummy_decrypt_block(void *c, unsigned char *outbuf, const unsigned char *inbuf) argument
252 dummy_encrypt_stream(void *c, unsigned char *outbuf, const unsigned char *inbuf, unsigned int n) argument
264 dummy_decrypt_stream(void *c, unsigned char *outbuf, const unsigned char *inbuf, unsigned int n) argument
928 do_ecb_encrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned int nblocks ) argument
942 do_ecb_decrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned int nblocks ) argument
957 do_cbc_encrypt(gcry_cipher_hd_t c, unsigned char *outbuf, const unsigned char *inbuf, unsigned int nbytes ) argument
1023 do_cbc_decrypt(gcry_cipher_hd_t c, unsigned char *outbuf, const unsigned char *inbuf, unsigned int nbytes) argument
1091 do_cfb_encrypt( gcry_cipher_hd_t c, unsigned char *outbuf, const unsigned char *inbuf, unsigned int nbytes ) argument
1168 do_cfb_decrypt( gcry_cipher_hd_t c, unsigned char *outbuf, const unsigned char *inbuf, unsigned int nbytes ) argument
1266 do_ofb_encrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned nbytes ) argument
1314 do_ofb_decrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned int nbytes ) argument
1360 do_ctr_encrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned int nbytes ) argument
1387 do_ctr_decrypt( gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned int nbytes ) argument
1400 cipher_encrypt(gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned int nbytes) argument
1499 cipher_decrypt(gcry_cipher_hd_t c, byte *outbuf, const byte *inbuf, unsigned int nbytes) argument
[all...]
H A Darcfour.c43 byte *outbuf, const byte *inbuf, unsigned int length )
57 *outbuf++ = *inbuf++ ^ sbox[(sbox[i] + sbox[j]) & 255];
66 byte *outbuf, const byte *inbuf, unsigned int length)
69 do_encrypt_stream (ctx, outbuf, inbuf, length );
42 do_encrypt_stream( ARCFOUR_context *ctx, byte *outbuf, const byte *inbuf, unsigned int length ) argument
65 encrypt_stream(void *context, byte *outbuf, const byte *inbuf, unsigned int length) argument
/osnet-11/usr/src/lib/libcmd/common/
H A Dfmt.c58 char* outbuf; member in struct:Fmt_s
81 register char* cp = fp->outbuf;
96 cp = &fp->outbuf[TABSZ*n];
101 cp = fp->outbuf;
159 strcpy(fp->outbuf, buf);
160 fp->outp = fp->outbuf+prefix;
205 memset(fp->outbuf, ' ', fp->prefix);
206 fp->outp = &fp->outbuf[fp->prefix];
225 if (!splice && !fp->retain && (!fp->quote || (fp->outp - fp->outbuf) < 2 || fp->outp[-2] != '\\' || fp->outp[-1] != 'n' && fp->outp[-1] != 't' && fp->outp[-1] != ' '))
453 if (fp->endbuf > (fp->outbuf
570 char outbuf[8 * 1024]; local
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dlogger.c335 char outbuf[KRB5_KLOG_MAX_ERRMSG_SIZE];
348 snprintf(outbuf, sizeof(outbuf), "%s: ", whoami);
353 syslogp = &outbuf[strlen(outbuf)];
359 outbuf[sizeof(outbuf) - 1] = '\0';
362 strncat(outbuf, emsg, sizeof(outbuf) - 1 - strlen(outbuf));
333 char outbuf[KRB5_KLOG_MAX_ERRMSG_SIZE]; local
1026 char outbuf[KRB5_KLOG_MAX_ERRMSG_SIZE]; local
[all...]
/osnet-11/usr/src/lib/fm/libfmd_agent/common/
H A Dfmd_agent.c93 char *inbuf = NULL, *outbuf = NULL; local
116 outbuf = umem_alloc(outsz, UMEM_DEFAULT);
117 if (outbuf == NULL) {
127 fid.fid_outbuf = outbuf;
132 umem_free(outbuf, outsz);
134 outbuf = NULL;
150 if (outbuf != NULL)
151 umem_free(outbuf, outsz);
/osnet-11/usr/src/lib/libresolv2/common/inet/
H A Dinet_net_ntop.c177 char outbuf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:255.255.255.255/128")]; local
187 cp = outbuf;
259 if (cp != outbuf)
268 if (strlen(outbuf) + 1 > size)
270 strcpy(dst, outbuf);
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DDAAdvertiser.java59 static private byte[] outbuf = null; field in class:DAAdvertiser
143 outbuf = baos.toByteArray();
246 return outbuf;
/osnet-11/usr/src/lib/libsasl/include/
H A Dprop.h138 * outbuf -- output buffer
145 char *outbuf, unsigned outmax, unsigned *outlen);
/osnet-11/usr/src/cmd/sendmail/src/
H A Dsfsasl.c194 static const char *outbuf = NULL; local
196 static char *outbuf = NULL; local
217 while (outbuf == NULL && outlen == 0)
224 (unsigned int) len, &outbuf, &outlen);
230 outbuf = NULL;
237 if (outbuf == NULL)
239 /* be paranoid: outbuf == NULL but outlen != 0 */
240 syserr("@sasl_read failure: outbuf == NULL but outlen != 0");
246 (void) memcpy(buf, outbuf + offset, size);
254 (void) memcpy(buf, outbuf
288 const char *outbuf; local
290 char *outbuf; local
[all...]

Completed in 276 milliseconds

1234