gsasl  1.8.0
Data Structures | Defines | Typedefs | Functions
digest-md5/server.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 "validate.h"
#include "qop.h"

Go to the source code of this file.

Data Structures

struct  _Gsasl_digest_md5_server_state

Defines

#define NONCE_ENTROPY_BYTES   16

Typedefs

typedef struct
_Gsasl_digest_md5_server_state 
_Gsasl_digest_md5_server_state

Functions

int _gsasl_digest_md5_server_start (Gsasl_session *sctx, void **mech_data)
int _gsasl_digest_md5_server_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
void _gsasl_digest_md5_server_finish (Gsasl_session *sctx, void *mech_data)
int _gsasl_digest_md5_server_encode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
int _gsasl_digest_md5_server_decode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)

Define Documentation

#define NONCE_ENTROPY_BYTES   16

Definition at line 47 of file digest-md5/server.c.


Typedef Documentation

Definition at line 62 of file digest-md5/server.c.


Function Documentation

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

Definition at line 375 of file digest-md5/server.c.

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

Definition at line 351 of file digest-md5/server.c.

void _gsasl_digest_md5_server_finish ( Gsasl_session sctx,
void *  mech_data 
)

Definition at line 336 of file digest-md5/server.c.

int _gsasl_digest_md5_server_start ( Gsasl_session sctx,
void **  mech_data 
)

Definition at line 65 of file digest-md5/server.c.

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