Lines Matching defs:mcreds

69 standard_fields_match(krb5_context context, const krb5_creds *mcreds, const krb5_creds *creds)
71 return (krb5_principal_compare(context, mcreds->client,creds->client)
72 && krb5_principal_compare(context, mcreds->server,creds->server));
78 srvname_match(krb5_context context, const krb5_creds *mcreds, const krb5_creds *creds)
83 retval = krb5_principal_compare(context, mcreds->client,creds->client);
89 p1 = *mcreds->server;
147 * Searches the credentials cache for a credential matching mcreds,
157 * requires only the set bits in mcreds be set in creds;
173 krb5int_cc_creds_match_request(krb5_context context, krb5_flags whichfields, krb5_creds *mcreds, krb5_creds *creds)
176 srvname_match(context, mcreds, creds)) ||
177 standard_fields_match(context, mcreds, creds))
180 mcreds->is_skey == creds->is_skey)
183 mcreds->ticket_flags == creds->ticket_flags)
186 flags_match(mcreds->ticket_flags, creds->ticket_flags))
189 times_match_exact(&mcreds->times, &creds->times))
192 times_match(&mcreds->times, &creds->times))
195 authdata_match(mcreds->authdata, creds->authdata))
198 data_match (&mcreds->second_ticket, &creds->second_ticket))
201 (mcreds->keyblock.enctype == creds->keyblock.enctype)))
208 krb5_flags whichfields, krb5_creds *mcreds,
242 if (krb5int_cc_creds_match_request(context, whichfields, mcreds, &fetchcreds))
286 krb5_cc_retrieve_cred_default (krb5_context context, krb5_ccache id, krb5_flags flags, krb5_creds *mcreds, krb5_creds *creds)
293 ret = krb5_get_tgs_ktypes (context, mcreds->server, &ktypes);
298 ret = krb5_cc_retrieve_cred_seq (context, id, flags, mcreds, creds,
303 return krb5_cc_retrieve_cred_seq (context, id, flags, mcreds, creds,