diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:11 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-26 22:49:11 +0000 |
commit | 90bb927330a88d3ae026b10ec5419cd3348b4f81 (patch) | |
tree | f3632f73afb5aba51d9d7168eae10a9bab6344d0 /dm_auth.h | |
parent | 5ff0e2bd4b76abb1cd1827c8294843ab0c4fe686 (diff) |
merge latest (4.3.99.16) from XFree86 (vendor) branch
Diffstat (limited to 'dm_auth.h')
-rw-r--r-- | dm_auth.h | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * $XFree86: xc/programs/xdm/dm_auth.h,v 1.2 2000/05/31 07:15:11 eich Exp $ + * $XFree86: xc/programs/xdm/dm_auth.h,v 1.4 2003/10/27 21:39:06 herrb Exp $ */ /************************************************************ @@ -50,6 +50,9 @@ extern void XdmGetXdmcpAuth ( struct protoDisplay *pdpy, unsigned short authorizationNameLen, char *authorizationName); +extern int XdmCheckAuthentication (struct protoDisplay *pdpy, + ARRAY8Ptr displayID, ARRAY8Ptr authenticationName, + ARRAY8Ptr authenticationData); #else #define XdmGetXdmcpAuth NULL #endif @@ -87,6 +90,14 @@ extern void SetLocalAuthorization (struct display *d); extern void SetUserAuthorization (struct display *d, struct verify_info *verify); /* genauth.c */ -extern void GenerateAuthData (char *auth, int len); +extern int GenerateAuthData (char *auth, int len); +#if !defined(ARC4_RANDOM) +extern void AddPreGetEntropy (void); +extern void AddOtherEntropy (void); +extern void AddTimerEntropy (void); +#endif + +/* prngc.c */ +extern int get_prngd_bytes(char *, int, unsigned short, char *); #endif /* _DM_AUTH_H_ */ |