Lines Matching defs:preauth_systems
270 static krb5_preauth_systems *preauth_systems;
327 preauth_systems = malloc(sizeof(krb5_preauth_systems) * (module_count + 1));
328 if (preauth_systems == NULL) {
351 preauth_systems[k] = static_preauth_systems[i];
358 memset(&preauth_systems[k], 0, sizeof(preauth_systems[k]));
361 preauth_systems[k].plugin_context = plugin_context;
396 memset(&preauth_systems[k], 0, sizeof(preauth_systems[k]));
402 preauth_systems[k].name = ftable->name;
403 preauth_systems[k].type = ftable->pa_type_list[j];
405 preauth_systems[k].flags = ftable->flags_proc(context, preauth_systems[k].type);
407 preauth_systems[k].flags = 0;
408 preauth_systems[k].plugin_context = plugin_context;
409 preauth_systems[k].init = server_init_proc;
412 preauth_systems[k].fini = ftable->fini_proc;
414 preauth_systems[k].fini = NULL;
415 preauth_systems[k].get_edata = ftable->edata_proc;
416 preauth_systems[k].verify_padata = ftable->verify_proc;
417 preauth_systems[k].return_padata = ftable->return_proc;
418 preauth_systems[k].free_pa_reqctx =
428 preauth_systems[k].name = "[end]";
429 preauth_systems[k].type = -1;
437 if (preauth_systems != NULL) {
439 if (preauth_systems[i].fini != NULL) {
440 (*preauth_systems[i].fini)(context,
441 preauth_systems[i].plugin_context);
443 memset(&preauth_systems[i], 0, sizeof(preauth_systems[i]));
445 free(preauth_systems);
446 preauth_systems = NULL;
487 ret->contexts[i].pa_system = &preauth_systems[i];
654 ap = preauth_systems ? preauth_systems : static_preauth_systems;
686 * Create a list of indices into the preauth_systems array, sorted by order of
707 if (preauth_systems[j].return_padata != NULL)
717 if (preauth_systems[pa_order[i]].flags & PA_REPLACES_KEY)
722 if (preauth_systems[pa_order[j]].flags & PA_REPLACES_KEY) {
735 for (i = 0; preauth_systems[pa_order[i]].flags & PA_REPLACES_KEY; i++) {
741 preauth_systems[pa_order[i]].type))
745 preauth_systems[pa_order[j]].type)) {
757 if (preauth_systems[i].return_padata != NULL)
758 krb5_klog_syslog(LOG_DEBUG, "... %s(%d)", preauth_systems[i].name,
759 preauth_systems[i].type);
764 preauth_systems[pa_order[i]].name,
765 preauth_systems[pa_order[i]].type);
827 for (ap = preauth_systems; ap->type != -1; ap++) {
1122 for (ap = preauth_systems; ap->type != -1; ap++) {
1148 ap = &preauth_systems[*pa_type];