#include <stdlib.h>
#include <string.h>
#include "x-gssapi.h"
Go to the source code of this file.
Data Structures | |
struct | _Gsasl_gssapi_client_state |
Typedefs | |
typedef _Gsasl_gssapi_client_state | _Gsasl_gssapi_client_state |
Functions | |
int | _gsasl_gssapi_client_start (Gsasl_session *sctx, void **mech_data) |
int | _gsasl_gssapi_client_step (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
void | _gsasl_gssapi_client_finish (Gsasl_session *sctx, void *mech_data) |
int | _gsasl_gssapi_client_encode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
int | _gsasl_gssapi_client_decode (Gsasl_session *sctx, void *mech_data, const char *input, size_t input_len, char **output, size_t *output_len) |
typedef struct _Gsasl_gssapi_client_state _Gsasl_gssapi_client_state |
Definition at line 56 of file gssapi/client.c.
int _gsasl_gssapi_client_decode | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 330 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_UNWRAP_ERROR, GSASL_MALLOC_ERROR, GSASL_OK, GSASL_QOP_AUTH_CONF, GSASL_QOP_AUTH_INT, _Gsasl_gssapi_client_state::qop, and _Gsasl_gssapi_client_state::step.
int _gsasl_gssapi_client_encode | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 275 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_WRAP_ERROR, GSASL_MALLOC_ERROR, GSASL_OK, GSASL_QOP_AUTH_CONF, GSASL_QOP_AUTH_INT, _Gsasl_gssapi_client_state::qop, and _Gsasl_gssapi_client_state::step.
void _gsasl_gssapi_client_finish | ( | Gsasl_session * | sctx, | |
void * | mech_data | |||
) |
Definition at line 257 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, and _Gsasl_gssapi_client_state::service.
int _gsasl_gssapi_client_start | ( | Gsasl_session * | sctx, | |
void ** | mech_data | |||
) |
Definition at line 59 of file gssapi/client.c.
References GSASL_MALLOC_ERROR, GSASL_OK, and GSASL_QOP_AUTH.
int _gsasl_gssapi_client_step | ( | Gsasl_session * | sctx, | |
void * | mech_data, | |||
const char * | input, | |||
size_t | input_len, | |||
char ** | output, | |||
size_t * | output_len | |||
) |
Definition at line 78 of file gssapi/client.c.
References _Gsasl_gssapi_client_state::context, GSASL_AUTHID, GSASL_GSSAPI_IMPORT_NAME_ERROR, GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR, GSASL_GSSAPI_RELEASE_BUFFER_ERROR, GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR, GSASL_GSSAPI_UNWRAP_ERROR, GSASL_GSSAPI_WRAP_ERROR, GSASL_HOSTNAME, GSASL_MALLOC_ERROR, GSASL_MECHANISM_CALLED_TOO_MANY_TIMES, GSASL_MECHANISM_PARSE_ERROR, GSASL_NEEDS_MORE, GSASL_NO_AUTHID, GSASL_NO_HOSTNAME, GSASL_NO_SERVICE, GSASL_OK, gsasl_property_get(), GSASL_SERVICE, _Gsasl_gssapi_client_state::qop, _Gsasl_gssapi_client_state::service, and _Gsasl_gssapi_client_state::step.