Lines Matching defs:auth_context

90 krb5_mk_req_extended(krb5_context context, krb5_auth_context *auth_context,
123 /* generate auth_context if needed */
124 if (*auth_context == NULL) {
127 *auth_context = new_auth_context;
130 if ((*auth_context)->key != NULL) {
131 krb5_k_free_key(context, (*auth_context)->key);
132 (*auth_context)->key = NULL;
137 &((*auth_context)->key))))
141 if ((((*auth_context)->auth_context_flags & KRB5_AUTH_CONTEXT_DO_SEQUENCE)
142 || ((*auth_context)->auth_context_flags & KRB5_AUTH_CONTEXT_RET_SEQUENCE))
143 && ((*auth_context)->local_seq_number == 0))
145 &(*auth_context)->local_seq_number)))
149 if ((ap_req_options & AP_OPTS_USE_SUBKEY)&&(!(*auth_context)->send_subkey)) {
150 retval = krb5int_generate_and_save_subkey (context, *auth_context,
158 if (!in_data && (*auth_context)->checksum_func) {
159 retval = (*auth_context)->checksum_func( context,
160 *auth_context,
161 (*auth_context)->checksum_func_data,
168 (*auth_context)->authentp = NULL;
171 if ((*auth_context)->req_cksumtype == 0x8003) {
178 (*auth_context)->key);
184 if ((*auth_context)->req_cksumtype)
185 cksumtype = (*auth_context)->req_cksumtype;
188 (*auth_context)->key,
197 if (((*auth_context)->authentp = (krb5_authenticator *)malloc(sizeof(
204 if ((*auth_context)->permitted_etypes == NULL) {
209 desired_etypes = (*auth_context)->permitted_etypes;
213 (*auth_context)->authentp,
215 (*auth_context)->send_subkey,
216 (*auth_context)->local_seq_number,
218 (*auth_context)->ad_context,
224 if ((retval = encode_krb5_authenticator((*auth_context)->authentp,
239 (*auth_context)->authentp, request.ticket);
249 if ((*auth_context)->authentp != NULL) {
250 (*auth_context)->authentp->client = NULL;
251 (*auth_context)->authentp->checksum = NULL;
258 desired_etypes != (*auth_context)->permitted_etypes)