eapttls.h

来自「linux 下通过802.1认证的安装包」· C头文件 代码 · 共 35 行

H
35
字号
/*******************************************************************
 * EAPTTLS Function header
 * 
 * Licensed under a dual GPL/BSD license.  (See LICENSE file for more info.)
 *
 * \file eapttls.h
 *
 * \author chris@open1x.org
 *
 *******************************************************************/

#ifndef _EAPTTLS_H_
#define _EAPTTLS_H_

#include <openssl/ssl.h>

#ifndef WINDOWS
#include <netinet/in.h>
#endif

#include "../../context.h"

#define TTLS_SESSION_KEY_CONST   "ttls keying material"
#define TTLS_SESSION_KEY_CONST_SIZE    20


void eapttls_check(eap_type_data *);
void eapttls_process(eap_type_data *);
uint8_t *eapttls_buildResp(eap_type_data *);
uint8_t eapttls_isKeyAvailable(eap_type_data *);
uint8_t *eapttls_getKey(eap_type_data *);
void eapttls_deinit(eap_type_data *);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?