int make_authobj(const char *id, const char *pass, const char *nonce,
const unsigned char *secret, const int secsize,
const unsigned char *payload, const int paysize,
unsigned char *buffer, int *bufsize);
int make_authobj(const char *id, const char *pass, const char *nonce,
const unsigned char *secret, const int secsize,
const unsigned char *payload, const int paysize,
unsigned char *buffer, int *bufsize);