Home
last modified time | relevance | path

Searched refs:krb5_princ_size (Results 1 – 21 of 21) sorted by relevance

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dprinc_comp.c58 nelem = krb5_princ_size(context, princ1); in krb5_principal_compare()
59 if (nelem != krb5_princ_size(context, princ2)) in krb5_principal_compare()
87 nelem = krb5_princ_size(context, princ1); in __krb5_principal_compare_case_ins()
88 if (nelem != krb5_princ_size(context, princ2)) in __krb5_principal_compare_case_ins()
H A Dint-proto.h60 (krb5_princ_size((c), (p)) == 2 && \
H A Dpr_to_salt.c52 nelem = krb5_princ_size(context, pr); in krb5_principal2salt_internal()
H A Dfwd_tgt.c156 if (krb5_princ_size(context, server) < 2){ in krb5_fwd_tgt_creds()
H A Dconv_princ.c167 switch (krb5_princ_size(context, princ)) { in krb5_524_conv_principal()
H A Dgc_frm_kdc.c351 assert(krb5_princ_size(ts->ctx, ts->kdc_list[ts->nkdcs]) == 2); in init_rtree()
470 if (krb5_princ_size(ts->ctx, ts->nxt_tgt->server) != 2) { in find_nxt_kdc()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dparse.c214 if (krb5_princ_size(context, principal) > i) in k5_parse_name()
219 if (krb5_princ_size(context, principal) > i) in k5_parse_name()
229 if (krb5_princ_size(context, principal) > i) in k5_parse_name()
H A Dcopy_princ.c54 nelems = (int) krb5_princ_size(context, inprinc); in krb5_copy_principal()
H A Dunparse.c218 nelem = krb5_princ_size(context, principal); in k5_unparse_name()
H A Dkfree.c514 i = krb5_princ_size(context, val); in krb5_free_principal()
519 sizeof(krb5_data) * krb5_princ_size(context, val)); in krb5_free_principal()
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dserver_misc.c180 int i, n = krb5_princ_size(handle->context, principal); in passwd_check()
H A Dsvr_principal.c73 nelems = (int) krb5_princ_size(context, inprinc); in kadm5_copy_principal()
123 i = krb5_princ_size(context, val); in kadm5_free_principal()
1467 (krb5_princ_size (handle->context, principal) == 1)) { in kadm5_chpass_principal_3()
/titanic_41/usr/src/lib/krb5/kdb/
H A Dkeytab.c224 if (krb5_princ_size(context, princ) != 2) in is_xrealm_tgt()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c1438 for (i = 0; i < krb5_princ_size(context, ret_entry->principal); i++) { in krb5_ktfileint_internal_read_entry()
1487 count = (krb5_int16) krb5_princ_size(context, entry->principal) + 1; in krb5_ktfileint_write_entry()
1489 count = htons((u_short) krb5_princ_size(context, entry->principal)); in krb5_ktfileint_write_entry()
1507 count = (krb5_int16) krb5_princ_size(context, entry->principal); in krb5_ktfileint_write_entry()
1606 count = (krb5_int16) krb5_princ_size(context, entry->principal); in krb5_ktfileint_size_entry()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c708 if (krb5_princ_size(context, aname) != 1) { in default_an_to_ln()
709 if (krb5_princ_size(context, aname) == 2 ) { in default_an_to_ln()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c155 if ((krb5_princ_size(kdc_context, principal) > 0) && in krb5_is_tgs_principal()
1167 if (krb5_princ_size(kdc_context, ticket->server) != 2) { in validate_tgs_request()
1177 if ((krb5_princ_size(kdc_context, ticket->server) <= 1) || in validate_tgs_request()
H A Dkdc_preauth.c1905 probeslot = krb5_princ_size(context, newp)++; in get_sam_edata()
1908 krb5_princ_size(context, newp) * sizeof(krb5_data)); in get_sam_edata()
1924 krb5_princ_size(context, newp)--; in get_sam_edata()
H A Ddo_tgs_req.c180 if (krb5_princ_size(kdc_context, request->server) == 2) { in process_tgs_req()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dinit_sec_context.c1100 nelem = krb5_princ_size(context, princ1);
1101 if (nelem != krb5_princ_size(context, princ2))
1356 nelem = krb5_princ_size(context, princ); in get_instance_keytab()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dkrb5.h337 #define krb5_princ_size(context, princ) (princ)->length macro
341 (((i) < krb5_princ_size(context, princ)) \
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c947 tmp = length = krb5_princ_size(context, princ); in krb5_fcc_store_principal()