Lines Matching defs:auth
112 Authenticator auth;
119 memset(&auth, 0, sizeof(auth));
121 auth.authenticator_vno = 5;
122 ret = copy_Realm(&cred->client->realm, &auth.crealm);
125 ret = copy_PrincipalName(&cred->client->name, &auth.cname);
129 krb5_us_timeofday (context, &auth.ctime, &auth.cusec);
131 ret = krb5_auth_con_getlocalsubkey(context, auth_context, &auth.subkey);
140 ALLOC(auth.seq_number, 1);
141 if(auth.seq_number == NULL) {
145 *auth.seq_number = auth_context->local_seqnumber;
147 auth.seq_number = NULL;
148 auth.authorization_data = NULL;
151 ALLOC(auth.cksum, 1);
152 if (auth.cksum == NULL) {
156 ret = copy_Checksum(cksum, auth.cksum);
160 if (auth.cksum->cksumtype == CKSUMTYPE_GSSAPI) {
165 ret = make_etypelist(context, &auth.authorization_data);
173 auth_context->authenticator->ctime = auth.ctime;
174 auth_context->authenticator->cusec = auth.cusec;
176 ASN1_MALLOC_ENCODE(Authenticator, buf, buf_size, &auth, &len, ret);
197 free_Authenticator (&auth);