Lines Matching defs:auth
113 Authenticator auth;
120 memset(&auth, 0, sizeof(auth));
122 auth.authenticator_vno = 5;
123 copy_Realm(&cred->client->realm, &auth.crealm);
124 copy_PrincipalName(&cred->client->name, &auth.cname);
126 krb5_us_timeofday (context, &auth.ctime, &auth.cusec);
128 ret = krb5_auth_con_getlocalsubkey(context, auth_context, &auth.subkey);
137 ALLOC(auth.seq_number, 1);
138 if(auth.seq_number == NULL) {
142 *auth.seq_number = auth_context->local_seqnumber;
144 auth.seq_number = NULL;
145 auth.authorization_data = NULL;
148 ALLOC(auth.cksum, 1);
149 if (auth.cksum == NULL) {
153 ret = copy_Checksum(cksum, auth.cksum);
157 if (auth.cksum->cksumtype == CKSUMTYPE_GSSAPI) {
162 ret = make_etypelist(context, &auth.authorization_data);
170 auth_context->authenticator->ctime = auth.ctime;
171 auth_context->authenticator->cusec = auth.cusec;
173 ASN1_MALLOC_ENCODE(Authenticator, buf, buf_size, &auth, &len, ret);
194 free_Authenticator (&auth);