hostapd可以依赖多种加密库,
若选用openssl,可能会遇到不支持CONFIG_EAP_FAST的问题,配置描述如下:
# EAP-FAST for the integrated EAP server
# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed
# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g.,
# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions.
CONFIG_EAP_FAST=y
openssl-0.9.8x-tls-extensions.patch 去哪里找呐?
需要打一个path,在
下载
- (source code for all versions)
解压,将patch文件拷贝到openssl目录下,并安装path文件。
其他部门还遇到hostapd加密出错的问题, 原因是内核兼容性问题,
修改了与 CONFIG_NO_RANDOM_POOL配置项得到解决
自己在移植的过程中也遇到加密出错,当时问题是挂载了加密库函数中,推测可能是 openssl加密库与现有平台不兼容导致, 就换了gnutls加密库,正常了。