Home
last modified time | relevance | path

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

/freebsd/crypto/krb5/src/lib/krb5/ccache/
H A Dcc_retr.c58 princs_match(krb5_context context, krb5_flags whichfields, in princs_match() argument
66 if (whichfields & KRB5_TC_MATCH_SRV_NAMEONLY) { in princs_match()
152 krb5int_cc_creds_match_request(krb5_context context, krb5_flags whichfields, in krb5int_cc_creds_match_request() argument
157 if (!princs_match(context, whichfields, mcreds, creds)) in krb5int_cc_creds_match_request()
162 is_skey = (whichfields & KRB5_TC_MATCH_IS_SKEY) ? mcreds->is_skey : FALSE; in krb5int_cc_creds_match_request()
166 if ((whichfields & KRB5_TC_MATCH_FLAGS_EXACT) && in krb5int_cc_creds_match_request()
169 if ((whichfields & KRB5_TC_MATCH_FLAGS) && in krb5int_cc_creds_match_request()
173 if ((whichfields & KRB5_TC_MATCH_TIMES_EXACT) && in krb5int_cc_creds_match_request()
176 if ((whichfields & KRB5_TC_MATCH_TIMES) && in krb5int_cc_creds_match_request()
180 if ((whichfields & KRB5_TC_MATCH_AUTHDATA) && in krb5int_cc_creds_match_request()
[all …]
H A Dcc_memory.c65 krb5_flags whichfields ,
624 krb5_mcc_retrieve(krb5_context context, krb5_ccache id, krb5_flags whichfields, in krb5_mcc_retrieve() argument
627 return k5_cc_retrieve_cred_default(context, id, whichfields, mcreds, in krb5_mcc_retrieve()
H A Dcc-int.h46 krb5int_cc_creds_match_request(krb5_context, krb5_flags whichfields, krb5_creds *mcreds, krb5_creds…
H A Dcc_mslsa.c1464 (krb5_context, krb5_ccache id, krb5_flags whichfields,
1484 krb5int_cc_creds_match_request(krb5_context, krb5_flags whichfields, krb5_creds *mcreds, krb5_creds…
1937 krb5_lcc_retrieve(krb5_context context, krb5_ccache id, krb5_flags whichfields, in krb5_lcc_retrieve() argument
1951 kret = k5_cc_retrieve_cred_default(context, id, whichfields, mcreds, in krb5_lcc_retrieve()
1970 kret = k5_cc_retrieve_cred_default(context, id, whichfields, mcreds, in krb5_lcc_retrieve()
2028 if ( krb5int_cc_creds_match_request(context, whichfields, mcreds, &fetchcreds) ) { in krb5_lcc_retrieve()
H A Dcc_api_macos.c366 krb5_flags whichfields, krb5_creds *mcreds, in api_macos_retrieve() argument
369 return k5_cc_retrieve_cred_default(context, cache, whichfields, in api_macos_retrieve()
H A Dcc_file.c977 fcc_retrieve(krb5_context context, krb5_ccache id, krb5_flags whichfields, in fcc_retrieve() argument
982 ret = k5_cc_retrieve_cred_default(context, id, whichfields, mcreds, creds); in fcc_retrieve()
H A Dcc_keyring.c1242 krb5_flags whichfields, krb5_creds *mcreds, in krcc_retrieve() argument
1245 return k5_cc_retrieve_cred_default(context, id, whichfields, mcreds, in krcc_retrieve()
/freebsd/crypto/heimdal/lib/krb5/
H A Dcreds.c209 krb5_compare_creds(krb5_context context, krb5_flags whichfields, in krb5_compare_creds() argument
215 if (whichfields & (KRB5_TC_DONT_MATCH_REALM | KRB5_TC_MATCH_SRV_NAMEONLY)) in krb5_compare_creds()
224 if(whichfields & KRB5_TC_DONT_MATCH_REALM) in krb5_compare_creds()
232 if (match && (whichfields & KRB5_TC_MATCH_KEYTYPE)) in krb5_compare_creds()
235 if (match && (whichfields & KRB5_TC_MATCH_FLAGS_EXACT)) in krb5_compare_creds()
238 if (match && (whichfields & KRB5_TC_MATCH_FLAGS)) in krb5_compare_creds()
241 if (match && (whichfields & KRB5_TC_MATCH_TIMES_EXACT)) in krb5_compare_creds()
244 if (match && (whichfields & KRB5_TC_MATCH_TIMES)) in krb5_compare_creds()
249 if (match && (whichfields & KRB5_TC_MATCH_AUTHDATA)) { in krb5_compare_creds()
260 if (match && (whichfields & KRB5_TC_MATCH_2ND_TKT)) in krb5_compare_creds()
[all …]
H A Dcache.c711 krb5_flags whichfields, in krb5_cc_retrieve_cred() argument
719 return (*id->ops->retrieve)(context, id, whichfields, in krb5_cc_retrieve_cred()
727 if(krb5_compare_creds(context, whichfields, mcreds, creds)){ in krb5_cc_retrieve_cred()
/freebsd/crypto/heimdal/kuser/
H A Dcopy_cred_cache.c70 krb5_flags whichfields; member
78 if (krb5_compare_creds(context, ctx->whichfields, &ctx->mcreds, creds)) in matchfunc()
104 ctx.whichfields |= KRB5_TC_MATCH_KEYTYPE; in copy_cred_cache()
109 ctx.whichfields |= KRB5_TC_MATCH_FLAGS; in copy_cred_cache()
116 ctx.whichfields |= KRB5_TC_MATCH_TIMES; in copy_cred_cache()
/freebsd/crypto/heimdal/kcm/
H A Dcache.c569 krb5_flags whichfields, in kcm_ccache_remove_cred_internal() argument
578 if (krb5_compare_creds(context, whichfields, mcreds, &(*c)->cred)) { in kcm_ccache_remove_cred_internal()
596 krb5_flags whichfields, in kcm_ccache_remove_cred() argument
604 ret = kcm_ccache_remove_cred_internal(context, ccache, whichfields, mcreds); in kcm_ccache_remove_cred()
613 krb5_flags whichfields, in kcm_ccache_retrieve_cred_internal() argument
627 match = krb5_compare_creds(context, whichfields, mcreds, &c->cred); in kcm_ccache_retrieve_cred_internal()
643 krb5_flags whichfields, in kcm_ccache_retrieve_cred() argument
653 whichfields, mcreds, credp); in kcm_ccache_retrieve_cred()
H A Devents.c178 krb5_flags whichfields; in is_primary_credential_p() local
191 whichfields = KRB5_TC_MATCH_KEYTYPE | KRB5_TC_MATCH_FLAGS_EXACT | in is_primary_credential_p()
195 return krb5_compare_creds(context, whichfields, newcred, &ccache->creds->cred); in is_primary_credential_p()
H A Dprotocol.c547 uint32_t whichfields; in kcm_op_remove_cred() local
559 ret = krb5_ret_uint32(request, &whichfields); in kcm_op_remove_cred()
579 ret = kcm_ccache_remove_cred(context, ccache, whichfields, &mcreds); in kcm_op_remove_cred()
/freebsd/crypto/krb5/src/lib/krb5/ccache/ccapi/
H A Dstdcc.c563 krb5_flags whichfields, in krb5_stdccv3_retrieve() argument
567 return k5_cc_retrieve_cred_default(context, id, whichfields, mcreds, in krb5_stdccv3_retrieve()
764 krb5_flags whichfields, in krb5_stdccv3_remove() argument
794 whichfields, in krb5_stdccv3_remove()
H A Dstdcc.h63 krb5_flags whichfields ,