#include "securid.h"
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines | |
#define | PASSCODE "passcode" |
#define | PIN "pin" |
Functions | |
int | _gsasl_securid_client_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_securid_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_securid_client_finish (Gsasl_session *sctx, void *mech_data) |
#define PASSCODE "passcode" |
Definition at line 36 of file securid/client.c.
Referenced by _gsasl_securid_client_step(), and _gsasl_securid_server_step().
#define PIN "pin" |
Definition at line 37 of file securid/client.c.
Referenced by _gsasl_securid_client_step(), and _gsasl_securid_server_step().
void _gsasl_securid_client_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
int _gsasl_securid_client_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
Definition at line 40 of file securid/client.c.
References GSASL_MALLOC_ERROR, GSASL_OK, and _Gsasl_login_client_state::step.
int _gsasl_securid_client_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 56 of file securid/client.c.
References GSASL_AUTHID, GSASL_AUTHZID, GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_NO_AUTHID, GSASL_NO_PASSCODE, GSASL_NO_PIN, GSASL_OK, GSASL_PASSCODE, GSASL_PIN, gsasl_property_get(), gsasl_property_set_raw(), GSASL_SUGGESTED_PIN, PASSCODE, PIN, and _Gsasl_login_client_state::step.