Lines Matching refs:kcontext
103 krb5_init_preauth_context(krb5_context kcontext)
114 if (kcontext->preauth_context != NULL)
118 if (PLUGIN_DIR_OPEN(&kcontext->preauth_plugins) == 0) {
119 if (open_preauth_plugin_dirs(kcontext) != 0)
125 if (krb5int_get_plugin_dir_data(&kcontext->preauth_plugins,
128 &kcontext->err) != 0) {
170 ((*table->init)(kcontext, &plugin_context) != 0)) {
191 context->modules[k].flags = (*table->flags)(kcontext, pa_type);
230 kcontext->preauth_context = context;
442 client_data_proc(krb5_context kcontext,
492 retval = krb5_copy_keyblock(kcontext, rock->fast_state->armor_key,
511 krb5_free_keyblock(kcontext, (krb5_keyblock *) ret->data);
525 krb5_preauth_prepare_request(krb5_context kcontext,
531 if (kcontext->preauth_context == NULL) {
537 for (i = 0; i < kcontext->preauth_context->n_modules; i++) {
538 if (kcontext->preauth_context->modules[i].enctypes == NULL)
540 for (j = 0; kcontext->preauth_context->modules[i].enctypes[j] != 0; j++) {
542 kcontext->preauth_context->modules[i].enctypes[j]);
552 run_preauth_plugins(krb5_context kcontext,
577 if (kcontext->preauth_context == NULL) {
581 for (i = 0; i < kcontext->preauth_context->n_modules; i++) {
582 module = &kcontext->preauth_context->modules[i];
606 ret = module->client_process(kcontext,
634 if (i >= kcontext->preauth_context->n_modules) {
1822 krb5_do_preauth_tryagain(krb5_context kcontext,
1845 if (kcontext->preauth_context == NULL) {
1848 context = kcontext->preauth_context;
1863 if ((*module->client_tryagain)(kcontext,