gsasl  1.8.0
Data Structures | Defines | Functions
scram/client.c File Reference
#include "scram.h"
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include "tokens.h"
#include "parser.h"
#include "printer.h"
#include "gc.h"
#include "memxor.h"

Go to the source code of this file.

Data Structures

struct  scram_client_state

Defines

#define CNONCE_ENTROPY_BYTES   18
#define CLIENT_KEY   "Client Key"
#define SERVER_KEY   "Server Key"

Functions

int _gsasl_scram_sha1_client_start (Gsasl_session *sctx, void **mech_data)
int _gsasl_scram_sha1_plus_client_start (Gsasl_session *sctx, void **mech_data)
int _gsasl_scram_sha1_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len)
void _gsasl_scram_sha1_client_finish (Gsasl_session *sctx, void *mech_data)

Define Documentation

#define CLIENT_KEY   "Client Key"
#define CNONCE_ENTROPY_BYTES   18

Definition at line 45 of file scram/client.c.

#define SERVER_KEY   "Server Key"

Function Documentation

void _gsasl_scram_sha1_client_finish ( Gsasl_session sctx,
void *  mech_data 
)

Definition at line 452 of file scram/client.c.

int _gsasl_scram_sha1_client_start ( Gsasl_session sctx,
void **  mech_data 
)

Definition at line 116 of file scram/client.c.

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

Definition at line 168 of file scram/client.c.

int _gsasl_scram_sha1_plus_client_start ( Gsasl_session sctx,
void **  mech_data 
)

Definition at line 122 of file scram/client.c.