File au/AU_util.c

  $Revision: 1.21 $

Authentication utilities
Status: NOT REVIEWED, TESTED
Author(s): Engin Gunduz

Included Files


Global Variable Lock

pthread_mutex_t Lock
Included from /home/shane/release/RIP/include/ca_defs.h
Visible in:  aa/aa.c
   ac/ac_persistence.c
   ac/access_control.c
   au/AU_util.c

External Variables

tracing
extern int tracing

authmethods
extern char* authmethods[]


Global Function AU_authorise()

int AU_authorise ( GSList* auth_vector, credentials_struct credentials )
Prototyped in: au/AU_util.h
Calls: au_check_PGPkey()au/AU_util.c
  au_check_crypt_MD5_password()au/AU_util.c
  au_check_from_address()au/AU_util.c
  au_check_password()au/AU_util.c
  au_is_valid_authmethod()au/AU_util.c
  g_slist_length()

Global Function AU_crypt()

char* AU_crypt ( const char* key, const char* setting )
Prototyped in: au/AU_util.h
Calls: crypt()

Global Function au_check_MD5_password()

int au_check_MD5_password ( char* MD5_password, GSList* password_list )
Calls: MD5Final(), MD5Init(), MD5Update(), printf(), strlen(), strncmp()
References Variables: tracing

Global Function au_check_PGPkey()

int au_check_PGPkey ( char* auth_pgpkeyID, GSList* mesg_pgpkeyIDs )
Calls: strcmp()
Called by: AU_authorise()au/AU_util.c

Global Function au_check_crypt_MD5_password()

int au_check_crypt_MD5_password ( char* MD5_password, GSList* password_list )
Calls: crypt_md5(), free(), printf(), strcmp(), strdup(), strncpy(), strtok()
Called by: AU_authorise()au/AU_util.c
References Variables: tracing

Global Function au_check_from_address()

int au_check_from_address ( char* regexp, char* from_address )
Calls: regcomp(), regexec(), regfree()
Called by: AU_authorise()au/AU_util.c

Global Function au_check_password()

int au_check_password ( char* crypted_password, GSList* password_list )
Calls: crypt(), printf(), strcmp()
Called by: AU_authorise()au/AU_util.c
References Variables: tracing

Global Function au_is_valid_authmethod()

int au_is_valid_authmethod ( int type )
Calls: free(), strcmp(), strdup()
Called by: AU_authorise()au/AU_util.c
References Variables: authmethods

Local Function asctime_r()

static char* asctime_r ( const struct tm* __tm, char* __buf )
Included from: /usr/include/time.h
Calls: __posix_asctime_r()

Local Function ctime_r()

static char* ctime_r ( const time_t* __time, char* __buf )
Included from: /usr/include/time.h
Calls: __posix_ctime_r()

Local Function getlogin_r()

static int getlogin_r ( char* __name, int __len )
Included from: /usr/include/unistd.h
Calls: __posix_getlogin_r()

Local Function readdir_r()

static int readdir_r ( DIR* __dp, struct dirent* __ent, struct dirent** __res )
Included from: /usr/include/dirent.h
Calls: __posix_readdir_r()

Local Function sigwait()

static int sigwait ( const sigset_t* __setp, int* __signo )
Included from: /usr/include/signal.h
Calls: __posix_sigwait()

Local Function ttyname_r()

static int ttyname_r ( int __fildes, char* __buf, size_t __size )
Included from: /usr/include/unistd.h
Calls: __posix_ttyname_r()