Lines Matching defs:auth_context

97 rd_and_store_for_creds(context, auth_context, inbuf, out_cred)
99 krb5_auth_context auth_context;
113 if ((retval = krb5_auth_con_getflags(context, auth_context, &flags_org)))
115 krb5_auth_con_setflags(context, auth_context,
121 * auth_context contains a pointer to the session key, and the
140 if ((retval = krb5_rd_cred(context, auth_context, inbuf, &creds, NULL))) {
146 if (auth_context->keyblock != NULL)
147 enctype = auth_context->keyblock->enctype;
255 krb5_auth_con_setflags(context, auth_context, flags_org);
305 krb5_auth_context auth_context = NULL;
543 /* verify the AP_REQ message - setup the auth_context and rcache */
545 if ((code = krb5_auth_con_init(context, &auth_context))) {
554 (void) krb5_auth_con_setflags(context, auth_context,
559 if ((code = krb5_auth_con_setrcache(context, auth_context, cred->rcache))) {
567 if ((code = krb5_auth_con_setaddrs(context, auth_context, NULL, paddr))) {
575 if ((code = krb5_rd_req_decoded(context, &auth_context, request,
613 krb5_auth_con_setflags(context, auth_context,
617 code = krb5_auth_con_getauthenticator(context, auth_context, &authdat);
785 code = rd_and_store_for_creds(context, auth_context, &option,
837 ctx->auth_context = auth_context;
885 if ((code = krb5_auth_con_getrecvsubkey(context, auth_context,
897 if ((code = krb5_auth_con_getkey(context, auth_context,
995 krb5_auth_con_getremoteseqnumber(context, auth_context,
1032 code = krb5_auth_con_getflags(context, auth_context, &acflags);
1035 code = krb5_auth_con_setflags(context, auth_context, acflags);
1043 if ((code = krb5_mk_rep(context, auth_context, &ap_rep))) {
1048 krb5_auth_con_getlocalseqnumber(context, auth_context,
1055 code = krb5_auth_con_getsendsubkey(context, auth_context,
1169 /* The ctx structure has the handle of the auth_context */
1170 if (auth_context && !ctx) {
1172 (void)krb5_auth_con_setrcache(context, auth_context, NULL);
1174 krb5_auth_con_free(context, auth_context);