gsasl  1.8.0
Data Structures | Defines | Typedefs | Functions
digest-md5/client.c File Reference
#include "digest-md5.h"
#include <stdlib.h>
#include <string.h>
#include "nonascii.h"
#include "tokens.h"
#include "parser.h"
#include "printer.h"
#include "free.h"
#include "session.h"
#include "digesthmac.h"
#include "qop.h"

Go to the source code of this file.

Data Structures

struct  _Gsasl_digest_md5_client_state

Defines

#define CNONCE_ENTROPY_BYTES   16

Typedefs

typedef struct
_Gsasl_digest_md5_client_state 
_Gsasl_digest_md5_client_state

Functions

int _gsasl_digest_md5_client_start (Gsasl_session *sctx, void **mech_data)
int _gsasl_digest_md5_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
void _gsasl_digest_md5_client_finish (Gsasl_session *sctx, void *mech_data)
int _gsasl_digest_md5_client_encode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
int _gsasl_digest_md5_client_decode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)

Define Documentation

#define CNONCE_ENTROPY_BYTES   16

Definition at line 46 of file digest-md5/client.c.


Typedef Documentation

Definition at line 61 of file digest-md5/client.c.


Function Documentation

int _gsasl_digest_md5_client_decode ( Gsasl_session sctx,
void *  mech_data,
const char *  input,
size_t  input_len,
char **  output,
size_t *  output_len 
)

Definition at line 320 of file digest-md5/client.c.

int _gsasl_digest_md5_client_encode ( Gsasl_session sctx,
void *  mech_data,
const char *  input,
size_t  input_len,
char **  output,
size_t *  output_len 
)

Definition at line 296 of file digest-md5/client.c.

void _gsasl_digest_md5_client_finish ( Gsasl_session sctx,
void *  mech_data 
)

Definition at line 281 of file digest-md5/client.c.

int _gsasl_digest_md5_client_start ( Gsasl_session sctx,
void **  mech_data 
)

Definition at line 64 of file digest-md5/client.c.

int _gsasl_digest_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 95 of file digest-md5/client.c.