/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | init_ctx.c | 585 krb5_set_default_in_tkt_ktypes(krb5_context context, const krb5_enctype *ktypes) in krb5_set_default_in_tkt_ktypes() argument 590 if (ktypes) { in krb5_set_default_in_tkt_ktypes() 591 for (i = 0; ktypes[i]; i++) { in krb5_set_default_in_tkt_ktypes() 592 if (!krb5_c_valid_enctype(ktypes[i])) in krb5_set_default_in_tkt_ktypes() 598 (void) memcpy(new_ktypes, ktypes, sizeof(krb5_enctype) * i); in krb5_set_default_in_tkt_ktypes() 615 get_profile_etype_list(krb5_context context, krb5_enctype **ktypes, char *profstr, in get_profile_etype_list() argument 706 *ktypes = 0; in get_profile_etype_list() 710 *ktypes = old_ktypes; in get_profile_etype_list() 715 krb5_get_default_in_tkt_ktypes(krb5_context context, krb5_enctype **ktypes) in krb5_get_default_in_tkt_ktypes() argument 717 return(get_profile_etype_list(context, ktypes, "default_tkt_enctypes", in krb5_get_default_in_tkt_ktypes() [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | set_allowable_enctypes.c | 67 krb5_enctype *ktypes) in gss_krb5int_set_allowable_enctypes() argument 92 if (ktypes) { in gss_krb5int_set_allowable_enctypes() 93 for (i = 0; i < num_ktypes && ktypes[i]; i++) { in gss_krb5int_set_allowable_enctypes() 94 if (!krb5_c_valid_enctype(ktypes[i])) { in gss_krb5int_set_allowable_enctypes() 112 memcpy(new_ktypes, ktypes, sizeof(krb5_enctype) * i); in gss_krb5int_set_allowable_enctypes()
|
H A D | krb5_gss_glue.c | 1227 krb5_enctype *ktypes) in gss_krb5_set_allowable_enctypes() argument 1236 num_ktypes, ktypes); in gss_krb5_set_allowable_enctypes() 1241 num_ktypes, ktypes); in gss_krb5_set_allowable_enctypes()
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_retr.c | 132 pref (krb5_enctype my_ktype, int nktypes, krb5_enctype *ktypes) in pref() argument 136 if (my_ktype == ktypes[i]) in pref() 205 krb5_creds *creds, int nktypes, krb5_enctype *ktypes) in krb5_cc_retrieve_cred_seq() argument 240 if (ktypes) { in krb5_cc_retrieve_cred_seq() 242 nktypes, ktypes); in krb5_cc_retrieve_cred_seq() 284 krb5_enctype *ktypes; in krb5_cc_retrieve_cred_default() local 289 ret = krb5_get_tgs_ktypes (context, mcreds->server, &ktypes); in krb5_cc_retrieve_cred_default() 293 while (ktypes[nktypes]) in krb5_cc_retrieve_cred_default() 297 nktypes, ktypes); in krb5_cc_retrieve_cred_default() 298 free (ktypes); in krb5_cc_retrieve_cred_default()
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | send_tgs.c | 135 const krb5_ticket_times *timestruct, const krb5_enctype *ktypes, in krb5_send_tgs() argument 142 timestruct, ktypes, in krb5_send_tgs() 157 const krb5_ticket_times *timestruct, const krb5_enctype *ktypes, in krb5_send_tgs2() argument 223 if (ktypes) { in krb5_send_tgs2() 225 for (tgsreq.nktypes = 0; ktypes[tgsreq.nktypes]; tgsreq.nktypes++) { in krb5_send_tgs2() 226 if (!krb5_c_valid_enctype(ktypes[tgsreq.nktypes])) in krb5_send_tgs2() 229 tgsreq.ktype = (krb5_enctype *)ktypes; in krb5_send_tgs2() 337 if (ktypes == NULL) in krb5_send_tgs2()
|
H A D | get_creds.c | 99 krb5_enctype *ktypes; in krb5_get_credentials_core() local 103 ret = krb5_get_tgs_ktypes (context, mcreds->server, &ktypes); in krb5_get_credentials_core() 104 for (i = 0; ktypes[i]; i++) in krb5_get_credentials_core() 105 if (ktypes[i] == mcreds->keyblock.enctype) in krb5_get_credentials_core() 107 if (ktypes[i] == 0) in krb5_get_credentials_core() 109 free (ktypes); in krb5_get_credentials_core()
|
H A D | gic_pwd.c | 517 krb5_flags options, krb5_address * const *addrs, krb5_enctype *ktypes, in krb5int_populate_gic_opt() argument 528 if (ktypes) { in krb5int_populate_gic_opt() 529 for (i=0; ktypes[i]; i++); in krb5int_populate_gic_opt() 531 krb5_get_init_creds_opt_set_etype_list(opt, ktypes, i); in krb5int_populate_gic_opt() 575 krb5_address *const *addrs, krb5_enctype *ktypes, in krb5_get_in_tkt_with_password() argument 601 options, addrs, ktypes, in krb5_get_in_tkt_with_password()
|
H A D | gic_keytab.c | 208 krb5_address *const *addrs, krb5_enctype *ktypes, in krb5_get_in_tkt_with_keytab() argument 221 options, addrs, ktypes, in krb5_get_in_tkt_with_keytab()
|
H A D | preauth2.c | 346 krb5_enctype *ktypes; in grow_ktypes() local 351 ktypes = malloc((*out_nktypes + 2) * sizeof(ktype)); in grow_ktypes() 352 if (ktypes) { in grow_ktypes() 354 ktypes[i] = (*out_ktypes)[i]; in grow_ktypes() 355 ktypes[i++] = ktype; in grow_ktypes() 356 ktypes[i] = 0; in grow_ktypes() 358 *out_ktypes = ktypes; in grow_ktypes()
|
H A D | get_in_tkt.c | 527 krb5_enctype * ktypes, in krb5_get_in_tkt() argument 600 if (ktypes) { in krb5_get_in_tkt() 602 for (req = 0; ktypes[req]; req++) { in krb5_get_in_tkt() 603 if (ktypes[req] == request.ktype[next]) { in krb5_get_in_tkt() 608 if (ktypes[req] == request.ktype[i]) { in krb5_get_in_tkt()
|
/titanic_50/usr/src/cmd/krb5/kadmin/cli/ |
H A D | keytab.c | 287 krb5_enctype *ptr, *ktypes = NULL; in add_principal() local 289 code = krb5_get_permitted_enctypes(context, &ktypes); in add_principal() 290 if (!code && ktypes && *ktypes) { in add_principal() 297 for (ptr = ktypes; *ptr; ptr++) nktypes++; in add_principal() 303 free(ktypes); in add_principal() 314 permitted_etypes[i].ks_enctype = ktypes[i]; in add_principal() 317 free(ktypes); in add_principal() 319 if (ktypes) in add_principal() 320 free(ktypes); in add_principal()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | kerberos5.c | 209 krb5_enctype *ktypes; in kerberos5_send() local 274 &ktypes))) { in kerberos5_send() 286 for (i = 0; ktypes[i]; i++) { in kerberos5_send() 287 if (ACCEPTED_ENCTYPE(ktypes[i])) in kerberos5_send() 291 if (ktypes[i] == 0) { in kerberos5_send() 304 creds.keyblock.enctype = ktypes[i]; in kerberos5_send()
|
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | gssapi_krb5.h | 214 krb5_enctype *ktypes);
|
H A D | gssapiP_krb5.h | 738 krb5_enctype *ktypes; member 751 krb5_enctype *ktypes);
|
H A D | k5-int.h | 1402 krb5_flags options, krb5_address * const *addrs, krb5_enctype *ktypes,
|
/titanic_50/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.h | 105 krb5_enctype *ktypes);
|