gsasl  2.2.1
Data Structures | Macros | Functions
scram/server.c File Reference
#include <config.h>
#include "scram.h"
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include "minmax.h"
#include "tokens.h"
#include "parser.h"
#include "printer.h"
#include "gc.h"
#include "memxor.h"
#include "tools.h"
#include "mechtools.h"

Go to the source code of this file.

Data Structures

struct  scram_server_state
 

Macros

#define DEFAULT_SALT_BYTES   12
 
#define SNONCE_ENTROPY_BYTES   18
 

Functions

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

Macro Definition Documentation

◆ DEFAULT_SALT_BYTES

#define DEFAULT_SALT_BYTES   12

Definition at line 48 of file scram/server.c.

◆ SNONCE_ENTROPY_BYTES

#define SNONCE_ENTROPY_BYTES   18

Definition at line 49 of file scram/server.c.

Function Documentation

◆ _gsasl_scram_server_finish()

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

Definition at line 581 of file scram/server.c.

◆ _gsasl_scram_server_step()

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

Definition at line 169 of file scram/server.c.