]> www.average.org Git - pam_pcsc_cr.git/blob - authfile.h
PAM module works
[pam_pcsc_cr.git] / authfile.h
1 #ifndef _AUTHFILE_H
2 #define _AUTHFILE_H
3
4 void authfile_template(char *template);
5
6 struct _auth_obj authfile(const char *tokenid,
7                 const char *userid, const char *password,
8                 void (*update_nonce)(char *nonce, const int nonsize),
9                 const unsigned char *secret, const int secsize,
10                 const unsigned char *payload, const int paysize,
11                 struct _auth_chunk (*fetch_key)(const unsigned char *chal,
12                                                 const int csize));
13
14 #endif