gsasl  2.2.1
Data Structures | Macros | Typedefs | Functions
digest-md5/client.c File Reference
#include <config.h>
#include "digest-md5.h"
#include <stdlib.h>
#include <string.h>
#include "gc.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"
#include "mechtools.h"

Go to the source code of this file.

Data Structures

struct  _Gsasl_digest_md5_client_state
 

Macros

#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 _GL_UNUSED, 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 _GL_UNUSED, void *mech_data)
 
int _gsasl_digest_md5_client_encode (Gsasl_session *sctx _GL_UNUSED, 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 _GL_UNUSED, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
 

Macro Definition Documentation

◆ CNONCE_ENTROPY_BYTES

#define CNONCE_ENTROPY_BYTES   16

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

Typedef Documentation

◆ _Gsasl_digest_md5_client_state

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

Function Documentation

◆ _gsasl_digest_md5_client_decode()

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

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

◆ _gsasl_digest_md5_client_encode()

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

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

◆ _gsasl_digest_md5_client_finish()

void _gsasl_digest_md5_client_finish ( Gsasl_session *sctx  _GL_UNUSED,
void *  mech_data 
)

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

◆ _gsasl_digest_md5_client_start()

int _gsasl_digest_md5_client_start ( Gsasl_session *sctx  _GL_UNUSED,
void **  mech_data 
)

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

◆ _gsasl_digest_md5_client_step()

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