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

Go to the source code of this file.

Data Structures

struct  _Gsasl_digest_md5_server_state
 

Macros

#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 _GL_UNUSED, 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 _GL_UNUSED, void *mech_data)
 
int _gsasl_digest_md5_server_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_server_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

◆ NONCE_ENTROPY_BYTES

#define NONCE_ENTROPY_BYTES   16

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

Typedef Documentation

◆ _Gsasl_digest_md5_server_state

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

Function Documentation

◆ _gsasl_digest_md5_server_decode()

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

◆ _gsasl_digest_md5_server_encode()

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

◆ _gsasl_digest_md5_server_finish()

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

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

◆ _gsasl_digest_md5_server_start()

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

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

◆ _gsasl_digest_md5_server_step()

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