gsasl  2.2.1
Macros | Functions
cram-md5/server.c File Reference
#include <config.h>
#include "cram-md5.h"
#include <stdlib.h>
#include <string.h>
#include "challenge.h"
#include "digest.h"

Go to the source code of this file.

Macros

#define MD5LEN   16
 

Functions

int _gsasl_cram_md5_server_start (Gsasl_session *sctx _GL_UNUSED, 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 _GL_UNUSED, void *mech_data)
 

Macro Definition Documentation

◆ MD5LEN

#define MD5LEN   16

Definition at line 40 of file cram-md5/server.c.

Function Documentation

◆ _gsasl_cram_md5_server_finish()

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

Definition at line 130 of file cram-md5/server.c.

◆ _gsasl_cram_md5_server_start()

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

Definition at line 43 of file cram-md5/server.c.

◆ _gsasl_cram_md5_server_step()

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 66 of file cram-md5/server.c.