Home
last modified time | relevance | path

Searched refs:nktypes (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c132 pref (krb5_enctype my_ktype, int nktypes, krb5_enctype *ktypes) in pref() argument
135 for (i = 0; i < nktypes; i++) in pref()
205 krb5_creds *creds, int nktypes, krb5_enctype *ktypes) in krb5_cc_retrieve_cred_seq() argument
242 nktypes, ktypes); in krb5_cc_retrieve_cred_seq()
285 int nktypes; in krb5_cc_retrieve_cred_default() local
292 nktypes = 0; in krb5_cc_retrieve_cred_default()
293 while (ktypes[nktypes]) in krb5_cc_retrieve_cred_default()
294 nktypes++; in krb5_cc_retrieve_cred_default()
297 nktypes, ktypes); in krb5_cc_retrieve_cred_default()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dsend_tgs.c225 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()
235 for(tgsreq.nktypes = 0; tgsreq.ktype[tgsreq.nktypes]; tgsreq.nktypes++); in krb5_send_tgs2()
H A Dget_in_tkt.c296 if (is_in_keytype(request->ktype, request->nktypes, in decrypt_as_reply()
599 for (request.nktypes = 0;request.ktype[request.nktypes];request.nktypes++); in krb5_get_in_tkt()
607 for (i = next + 1; i < request.nktypes; i++) in krb5_get_in_tkt()
624 request.nktypes = next; in krb5_get_in_tkt()
1175 request.nktypes = options->etype_list_length; in krb5_get_init_creds()
1178 for (request.nktypes = 0; in krb5_get_init_creds()
1179 request.ktype[request.nktypes]; in krb5_get_init_creds()
1180 request.nktypes++) in krb5_get_init_creds()
H A Dpreauth2.c489 grow_ktypes(&request->ktype, &request->nktypes, in krb5_preauth_prepare_request()
1566 !etype_found && k < request->nktypes; k++) { in krb5_do_preauth()
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c269 int nktypes = 0; in add_principal() local
297 for (ptr = ktypes; *ptr; ptr++) nktypes++; in add_principal()
301 sizeof (krb5_key_salt_tuple) * nktypes); in add_principal()
313 for (i = 0; i < nktypes; i++) { in add_principal()
325 nktypes = n_ks_tuple; in add_principal()
329 keepold, nktypes, permitted_etypes, in add_principal()
354 if (nktypes) { in add_principal()
360 for (i = 1; i < nktypes; i++) { in add_principal()
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.h104 int nktypes,
114 ktypes2str(char *s, size_t len, int nktypes, krb5_enctype *ktype);
H A Dkdc_util.c1432 int nktypes, krb5_enctype *ktype) in select_session_keytype() argument
1436 for (i = 0; i < nktypes; i++) { in select_session_keytype()
1534 ktypes2str(char *s, size_t len, int nktypes, krb5_enctype *ktype) in ktypes2str() argument
1540 if (nktypes < 0 in ktypes2str()
1546 sprintf(s, "%d etypes {", nktypes); in ktypes2str()
1547 for (i = 0; i < nktypes; i++) { in ktypes2str()
1553 if (i < nktypes) { in ktypes2str()
H A Ddo_as_req.c100 request->nktypes, request->ktype); in process_as_req()
186 request->nktypes, in process_as_req()
368 for (i = 0; i < request->nktypes; i++) { in process_as_req()
H A Dkdc_preauth.c603 keys = malloc(sizeof(krb5_keyblock) * (request->nktypes + 1)); in get_entry_data()
609 ret->length = sizeof(krb5_keyblock) * (request->nktypes + 1); in get_entry_data()
612 for (i = 0; i < request->nktypes; i++) { in get_entry_data()
1228 for (i =0; i < request->nktypes; i++) in request_contains_enctype()
1490 for (i=0; i < request->nktypes; i++) { in get_etype_info()
1529 for (i = 0; i < request->nktypes; i++) { in etype_info_as_rep_helper()
1634 for (i = 0; i < request->nktypes; i++) { in return_pw_salt()
H A Ddo_tgs_req.c108 request->nktypes, request->ktype); in process_tgs_req()
256 for (i = 0; i < request->nktypes; i++) { in process_tgs_req()
269 request->nktypes, in process_tgs_req()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c815 unsigned int nktypes, in copy_ktypes() argument
822 if (!nktypes) in copy_ktypes()
825 *newktypes = MALLOC(nktypes * sizeof(krb5_enctype)); in copy_ktypes()
828 for (i = 0; i < nktypes; i++) in copy_ktypes()
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_srv.c736 for(i = 0; i < request->nktypes; i++) { in pkinit_server_return_padata()
746 if (i == request->nktypes) { in pkinit_server_return_padata()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.c655 get_lenfield(val->nktypes,val->ktype,8,asn1_decode_sequence_of_enctype); in asn1_decode_kdc_req_body()
H A Dasn1_k_encode.c298 FIELDOF_SEQOF_INT32(struct kdc_req_hack, int32_ptr, v.ktype, v.nktypes, 8),
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dkrb5.h1157 int nktypes; /* # of ktypes, must be positive */ member