39 void *mech_data _GL_UNUSED,
40 const char *input,
size_t input_len,
41 char **output,
size_t *output_len)
85 len = strlen (authid);
88 *output = malloc (*output_len);
95 memcpy (*output, authid, len);
96 (*output)[len++] =
' ';
int _gsasl_cram_md5_client_step(Gsasl_session *sctx, void *mech_data _GL_UNUSED, const char *input, size_t input_len, char **output, size_t *output_len)
void cram_md5_digest(const char *challenge, size_t challengelen, const char *secret, size_t secretlen, char response[CRAM_MD5_DIGEST_LEN])
#define CRAM_MD5_DIGEST_LEN
_GSASL_API const char * gsasl_property_get(Gsasl_session *sctx, Gsasl_property prop)
_GSASL_API int gsasl_saslprep(const char *in, Gsasl_saslprep_flags flags, char **out, int *stringpreprc)