Lines Matching defs:auth_context
43 krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *outbuf)
52 if (((auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_DO_SEQUENCE) ||
53 (auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_RET_SEQUENCE)) &&
54 (auth_context->local_seq_number == 0)) {
55 if ((retval = krb5_generate_seq_number(context, auth_context->keyblock,
56 &auth_context->local_seq_number)))
60 repl.ctime = auth_context->authentp->ctime;
61 repl.cusec = auth_context->authentp->cusec;
62 if (auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_USE_SUBKEY) {
63 retval = krb5int_generate_and_save_subkey (context, auth_context,
64 auth_context->keyblock);
67 repl.subkey = auth_context->send_subkey;
69 repl.subkey = auth_context->authentp->subkey;
70 repl.seq_number = auth_context->local_seq_number;
76 if ((retval = krb5_encrypt_helper(context, auth_context->keyblock,