Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dcreds.c208 krb5_compare_creds(krb5_context context, krb5_flags whichfields, in krb5_compare_creds() argument
214 if (whichfields & (KRB5_TC_DONT_MATCH_REALM | KRB5_TC_MATCH_SRV_NAMEONLY)) in krb5_compare_creds()
223 if(whichfields & KRB5_TC_DONT_MATCH_REALM) in krb5_compare_creds()
231 if (match && (whichfields & KRB5_TC_MATCH_KEYTYPE)) in krb5_compare_creds()
234 if (match && (whichfields & KRB5_TC_MATCH_FLAGS_EXACT)) in krb5_compare_creds()
237 if (match && (whichfields & KRB5_TC_MATCH_FLAGS)) in krb5_compare_creds()
240 if (match && (whichfields & KRB5_TC_MATCH_TIMES_EXACT)) in krb5_compare_creds()
243 if (match && (whichfields & KRB5_TC_MATCH_TIMES)) in krb5_compare_creds()
248 if (match && (whichfields & KRB5_TC_MATCH_AUTHDATA)) { in krb5_compare_creds()
259 if (match && (whichfields & KRB5_TC_MATCH_2ND_TKT)) in krb5_compare_creds()
[all …]
H A Dcache.c789 krb5_flags whichfields, in krb5_cc_retrieve_cred() argument
797 return (*id->ops->retrieve)(context, id, whichfields, in krb5_cc_retrieve_cred()
805 if(krb5_compare_creds(context, whichfields, mcreds, creds)){ in krb5_cc_retrieve_cred()
/netbsd-src/crypto/external/bsd/heimdal/dist/kuser/
H A Dcopy_cred_cache.c72 krb5_flags whichfields; member
80 if (krb5_compare_creds(context, ctx->whichfields, &ctx->mcreds, creds)) in matchfunc()
106 ctx.whichfields |= KRB5_TC_MATCH_KEYTYPE; in copy_cred_cache()
111 ctx.whichfields |= KRB5_TC_MATCH_FLAGS; in copy_cred_cache()
119 ctx.whichfields |= KRB5_TC_MATCH_TIMES; in copy_cred_cache()
/netbsd-src/crypto/external/bsd/heimdal/dist/kcm/
H A Dcache.c575 krb5_flags whichfields, in kcm_ccache_remove_cred_internal() argument
584 if (krb5_compare_creds(context, whichfields, mcreds, &(*c)->cred)) { in kcm_ccache_remove_cred_internal()
602 krb5_flags whichfields, in kcm_ccache_remove_cred() argument
610 ret = kcm_ccache_remove_cred_internal(context, ccache, whichfields, mcreds); in kcm_ccache_remove_cred()
619 krb5_flags whichfields, in kcm_ccache_retrieve_cred_internal() argument
633 match = krb5_compare_creds(context, whichfields, mcreds, &c->cred); in kcm_ccache_retrieve_cred_internal()
649 krb5_flags whichfields, in kcm_ccache_retrieve_cred() argument
659 whichfields, mcreds, credp); in kcm_ccache_retrieve_cred()
H A Devents.c180 krb5_flags whichfields; in is_primary_credential_p() local
193 whichfields = KRB5_TC_MATCH_KEYTYPE | KRB5_TC_MATCH_FLAGS_EXACT | in is_primary_credential_p()
197 return krb5_compare_creds(context, whichfields, newcred, &ccache->creds->cred); in is_primary_credential_p()
H A Dprotocol.c549 uint32_t whichfields; in kcm_op_remove_cred() local
561 ret = krb5_ret_uint32(request, &whichfields); in kcm_op_remove_cred()
581 ret = kcm_ccache_remove_cred(context, ccache, whichfields, &mcreds); in kcm_op_remove_cred()