#include "includes.h"
#include "common.h"
#include "eap_i.h"
#include "eap_tls_common.h"
#include "config_ssid.h"
#include "md5.h"
#include "sha1.h"
#include "tls.h"
#include "config.h"
Include dependency graph for eap_tls_common.c:
Go to the source code of this file.
Functions | |
int | eap_tls_ssl_init (struct eap_sm *sm, struct eap_ssl_data *data, struct wpa_ssid *config) |
Initialize shared TLS functionality. | |
void | eap_tls_ssl_deinit (struct eap_sm *sm, struct eap_ssl_data *data) |
Deinitialize shared TLS functionality. | |
u8 * | eap_tls_derive_key (struct eap_sm *sm, struct eap_ssl_data *data, const char *label, size_t len) |
Derive a key based on TLS session data. | |
const u8 * | eap_tls_data_reassemble (struct eap_sm *sm, struct eap_ssl_data *data, const u8 *in_data, size_t in_len, size_t *out_len, int *need_more_input) |
Reassemble TLS data. | |
int | eap_tls_process_helper (struct eap_sm *sm, struct eap_ssl_data *data, EapType eap_type, int peap_version, u8 id, const u8 *in_data, size_t in_len, u8 **out_data, size_t *out_len) |
Process TLS handshake message. | |
u8 * | eap_tls_build_ack (struct eap_ssl_data *data, size_t *respDataLen, u8 id, EapType eap_type, int peap_version) |
Build a TLS ACK frames. | |
int | eap_tls_reauth_init (struct eap_sm *sm, struct eap_ssl_data *data) |
Re-initialize shared TLS for session resumption. | |
int | eap_tls_status (struct eap_sm *sm, struct eap_ssl_data *data, char *buf, size_t buflen, int verbose) |
Get TLS status. | |
const u8 * | eap_tls_process_init (struct eap_sm *sm, struct eap_ssl_data *data, EapType eap_type, struct eap_method_ret *ret, const u8 *reqData, size_t reqDataLen, size_t *len, u8 *flags) |
Initial validation and processing of EAP requests. |
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.
|
Build a TLS ACK frames.
Definition at line 561 of file eap_tls_common.c. Here is the call graph for this function: |
|
Reassemble TLS data.
Definition at line 303 of file eap_tls_common.c. Here is the call graph for this function: |
|
Derive a key based on TLS session data.
The caller is responsible for freeing the returned buffer. Definition at line 238 of file eap_tls_common.c. Here is the call graph for this function: |
|
Process TLS handshake message.
out_data is used to return the response message if the return value of this function is 0 or -1. In case of failure, the message is likely a TLS alarm message. The caller is responsible for freeing the allocated buffer if *out_data is not NULL. Definition at line 504 of file eap_tls_common.c. Here is the call graph for this function: |
|
Initial validation and processing of EAP requests.
Definition at line 638 of file eap_tls_common.c. Here is the call graph for this function: |
|
Re-initialize shared TLS for session resumption.
Definition at line 584 of file eap_tls_common.c. Here is the call graph for this function: |
|
Deinitialize shared TLS functionality.
Definition at line 215 of file eap_tls_common.c. Here is the call graph for this function: |
|
Initialize shared TLS functionality.
Definition at line 165 of file eap_tls_common.c. Here is the call graph for this function: |
|
Get TLS status.
Definition at line 607 of file eap_tls_common.c. Here is the call graph for this function: |