4 #define AUTHCHUNKSIZE 20
8 unsigned char data[AUTHCHUNKSIZE];
12 unsigned char *buffer; /* to be free()'d if not NULL */
13 const char *err; /* non-NULL if failed */
16 unsigned char *payload;
20 /* Construct new or repack old authobj, return payload */
21 struct _auth_obj authobj(const char *userid, const char *password,
22 const char *oldnonce, const char *newnonce,
23 const unsigned char *secret, const int secsize,
24 const unsigned char *payload, const int paysize,
25 const unsigned char *ablob, const int blobsize,
26 struct _auth_chunk (*fetch_key)(const unsigned char *chal,