1 /* 2 * EAP peer: EAP-TLS/PEAP/TTLS/FAST common functions 3 * Copyright (c) 2004-2009, 2012, Jouni Malinen <j@w1.fi> 4 * 5 * This software may be distributed under the terms of the BSD license. 6 * See README for more details. 7 */ 8 9 #ifndef EAP_TLS_H 10 #define EAP_TLS_H 11 12 #include "eap_i.h" 13 #include "eap_common.h" 14 #include "eap.h" 15 #include "utils/wpabuf.h" 16 17 void * eap_tls_init(struct eap_sm *sm); 18 void eap_tls_deinit(struct eap_sm *sm, void *priv); 19 struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, 20 struct eap_method_ret *ret, 21 const struct wpabuf *reqData); 22 23 u8 * eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len); 24 25 #endif /* EAP_TLS_H */ 26