Lines Matching defs:auth_context

81 				  krb5_auth_context auth_context,
106 if (auth_context->send_subkey != NULL) {
107 krb5_free_keyblock(context, auth_context->send_subkey);
108 auth_context->send_subkey = NULL;
111 if ((retval = krb5_generate_subkey(context, keyblock, &auth_context->send_subkey)))
115 if (auth_context->recv_subkey != NULL) {
116 krb5_free_keyblock(context, auth_context->recv_subkey);
117 auth_context->recv_subkey = NULL;
119 retval = krb5_copy_keyblock(context, auth_context->send_subkey,
120 &auth_context->recv_subkey);
122 krb5_free_keyblock(context, auth_context->send_subkey);
123 auth_context->send_subkey = NULL;
130 krb5_mk_req_extended(krb5_context context, krb5_auth_context *auth_context,
158 /* generate auth_context if needed */
159 if (*auth_context == NULL) {
162 *auth_context = new_auth_context;
165 if ((*auth_context)->keyblock != NULL) {
166 krb5_free_keyblock(context, (*auth_context)->keyblock);
167 (*auth_context)->keyblock = NULL;
172 &((*auth_context)->keyblock))))
176 if ((((*auth_context)->auth_context_flags & KRB5_AUTH_CONTEXT_DO_SEQUENCE)
177 || ((*auth_context)->auth_context_flags & KRB5_AUTH_CONTEXT_RET_SEQUENCE))
178 && ((*auth_context)->local_seq_number == 0))
180 &(*auth_context)->local_seq_number)))
185 if (!in_data &&(*auth_context)->checksum_func) {
186 retval = (*auth_context)->checksum_func( context,
187 *auth_context,
188 (*auth_context)->checksum_func_data,
194 if ((ap_req_options & AP_OPTS_USE_SUBKEY)&&(!(*auth_context)->send_subkey)) {
195 retval = krb5int_generate_and_save_subkey (context, *auth_context,
204 if ((*auth_context)->req_cksumtype == 0x8003) {
211 (*auth_context)->req_cksumtype,
212 (*auth_context)->keyblock,
221 if (((*auth_context)->authentp = (krb5_authenticator *)malloc(sizeof(
228 (*auth_context)->authentp,
230 (*auth_context)->send_subkey,
231 (*auth_context)->local_seq_number,
236 if ((retval = encode_krb5_authenticator((*auth_context)->authentp,
243 (*auth_context)->authentp->client = NULL;
244 (*auth_context)->authentp->checksum = NULL;
245 (*auth_context)->authentp->authorization_data = NULL;