eap_tls_common.c File Reference

hostapd / EAP-TLS/PEAP/TTLS/FAST common functions More...

#include "includes.h"
#include "common.h"
#include "eap_i.h"
#include "eap_tls_common.h"
#include "sha1.h"
#include "tls.h"
Include dependency graph for eap_tls_common.c:

Go to the source code of this file.

Functions

int eap_server_tls_ssl_init (struct eap_sm *sm, struct eap_ssl_data *data, int verify_peer)
void eap_server_tls_ssl_deinit (struct eap_sm *sm, struct eap_ssl_data *data)
u8 * eap_server_tls_derive_key (struct eap_sm *sm, struct eap_ssl_data *data, char *label, size_t len)
struct wpabufeap_server_tls_build_msg (struct eap_ssl_data *data, int eap_type, int version, u8 id)
struct wpabufeap_server_tls_build_ack (u8 id, int eap_type, int version)
int eap_server_tls_phase1 (struct eap_sm *sm, struct eap_ssl_data *data)
struct wpabufeap_server_tls_encrypt (struct eap_sm *sm, struct eap_ssl_data *data, const u8 *plain, size_t plain_len)
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))

Detailed Description

hostapd / EAP-TLS/PEAP/TTLS/FAST common functions

Copyright
Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file eap_tls_common.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:21:41 2009 for hostapd by  doxygen 1.6.1