Wrap.h revision ff559fab
1/* $XdotOrg: xc/lib/Xdmcp/Wrap.h,v 1.5 2004/08/22 01:02:25 jg Exp $ */
2/* $Xorg: Wrap.h,v 1.3 2000/08/17 19:45:50 cpqbld Exp $ */
3/*
4 * header file for compatibility with something useful
5 */
6
7/* $XFree86: xc/lib/Xdmcp/Wrap.h,v 1.3 2001/01/17 19:42:44 dawes Exp $ */
8
9typedef unsigned char auth_cblock[8];	/* block size */
10
11typedef struct auth_ks_struct { auth_cblock _; } auth_wrapper_schedule[16];
12
13extern void _XdmcpWrapperToOddParity (unsigned char *in, unsigned char *out);
14
15#ifdef HASXDMAUTH
16extern void _XdmcpAuthSetup (auth_cblock key, auth_wrapper_schedule schedule);
17extern void _XdmcpAuthDoIt (auth_cblock input, auth_cblock output,
18	auth_wrapper_schedule schedule, int edflag);
19#endif
20