#include <gsasl.h>
Go to the source code of this file.
Defines | |
#define | GSASL_CRAM_MD5_NAME "CRAM-MD5" |
Functions | |
int | _gsasl_cram_md5_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
int | _gsasl_cram_md5_server_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_cram_md5_server_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_cram_md5_server_finish (Gsasl_session *sctx, void *mech_data) |
Variables | |
Gsasl_mechanism | gsasl_cram_md5_mechanism |
#define GSASL_CRAM_MD5_NAME "CRAM-MD5" |
Definition at line 28 of file cram-md5.h.
int _gsasl_cram_md5_client_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 40 of file cram-md5/client.c.
References cram_md5_digest(), CRAM_MD5_DIGEST_LEN, GSASL_ALLOW_UNASSIGNED, GSASL_AUTHID, GSASL_MALLOC_ERROR, GSASL_NEEDS_MORE, GSASL_NO_AUTHID, GSASL_NO_PASSWORD, GSASL_OK, GSASL_PASSWORD, gsasl_property_get(), and gsasl_saslprep().
void _gsasl_cram_md5_server_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
Definition at line 124 of file cram-md5/server.c.
int _gsasl_cram_md5_server_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
Definition at line 45 of file cram-md5/server.c.
References cram_md5_challenge(), CRAM_MD5_CHALLENGE_LEN, GSASL_MALLOC_ERROR, and GSASL_OK.
int _gsasl_cram_md5_server_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 61 of file cram-md5/server.c.
References cram_md5_digest(), CRAM_MD5_DIGEST_LEN, GSASL_AUTHENTICATION_ERROR, GSASL_AUTHID, GSASL_MALLOC_ERROR, GSASL_MECHANISM_PARSE_ERROR, GSASL_NEEDS_MORE, GSASL_NO_PASSWORD, GSASL_OK, GSASL_PASSWORD, gsasl_property_get(), gsasl_property_set(), gsasl_saslprep(), and MD5LEN.
Definition at line 30 of file cram-md5/mechinfo.c.