Home | History | Annotate | Download | only in os

Lines Matching refs:auth

204 XdmClientAuthDecode (const unsigned char *plain, XdmClientAuthPtr auth)
211 auth->rho.data[i] = plain[j];
216 auth->client[i] = plain[j];
219 auth->time = 0;
222 auth->time |= plain[j] << ((3 - i) << 3);
337 case 16: /* auth from files is 16 bytes long */
355 case 8: /* auth from XDMCP is 8 bytes long */
381 XdmAuthorizationPtr auth;
385 /* Auth packets must be a multiple of 8 bytes long */
391 for (auth = xdmAuth; auth; auth=auth->next) {
392 XdmcpUnwrap ((unsigned char *)cookie, (unsigned char *)&auth->key, plain, cookie_length);
393 if ((client = XdmAuthorizationValidate (plain, cookie_length, &auth->rho, xclient, reason)) != NULL)
398 return auth->id;
408 XdmAuthorizationPtr auth, next_auth;
411 for (auth = xdmAuth; auth; auth=next_auth)
413 next_auth = auth->next;
414 free(auth);
429 XdmAuthorizationPtr auth;
431 for (auth = xdmAuth; auth; auth=auth->next) {
432 if (id == auth->id) {
434 *datap = (char *) &auth->rho;
444 XdmAuthorizationPtr auth;
462 for (auth = xdmAuth; auth; auth=auth->next) {
463 if (XdmcpCompareKeys (rho_bits, &auth->rho) &&
464 XdmcpCompareKeys (key_bits, &auth->key))
466 xdmAuth = auth->next;
467 free(auth);