Lines Matching refs: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;
147 auth.authorization_data = calloc(1, sizeof(*auth.authorization_data));
148 if (auth.authorization_data == NULL) {
152 ret = copy_AuthorizationData(auth.authorization_data, auth_context->auth_data);
157 auth.authorization_data = NULL;
161 ALLOC(auth.cksum, 1);
162 if (auth.cksum == NULL) {
166 ret = copy_Checksum(cksum, auth.cksum);
170 if (auth.cksum->cksumtype == CKSUMTYPE_GSSAPI) {
175 ret = make_etypelist(context, &auth.authorization_data);
183 auth_context->authenticator->ctime = auth.ctime;
184 auth_context->authenticator->cusec = auth.cusec;
186 ASN1_MALLOC_ENCODE(Authenticator, buf, buf_size, &auth, &len, ret);
207 free_Authenticator (&auth);