Functions
eap_server_tls_common.c File Reference
#include "includes.h"
#include "common.h"
#include "crypto/sha1.h"
#include "crypto/tls.h"
#include "eap_i.h"
#include "eap_tls_common.h"
Include dependency graph for eap_server_tls_common.c:

Go to the source code of this file.

Functions

struct wpabufeap_server_tls_build_ack (u8 id, int eap_type, int version)
struct wpabufeap_server_tls_build_msg (struct eap_ssl_data *data, int eap_type, int version, u8 id)
u8 * eap_server_tls_derive_key (struct eap_sm *sm, struct eap_ssl_data *data, char *label, size_t len)
struct wpabufeap_server_tls_encrypt (struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *plain)
static void eap_server_tls_free_in_buf (struct eap_ssl_data *data)
int eap_server_tls_phase1 (struct eap_sm *sm, struct eap_ssl_data *data)
int eap_server_tls_process (struct eap_sm *sm, struct eap_ssl_data *data, struct wpabuf *respData, void *priv, int eap_type, int(*proc_version)(struct eap_sm *sm, void *priv, int peer_version), void(*proc_msg)(struct eap_sm *sm, void *priv, const struct wpabuf *respData))
static int eap_server_tls_process_cont (struct eap_ssl_data *data, const u8 *buf, size_t len)
static int eap_server_tls_process_fragment (struct eap_ssl_data *data, u8 flags, u32 message_length, const u8 *buf, size_t len)
static int eap_server_tls_reassemble (struct eap_ssl_data *data, u8 flags, const u8 **pos, size_t *left)
void eap_server_tls_ssl_deinit (struct eap_sm *sm, struct eap_ssl_data *data)
int eap_server_tls_ssl_init (struct eap_sm *sm, struct eap_ssl_data *data, int verify_peer)

Function Documentation

struct wpabuf* eap_server_tls_build_ack ( u8  id,
int  eap_type,
int  version 
) [read]

Definition at line 174 of file eap_server_tls_common.c.

struct wpabuf* eap_server_tls_build_msg ( struct eap_ssl_data data,
int  eap_type,
int  version,
u8  id 
) [read]

Definition at line 113 of file eap_server_tls_common.c.

u8* eap_server_tls_derive_key ( struct eap_sm sm,
struct eap_ssl_data data,
char *  label,
size_t  len 
)

Definition at line 70 of file eap_server_tls_common.c.

struct wpabuf* eap_server_tls_encrypt ( struct eap_sm sm,
struct eap_ssl_data data,
const struct wpabuf plain 
) [read]

Definition at line 340 of file eap_server_tls_common.c.

static void eap_server_tls_free_in_buf ( struct eap_ssl_data data) [static]

Definition at line 332 of file eap_server_tls_common.c.

int eap_server_tls_phase1 ( struct eap_sm sm,
struct eap_ssl_data data 
)

Definition at line 244 of file eap_server_tls_common.c.

int eap_server_tls_process ( struct eap_sm sm,
struct eap_ssl_data data,
struct wpabuf respData,
void *  priv,
int  eap_type,
int(*)(struct eap_sm *sm, void *priv, int peer_version)  proc_version,
void(*)(struct eap_sm *sm, void *priv, const struct wpabuf *respData)  proc_msg 
)

Definition at line 357 of file eap_server_tls_common.c.

static int eap_server_tls_process_cont ( struct eap_ssl_data data,
const u8 *  buf,
size_t  len 
) [static]

Definition at line 188 of file eap_server_tls_common.c.

static int eap_server_tls_process_fragment ( struct eap_ssl_data data,
u8  flags,
u32  message_length,
const u8 *  buf,
size_t  len 
) [static]

Definition at line 206 of file eap_server_tls_common.c.

static int eap_server_tls_reassemble ( struct eap_ssl_data data,
u8  flags,
const u8 **  pos,
size_t *  left 
) [static]

Definition at line 272 of file eap_server_tls_common.c.

void eap_server_tls_ssl_deinit ( struct eap_sm sm,
struct eap_ssl_data data 
)

Definition at line 61 of file eap_server_tls_common.c.

int eap_server_tls_ssl_init ( struct eap_sm sm,
struct eap_ssl_data data,
int  verify_peer 
)

Definition at line 27 of file eap_server_tls_common.c.



wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:23