Home
last modified time | relevance | path

Searched refs:indata (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_data.c37 krb5_copy_data(krb5_context context, const krb5_data *indata, krb5_data **outdata) in krb5_copy_data() argument
41 if (!indata) { in krb5_copy_data()
49 tempdata->length = indata->length; in krb5_copy_data()
55 memcpy((char *)tempdata->data, (char *)indata->data, tempdata->length); in krb5_copy_data()
64 krb5int_copy_data_contents(krb5_context context, const krb5_data *indata, krb5_data *outdata) in krb5int_copy_data_contents() argument
66 if (!indata) { in krb5int_copy_data_contents()
70 outdata->length = indata->length; in krb5int_copy_data_contents()
75 memcpy((char *)outdata->data, (char *)indata->data, outdata->length); in krb5int_copy_data_contents()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/dk/
H A Dstringtokey.c48 krb5_data indata; in krb5int_dk_string_to_key() local
78 indata.length = keybytes; in krb5int_dk_string_to_key()
79 indata.data = (char *) foldstring; in krb5int_dk_string_to_key()
88 (*(enc->make_key))(context, &indata, &foldkey); in krb5int_dk_string_to_key()
92 indata.length = kerberos_len; in krb5int_dk_string_to_key()
93 indata.data = (char *) kerberos; in krb5int_dk_string_to_key()
95 if ((ret = krb5_derive_key(context, enc, &foldkey, key, &indata))) in krb5int_dk_string_to_key()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_door.c142 _nscd_doorcall_data(int callnum, void *indata, int indlen, in _nscd_doorcall_data() argument
164 if (indata != NULL) in _nscd_doorcall_data()
165 (void) memmove(datap, indata, indlen); in _nscd_doorcall_data()
189 _nscd_doorcall_fd(int fd, int callnum, void *indata, int indlen, in _nscd_doorcall_fd() argument
212 if (indata != NULL) in _nscd_doorcall_fd()
213 (void) memmove(datap, indata, indlen); in _nscd_doorcall_fd()
315 _nscd_doorcall_sendfd(int fd, int callnum, void *indata, int indlen, in _nscd_doorcall_sendfd() argument
337 if (indata != NULL) in _nscd_doorcall_sendfd()
338 (void) memmove(datap, indata, indlen); in _nscd_doorcall_sendfd()
H A Dnscd_door.h141 nss_status_t _nscd_doorcall_data(int callnum, void *indata,
145 nss_status_t _nscd_doorcall_fd(int fd, int callnum, void *indata,
150 void *indata, int indlen, nss_pheader_t *phdr);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dverify_checksum.c44 krb5_data indata; in krb5_c_verify_checksum() local
57 indata.length = cksum->length; in krb5_c_verify_checksum()
58 indata.data = (char *) cksum->contents; in krb5_c_verify_checksum()
64 context, key, usage, 0, data, &indata, valid)); in krb5_c_verify_checksum()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dkrb5ssp.c168 krb5_data indata = {0}; in krb5ssp_get_tkt() local
200 indata.length = 24; in krb5ssp_get_tkt()
201 if ((indata.data = calloc(1, indata.length)) == NULL) { in krb5ssp_get_tkt()
206 indata.data[0] = 16; /* length of "Bnd" field. */ in krb5ssp_get_tkt()
207 indata.data[20] = GSS_C_MUTUAL_FLAG | GSS_C_INTEG_FLAG; in krb5ssp_get_tkt()
211 &indata, kcc, &outdata); in krb5ssp_get_tkt()
238 if (indata.data) in krb5ssp_get_tkt()
239 free(indata.data); in krb5ssp_get_tkt()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_nis.c513 readdir_callback(instatus, inkey, inkeylen, inval, invallen, indata) in readdir_callback() argument
519 struct dir_cbdata *indata;
521 struct dir_entry **list = indata->list;
522 struct dir_entry *last = indata->last;
554 indata->error = ENOMEM;
558 indata->last = last;
559 indata->error = 0;
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.c417 do_cback(instatus, inkey, inkeylen, inval, invallen, indata) in do_cback() argument
423 struct cb_data *indata;
431 if (indata->filter != 0 && strstr(inval, indata->filter) == 0) {
440 res = (*indata->func)(inval, invallen, indata->args);
445 indata->result = res;
H A Dgetexecattr.c192 void *indata) in _exec_nis_cb() argument
198 _exec_nis_args *eargp = (_exec_nis_args *)indata; in _exec_nis_cb()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c458 uint32_t indata[(PPP_HDRLEN+MAX_TCPIPHLEN) / in spppcomp_outpkt() local
467 tocopy = copied = MIN(len, sizeof (indata)); in spppcomp_outpkt()
476 indata[0] = *(uint32_t *)mp->b_rptr; in spppcomp_outpkt()
480 dp = (uchar_t *)indata; in spppcomp_outpkt()
493 srcp = (void *)(indata + PPP_HDRLEN/sizeof (*indata)); in spppcomp_outpkt()
526 (void *)(indata + PPP_HDRLEN / sizeof (*indata))) { in spppcomp_outpkt()
565 (void *)(indata + PPP_HDRLEN / sizeof (*indata))) in spppcomp_outpkt()
576 *dp++ = ((uchar_t *)indata)[0]; /* address */ in spppcomp_outpkt()
577 *dp++ = ((uchar_t *)indata)[1]; /* control */ in spppcomp_outpkt()
/illumos-gate/usr/src/uts/common/io/
H A Dcryptmod.c1117 void *indata, crypto_data_format_t fmt, in kef_crypt() argument
1128 ASSERT(indata != NULL); in kef_crypt()
1141 v1.iov_base = (char *)indata; in kef_crypt()
1151 d1.cd_mp = (mblk_t *)indata; in kef_crypt()
1756 crypto_data_t indata; in arcfour_hmac_md5_decrypt() local
1767 bzero(&indata, sizeof (indata)); in arcfour_hmac_md5_decrypt()
1907 indata.cd_format = CRYPTO_DATA_RAW; in arcfour_hmac_md5_decrypt()
1908 indata.cd_offset = 0; in arcfour_hmac_md5_decrypt()
1909 indata.cd_length = cipherlen; in arcfour_hmac_md5_decrypt()
1910 indata.cd_raw = v1; in arcfour_hmac_md5_decrypt()
[all …]
/illumos-gate/usr/src/lib/libelfsign/common/
H A Delfcertlib.c585 KMF_DATA indata; in elfcertlib_verifysig() local
592 indata.Data = (uchar_t *)data; in elfcertlib_verifysig()
593 indata.Length = data_len; in elfcertlib_verifysig()
614 &indata, sizeof (KMF_DATA)); in elfcertlib_verifysig()
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_crypto_openssl.h204 (unsigned char *indata, int indata_len, unsigned char **outdata,
H A Dpkinit_crypto_openssl.c3484 prepare_enc_data(unsigned char *indata, in prepare_enc_data() argument
3491 const uint8_t *p = indata, *oldp; in prepare_enc_data()
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dcertop.c837 KMF_DATA *indata; in kmf_verify_data() local
886 indata = kmf_get_attr_ptr(KMF_DATA_ATTR, attrlist, num_args); in kmf_verify_data()
887 if (indata == NULL) in kmf_verify_data()
930 indata, insig); in kmf_verify_data()
948 indata, insig); in kmf_verify_data()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_state.c3605 indata,