/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | mk_faddr.c | 44 register krb5_octet * marshal; in krb5_make_fulladdr() 52 if (!(raddr->contents = (krb5_octet *)malloc(raddr->length))) in krb5_make_fulladdr() 61 *marshal++ = (krb5_octet) (tmp16 & 0xff); in krb5_make_fulladdr() 62 *marshal++ = (krb5_octet) ((tmp16 >> 8) & 0xff); in krb5_make_fulladdr() 65 *marshal++ = (krb5_octet) (tmp32 & 0xff); in krb5_make_fulladdr() 66 *marshal++ = (krb5_octet) ((tmp32 >> 8) & 0xff); in krb5_make_fulladdr() 67 *marshal++ = (krb5_octet) ((tmp32 >> 16) & 0xff); in krb5_make_fulladdr() 68 *marshal++ = (krb5_octet) ((tmp32 >> 24) & 0xff); in krb5_make_fulladdr() 76 *marshal++ = (krb5_octet) (tmp16 & 0xff); in krb5_make_fulladdr() 77 *marshal++ = (krb5_octet) ((tmp16 >> 8) & 0xff); in krb5_make_fulladdr() [all …]
|
H A D | full_ipadr.c | 43 register krb5_octet *marshal; in krb5_make_full_ipaddr() 55 if (!(retaddr->contents = (krb5_octet *)malloc(retaddr->length))) { in krb5_make_full_ipaddr()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | serialize.c | 123 krb5_externalize_opaque(krb5_context kcontext, krb5_magic odtype, krb5_pointer arg, krb5_octet **bu… in krb5_externalize_opaque() 140 krb5_externalize_data(krb5_context kcontext, krb5_pointer arg, krb5_octet **bufpp, size_t *sizep) in krb5_externalize_data() 144 krb5_octet *buffer, *bp; in krb5_externalize_data() 150 if ((buffer = (krb5_octet *) MALLOC(bufsize))) { in krb5_externalize_data() 175 krb5_internalize_opaque(krb5_context kcontext, krb5_magic odtype, krb5_pointer *argp, krb5_octet **… in krb5_internalize_opaque() 193 krb5_ser_pack_int32(krb5_int32 iarg, krb5_octet **bufp, size_t *remainp) in krb5_ser_pack_int32() 196 (*bufp)[0] = (krb5_octet) ((iarg >> 24) & 0xff); in krb5_ser_pack_int32() 197 (*bufp)[1] = (krb5_octet) ((iarg >> 16) & 0xff); in krb5_ser_pack_int32() 198 (*bufp)[2] = (krb5_octet) ((iarg >> 8) & 0xff); in krb5_ser_pack_int32() 199 (*bufp)[3] = (krb5_octet) (iarg & 0xff); in krb5_ser_pack_int32() [all …]
|
H A D | ser_princ.c | 49 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 51 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 95 krb5_principal_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *le… in krb5_principal_externalize() 100 krb5_octet *bp; in krb5_principal_externalize() 119 (void) krb5_ser_pack_bytes((krb5_octet *) fname, in krb5_principal_externalize() 137 krb5_principal_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *… in krb5_principal_internalize() 142 krb5_octet *bp; in krb5_principal_internalize() 163 !(kret = krb5_ser_unpack_bytes((krb5_octet *) tmpname, in krb5_principal_internalize()
|
H A D | ser_adata.c | 43 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 45 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 92 krb5_authdata_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *len… in krb5_authdata_externalize() 97 krb5_octet *bp; in krb5_authdata_externalize() 141 krb5_authdata_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *l… in krb5_authdata_internalize() 146 krb5_octet *bp; in krb5_authdata_internalize() 173 authdata->contents = (krb5_octet *) in krb5_authdata_internalize()
|
H A D | ser_key.c | 40 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 42 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 90 krb5_keyblock_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *len… in krb5_keyblock_externalize() 95 krb5_octet *bp; in krb5_keyblock_externalize() 141 krb5_keyblock_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *l… in krb5_keyblock_internalize() 146 krb5_octet *bp; in krb5_keyblock_internalize() 173 keyblock->contents = (krb5_octet *) MALLOC((size_t) (ibuf)); in krb5_keyblock_internalize()
|
H A D | ser_addr.c | 43 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 45 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 92 krb5_address_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenr… in krb5_address_externalize() 97 krb5_octet *bp; in krb5_address_externalize() 143 krb5_address_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *le… in krb5_address_internalize() 148 krb5_octet *bp; in krb5_address_internalize() 177 address->contents = (krb5_octet *) MALLOC((size_t) (ibuf)); in krb5_address_internalize()
|
H A D | ser_cksum.c | 43 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 45 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 92 krb5_checksum_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *len… in krb5_checksum_externalize() 97 krb5_octet *bp; in krb5_checksum_externalize() 142 krb5_checksum_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *l… in krb5_checksum_internalize() 147 krb5_octet *bp; in krb5_checksum_internalize() 175 checksum->contents = (krb5_octet *) in krb5_checksum_internalize()
|
H A D | ser_ctx.c | 56 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 58 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 62 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 64 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 69 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 71 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 168 krb5_context_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenr… in krb5_context_externalize() 173 krb5_octet *bp; in krb5_context_externalize() 205 kret = krb5_ser_pack_bytes((krb5_octet *) context->default_realm, in krb5_context_externalize() 339 krb5_context_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *le… in krb5_context_internalize() [all …]
|
H A D | ser_auth.c | 43 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 45 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 126 krb5_authenticator_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t… in krb5_authenticator_externalize() 131 krb5_octet *bp; in krb5_authenticator_externalize() 230 krb5_authenticator_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size… in krb5_authenticator_internalize() 235 krb5_octet *bp; in krb5_authenticator_internalize()
|
H A D | ser_actx.c | 57 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 59 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 198 krb5_auth_context_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t … in krb5_auth_context_externalize() 203 krb5_octet *bp; in krb5_auth_context_externalize() 361 krb5_auth_context_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_… in krb5_auth_context_internalize() 366 krb5_octet *bp; in krb5_auth_context_internalize()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/crc32/ |
H A D | crc.c | 198 outcksum->contents[0] = (krb5_octet) (c & 0xff); 199 outcksum->contents[1] = (krb5_octet) ((c >> 8) & 0xff); 200 outcksum->contents[2] = (krb5_octet) ((c >> 16) & 0xff); 201 outcksum->contents[3] = (krb5_octet) ((c >> 24) & 0xff); 230 if ((cksum->contents[0] != (krb5_octet) (c & 0xff)) || 231 (cksum->contents[1] != (krb5_octet) ((c >> 8) & 0xff)) || 232 (cksum->contents[2] != (krb5_octet) ((c >> 16) & 0xff)) || 233 (cksum->contents[3] != (krb5_octet) ((c >> 24) & 0xff)))
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | des_int.h | 112 #define MIT_DES_BLOCK_LENGTH (8*sizeof(krb5_octet)) 117 #define MIT_DES_CBC_CKSUM_LENGTH (4*sizeof(krb5_octet)) 145 const krb5_octet *, krb5_octet *, unsigned long , 146 krb5_keyblock *, const krb5_octet *); 237 (const krb5_octet * input, 239 krb5_octet * output,
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ser_cc.c | 44 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 46 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 97 krb5_ccache_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenre… in krb5_ccache_externalize() 102 krb5_octet *bp; in krb5_ccache_externalize() 137 (void) krb5_ser_pack_bytes((krb5_octet *) ccname, in krb5_ccache_externalize() 157 krb5_ccache_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *len… in krb5_ccache_internalize() 162 krb5_octet *bp; in krb5_ccache_internalize() 180 !(kret = krb5_ser_unpack_bytes((krb5_octet *) ccname, in krb5_ccache_internalize()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | ser_rc.c | 49 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 51 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 103 krb5_rcache_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenre… in krb5_rcache_externalize() 108 krb5_octet *bp; in krb5_rcache_externalize() 144 (void) krb5_ser_pack_bytes((krb5_octet *) rcname, in krb5_rcache_externalize() 164 krb5_rcache_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *len… in krb5_rcache_internalize() 169 krb5_octet *bp; in krb5_rcache_internalize() 187 !(kret = krb5_ser_unpack_bytes((krb5_octet *) rcname, in krb5_rcache_internalize()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
H A D | f_cksum.c | 28 const krb5_octet *in, krb5_octet *out, in mit_des_cbc_cksum() 30 const krb5_octet *ivec) in mit_des_cbc_cksum()
|
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | ser_sctx.c | 60 krb5_octet **buffer; 73 err = krb5_ser_pack_bytes((krb5_octet *) oid->elements, 86 krb5_octet **buffer; 91 krb5_octet *bp; 117 if (krb5_ser_unpack_bytes((krb5_octet *) oid->elements, 174 krb5_octet **buffer; 191 krb5_octet **buffer; 195 krb5_octet *bp; 372 krb5_octet **buffer; 378 krb5_octet *bp; [all …]
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_compat.h | 49 krb5_octet *contents; 88 krb5_octet *salt; 92 krb5_octet *alt_salt;
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_xdr.c | 45 krb5_octet * tmp; 50 if ((tmp = (krb5_octet *) malloc(new_tl_data->tl_data_length)) == NULL) 117 krb5_octet buf[4]; /* this is the encoded size of an int32 */ 167 krb5_octet * nextloc = 0; 177 if ((nextloc = (krb5_octet *) malloc(unparse_mod_princ_size + 4))
|
/titanic_41/usr/src/cmd/krb5/slave/ |
H A D | utils.c | 22 krbap->contents = (krb5_octet *) in cvtkaddr() 35 krbap->contents = (krb5_octet *) in cvtkaddr() 45 krbap->contents = (krb5_octet *) in cvtkaddr()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | export_sec_context.c | 44 krb5_octet *obuffer, *obp; 47 obuffer = (krb5_octet *) NULL; 70 if ((obuffer = (krb5_octet *) xmalloc(bufsize)) == NULL) {
|
/titanic_41/usr/src/lib/krb5/kdb/ |
H A D | encrypt_key.c | 80 krb5_octet * ptr; in krb5_dbekd_encrypt_key_data() 101 if ((ptr = (krb5_octet *) malloc(2 + len)) == NULL) in krb5_dbekd_encrypt_key_data() 132 (krb5_octet *)malloc(keysalt->data.length); in krb5_dbekd_encrypt_key_data()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | get_set_keyblock.c | 44 krb5_octet * 63 krb5_set_key_data(krb5_keyblock *kb, krb5_octet *data) in krb5_set_key_data()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | ktbase.c | 192 (krb5_context, krb5_pointer, krb5_octet **, size_t *); 194 (krb5_context,krb5_pointer *, krb5_octet **, size_t *); 224 krb5_keytab_externalize(krb5_context kcontext, krb5_pointer arg, krb5_octet **buffer, size_t *lenre… in krb5_keytab_externalize() 241 krb5_keytab_internalize(krb5_context kcontext, krb5_pointer *argp, krb5_octet **buffer, size_t *len… in krb5_keytab_internalize()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/crypto/des/ |
H A D | string2key.c | 56 register krb5_octet *key; in mit_des_string_to_key_int() 154 ((krb5_octet *)key)[7] ^= 0xf0; in mit_des_string_to_key_int() 166 ((krb5_octet *)key)[7] ^= 0xf0; in mit_des_string_to_key_int()
|