Home
last modified time | relevance | path

Searched refs:krb5_int32 (Results 1 – 25 of 102) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dserialize.c193 krb5_ser_pack_int32(krb5_int32 iarg, krb5_octet **bufp, size_t *remainp) in krb5_ser_pack_int32()
195 if (*remainp >= sizeof(krb5_int32)) { in krb5_ser_pack_int32()
200 *bufp += sizeof(krb5_int32); in krb5_ser_pack_int32()
201 *remainp -= sizeof(krb5_int32); in krb5_ser_pack_int32()
245 krb5_ser_unpack_int32(krb5_int32 *intp, krb5_octet **bufp, size_t *remainp) in krb5_ser_unpack_int32()
247 if (*remainp >= sizeof(krb5_int32)) { in krb5_ser_unpack_int32()
248 *intp = (((krb5_int32) ((unsigned char) (*bufp)[0]) << 24) | in krb5_ser_unpack_int32()
249 ((krb5_int32) ((unsigned char) (*bufp)[1]) << 16) | in krb5_ser_unpack_int32()
250 ((krb5_int32) ((unsigned char) (*bufp)[2]) << 8) | in krb5_ser_unpack_int32()
251 ((krb5_int32) ((unsigned char) (*bufp)[3]))); in krb5_ser_unpack_int32()
[all …]
H A Dser_ctx.c132 required = (14 * sizeof(krb5_int32) + in krb5_context_size()
133 (context->in_tkt_ktype_count * sizeof(krb5_int32)) + in krb5_context_size()
134 (context->tgs_ktype_count * sizeof(krb5_int32))); in krb5_context_size()
198 (krb5_int32) strlen(context->default_realm) : 0, in krb5_context_externalize()
213 kret = krb5_ser_pack_int32((krb5_int32) context->in_tkt_ktype_count, in krb5_context_externalize()
220 kret = krb5_ser_pack_int32((krb5_int32) context->in_tkt_ktypes[i], in krb5_context_externalize()
227 kret = krb5_ser_pack_int32((krb5_int32) context->tgs_ktype_count, in krb5_context_externalize()
234 kret = krb5_ser_pack_int32((krb5_int32) context->tgs_ktypes[i], in krb5_context_externalize()
241 kret = krb5_ser_pack_int32((krb5_int32) context->clockskew, in krb5_context_externalize()
247 kret = krb5_ser_pack_int32((krb5_int32) context->kdc_req_sumtype, in krb5_context_externalize()
[all …]
H A Dser_actx.c109 required += sizeof(krb5_int32)*8; in krb5_auth_context_size()
118 required += sizeof(krb5_int32); in krb5_auth_context_size()
128 required += sizeof(krb5_int32); in krb5_auth_context_size()
138 required += sizeof(krb5_int32); in krb5_auth_context_size()
148 required += sizeof(krb5_int32); in krb5_auth_context_size()
158 required += sizeof(krb5_int32); in krb5_auth_context_size()
168 required += sizeof(krb5_int32); in krb5_auth_context_size()
178 required += sizeof(krb5_int32); in krb5_auth_context_size()
206 krb5_int32 obuf32; in krb5_auth_context_externalize()
227 (void) krb5_ser_pack_int32((krb5_int32) auth_context->req_cksumtype, in krb5_auth_context_externalize()
[all …]
H A Dser_key.c75 *sizep += (sizeof(krb5_int32) + in krb5_keyblock_size()
76 sizeof(krb5_int32) + in krb5_keyblock_size()
77 sizeof(krb5_int32) + in krb5_keyblock_size()
78 sizeof(krb5_int32) + in krb5_keyblock_size()
79 sizeof(krb5_int32) + in krb5_keyblock_size()
112 (void) krb5_ser_pack_int32((krb5_int32) keyblock->enctype, in krb5_keyblock_externalize()
116 (void) krb5_ser_pack_int32((krb5_int32) keyblock->length, in krb5_keyblock_externalize()
145 krb5_int32 ibuf; in krb5_keyblock_internalize()
159 if ((remain >= (3*sizeof(krb5_int32))) && in krb5_keyblock_internalize()
H A Dser_adata.c78 *sizep += (sizeof(krb5_int32) + in krb5_authdata_size()
79 sizeof(krb5_int32) + in krb5_authdata_size()
80 sizeof(krb5_int32) + in krb5_authdata_size()
81 sizeof(krb5_int32) + in krb5_authdata_size()
114 (void) krb5_ser_pack_int32((krb5_int32) authdata->ad_type, in krb5_authdata_externalize()
118 (void) krb5_ser_pack_int32((krb5_int32) authdata->length, in krb5_authdata_externalize()
145 krb5_int32 ibuf; in krb5_authdata_internalize()
159 if ((remain >= (2*sizeof(krb5_int32))) && in krb5_authdata_internalize()
H A Dser_addr.c78 *sizep += (sizeof(krb5_int32) + in krb5_address_size()
79 sizeof(krb5_int32) + in krb5_address_size()
80 sizeof(krb5_int32) + in krb5_address_size()
81 sizeof(krb5_int32) + in krb5_address_size()
114 (void) krb5_ser_pack_int32((krb5_int32) address->addrtype, in krb5_address_externalize()
118 (void) krb5_ser_pack_int32((krb5_int32) address->length, in krb5_address_externalize()
147 krb5_int32 ibuf; in krb5_address_internalize()
161 if ((remain >= (2*sizeof(krb5_int32))) && in krb5_address_internalize()
H A Dser_cksum.c78 *sizep += (sizeof(krb5_int32) + in krb5_checksum_esize()
79 sizeof(krb5_int32) + in krb5_checksum_esize()
80 sizeof(krb5_int32) + in krb5_checksum_esize()
81 sizeof(krb5_int32) + in krb5_checksum_esize()
114 (void) krb5_ser_pack_int32((krb5_int32) checksum->checksum_type, in krb5_checksum_externalize()
118 (void) krb5_ser_pack_int32((krb5_int32) checksum->length, in krb5_checksum_externalize()
146 krb5_int32 ibuf; in krb5_checksum_internalize()
160 if ((remain >= (2*sizeof(krb5_int32))) && in krb5_checksum_internalize()
H A Dser_auth.c79 required = sizeof(krb5_int32)*6; in krb5_authenticator_size()
149 (void) krb5_ser_pack_int32((krb5_int32) authenticator->ctime, in krb5_authenticator_externalize()
153 (void) krb5_ser_pack_int32((krb5_int32) authenticator->cusec, in krb5_authenticator_externalize()
195 (void) krb5_ser_pack_int32((krb5_int32) i, &bp, &remain); in krb5_authenticator_externalize()
234 krb5_int32 ibuf; in krb5_authenticator_internalize()
238 krb5_int32 nadata; in krb5_authenticator_internalize()
251 if ((remain >= (3*sizeof(krb5_int32))) && in krb5_authenticator_internalize()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h157 krb5_int32 ks_salttype;
201 *((krb5_int32 *) &(i32)) = (((krb5_int32) ((unsigned char) (cp)[0]))| \
202 ((krb5_int32) ((unsigned char) (cp)[1]) << 8) | \
203 ((krb5_int32) ((unsigned char) (cp)[2]) << 16)| \
204 ((krb5_int32) ((unsigned char) (cp)[3]) << 24))
316 krb5_int32 ktype,
317 krb5_int32 stype,
318 krb5_int32 kvno,
324 krb5_int32 *start,
325 krb5_int32 ktype,
[all …]
H A Dadm_proto.h86 krb5_int32 *);
114 krb5_int32,
116 krb5_int32);
119 krb5_int32,
131 krb5_int32 *);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dser_sctx.c69 err = krb5_ser_pack_int32((krb5_int32) oid->length,
90 krb5_int32 ibuf;
157 required = 2*sizeof(krb5_int32); /* For the header and trailer */
158 required += sizeof(krb5_int32);
194 krb5_int32 ibuf;
241 required = 2*sizeof(krb5_int32); /* For the header and trailer */
298 required = 17*sizeof(krb5_int32);
401 (void) krb5_ser_pack_int32((krb5_int32) ctx->initiate,
403 (void) krb5_ser_pack_int32((krb5_int32) ctx->established,
405 (void) krb5_ser_pack_int32((krb5_int32) ctx->big_endian,
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dk5-int-pkinit.h41 krb5_int32 cusec; /* (0..999999) */
43 krb5_int32 nonce; /* (0..4294967295) */
51 krb5_int32 cusec; /* (0..999999) */
53 krb5_int32 nonce; /* (0..4294967295) */
107 krb5_int32 type;
136 krb5_int32 nonce; /* (0..4294967295) */
143 krb5_int32 nonce; /* (0..4294967295) */
155 krb5_int32 nonce;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_compat.h54 krb5_int32 length;
55 krb5_int32 type;
84 krb5_int32 salt_type:8,
88 krb5_int32 alt_salt_type:8,
92 krb5_int32 expansion[8];
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dtoffset.c39 krb5_set_real_time(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds) in krb5_set_real_time()
42 krb5_int32 sec, usec; in krb5_set_real_time()
61 krb5_set_debugging_time(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds) in krb5_set_debugging_time()
90 krb5_get_time_offsets(krb5_context context, krb5_timestamp *seconds, krb5_int32 *microseconds) in krb5_get_time_offsets()
106 krb5_set_time_offsets(krb5_context context, krb5_timestamp seconds, krb5_int32 microseconds) in krb5_set_time_offsets()
H A Dtimeofday.c50 krb5_int32 tval; in krb5_timeofday()
57 krb5_int32 usecs; in krb5_timeofday()
65 if (tval == (krb5_int32) -1) in krb5_timeofday()
H A Dc_ustime.c41 struct time_now { krb5_int32 sec, usec; };
92 krb5_crypto_us_timeofday(krb5_int32 *seconds, krb5_int32 *microseconds) in krb5_crypto_us_timeofday()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-int.h392 krb5_int32 method;
473 krb5_int32 susec;
480 krb5_int32 sam_type; /* information */
488 krb5_int32 sam_nonce;
499 krb5_int32 sam_nonce;
501 krb5_int32 sam_usec;
507 krb5_int32 sam_type; /* informational */
512 krb5_int32 sam_nonce;
523 krb5_int32 sam_type; /* information */
531 krb5_int32 sam_nonce;
[all …]
H A Dkrb5.h205 typedef int krb5_int32; typedef
208 typedef long krb5_int32; typedef
211 typedef short krb5_int32; typedef
253 typedef krb5_int32 krb5_addrtype;
254 typedef krb5_int32 krb5_enctype;
255 typedef krb5_int32 krb5_cksumtype;
256 typedef krb5_int32 krb5_authdatatype;
257 typedef krb5_int32 krb5_keyusage;
259 typedef krb5_int32 krb5_preauthtype; /* This may change, later on */
260 typedef krb5_int32 krb5_flags;
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c164 krb5_int32);
170 krb5_int32 *);
175 krb5_int32 *);
180 krb5_int32 *,
181 krb5_int32 *);
575 required = sizeof(krb5_int32) * 7; in krb5_ktf_keytab_size()
608 krb5_int32 file_is_open; in krb5_ktf_keytab_externalize()
666 (void) krb5_ser_pack_int32((krb5_int32) strlen(ktname), in krb5_ktf_keytab_externalize()
681 (void) krb5_ser_pack_int32((krb5_int32) ((ktdata) ? in krb5_ktf_keytab_externalize()
705 krb5_int32 ibuf; in krb5_ktf_keytab_internalize()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/file/
H A Dktfile.h159 krb5_int32);
165 krb5_int32 *);
170 krb5_int32 *);
175 krb5_int32 *,
176 krb5_int32 *);
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddispatch.c44 static krb5_int32 last_usec = 0, last_os_random = 0;
52 krb5_int32 now, now_usec; in dispatch()
77 krb5_int32 usec_difference = now_usec-last_usec; in dispatch()
87 data.length = sizeof(krb5_int32); in dispatch()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_krbcontainer.h42 krb5_int32 max_life;
43 krb5_int32 max_renewable_life;
44 krb5_int32 tktflags;
H A Dldap_realm.h63 krb5_int32 max_life;
64 krb5_int32 max_renewable_life;
65 krb5_int32 tktflags;
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb5.h166 krb5_int32 *start,
167 krb5_int32 ktype,
168 krb5_int32 stype,
169 krb5_int32 kvno,
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c142 (krb5_context, krb5_ccache id, krb5_int32 *i);
192 (krb5_context, krb5_ccache id, krb5_int32 i);
196 (krb5_context, krb5_ccache id, krb5_int32 i);
198 (krb5_context, krb5_ccache id, krb5_int32 i);
452 krb5_int32 length, type; in krb5_fcc_read_principal()
526 krb5_int32 length; in krb5_fcc_read_addrs()
577 krb5_int32 int32; in krb5_fcc_read_keyblock()
626 krb5_int32 len; in krb5_fcc_read_data()
668 krb5_int32 int32; in krb5_fcc_read_addr()
709 krb5_fcc_read_int32(krb5_context context, krb5_ccache id, krb5_int32 *i) in krb5_fcc_read_int32()
[all …]

12345