eap_tls_common.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  eap_ssl_data

Defines

#define EAP_TLS_FLAGS_LENGTH_INCLUDED   0x80
#define EAP_TLS_FLAGS_MORE_FRAGMENTS   0x40
#define EAP_TLS_FLAGS_START   0x20
#define EAP_TLS_KEY_LEN   64
#define EAP_TLS_VERSION_MASK   0x07

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)
u8eap_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)
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))
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)

Define Documentation

#define EAP_TLS_FLAGS_LENGTH_INCLUDED   0x80

Definition at line 63 of file eap_server/eap_tls_common.h.

#define EAP_TLS_FLAGS_MORE_FRAGMENTS   0x40

Definition at line 64 of file eap_server/eap_tls_common.h.

#define EAP_TLS_FLAGS_START   0x20

Definition at line 65 of file eap_server/eap_tls_common.h.

#define EAP_TLS_KEY_LEN   64

Definition at line 69 of file eap_server/eap_tls_common.h.

#define EAP_TLS_VERSION_MASK   0x07

Definition at line 66 of file eap_server/eap_tls_common.h.


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.

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.

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:04:36 2013