Lines Matching defs:auth_context
77 k5_mk_rep(krb5_context context, krb5_auth_context auth_context,
87 if (((auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_DO_SEQUENCE) ||
88 (auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_RET_SEQUENCE)) &&
89 (auth_context->local_seq_number == 0)) {
91 &auth_context->key->keyblock,
92 &auth_context->local_seq_number)))
99 repl.ctime = auth_context->authentp->ctime;
100 repl.cusec = auth_context->authentp->cusec;
105 else if (auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_USE_SUBKEY) {
106 assert(auth_context->negotiated_etype != ENCTYPE_NULL);
108 retval = krb5int_generate_and_save_subkey (context, auth_context,
109 &auth_context->key->keyblock,
110 auth_context->negotiated_etype);
113 repl.subkey = &auth_context->send_subkey->keyblock;
115 repl.subkey = auth_context->authentp->subkey;
118 repl.seq_number = auth_context->remote_seq_number;
120 repl.seq_number = auth_context->local_seq_number;
126 if ((retval = krb5_encrypt_keyhelper(context, auth_context->key,
151 krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf)
153 return k5_mk_rep(context, auth_context, outbuf, 0);
157 krb5_mk_rep_dce(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf)
159 return k5_mk_rep(context, auth_context, outbuf, 1);