hostapd/src/eap_peer
David Ruth c84388ee4c Compile-time config for dynamically loading libraries in wpa_supplicant
Prevent loading arbitrary executable code based on config at runtime,
while allowing libraries to be specified at compile time when they are
known in advance.

Add the ability to configure libraries to load at compile time.
	* CONFIG_PKCS11_ENGINE_PATH - pkcs11_engine library location.
	* CONFIG_PKCS11_MODULE_PATH - pkcs11_module library location.
	* CONFIG_OPENSC_ENGINE_PATH - opensc_engine library location.

Add flags with the ability to set each of the libraries to NULL and
prevent loading them at runtime.
	* CONFIG_NO_PKCS11_ENGINE_PATH - prevents loading pkcs11_engine
	  library.
	* CONFIG_NO_PKCS11_MODULE_PATH - prevents loading pkcs11_module
	  library.
	* CONFIG_NO_OPENSC_ENGINE_PATH - prevents loading opensc_engine
	  library.
	* CONFIG_NO_LOAD_DYNAMIC_EAP - prevents loading EAP libraries at
	  runtime.

Signed-off-by: David Ruth <druth@chromium.org>
2023-11-05 10:23:29 +02:00
..
.gitignore eap_peer: Add .gitignore with *.so 2020-10-16 12:34:16 +03:00
eap.c Compile-time config for dynamically loading libraries in wpa_supplicant 2023-11-05 10:23:29 +02:00
eap.h EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_aka.c EAP-SIM/AKA peer: Simplify identity selection for MK derivation 2023-09-21 11:55:49 +03:00
eap_config.h PEAP client: Update Phase 2 authentication requirements 2023-07-17 21:09:26 +03:00
eap_eke.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_fast.c EAP-FAST: Move EAP-MSCHAPv2 special MSK handling into MSCHAPv2 2022-12-01 17:53:05 +02:00
eap_fast_pac.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_fast_pac.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
eap_gpsk.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_gtc.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_i.h EAP-SIM/AKA peer: Simplify identity selection for MK derivation 2023-09-21 11:55:49 +03:00
eap_ikev2.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_leap.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_md5.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_methods.c Replace EapType typedef with enum eap_type 2019-08-17 11:36:20 +03:00
eap_methods.h Replace EapType typedef with enum eap_type 2019-08-17 11:36:20 +03:00
eap_mschapv2.c EAP-FAST: Move EAP-MSCHAPv2 special MSK handling into MSCHAPv2 2022-12-01 17:53:05 +02:00
eap_otp.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_pax.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_peap.c PEAP client: Update Phase 2 authentication requirements 2023-07-17 21:09:26 +03:00
eap_proxy.h eap_proxy: Support multiple SIMs in get_imsi() 2017-06-06 03:42:32 +03:00
eap_proxy_dummy.c Replace "dummy" with "stub" in comments/documentation 2021-10-11 20:52:50 +03:00
eap_psk.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_pwd.c crypto: Check if crypto_bignum_to_bin() is successful 2022-12-17 12:11:13 +02:00
eap_sake.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_sim.c EAP-SIM/AKA peer: Simplify identity selection for MK derivation 2023-09-21 11:55:49 +03:00
eap_teap.c EAP-TEAP peer: Process Crypto-Binding TLV before EAP Payload TLV 2022-12-01 17:53:05 +02:00
eap_teap_pac.c EAP-TEAP server and peer implementation (RFC 7170) 2019-07-09 16:56:02 +03:00
eap_teap_pac.h EAP-TEAP server and peer implementation (RFC 7170) 2019-07-09 16:56:02 +03:00
eap_tls.c EAP-TLS peer: Fix protected success indication check for resumed session 2022-05-02 17:16:44 +03:00
eap_tls_common.c PEAP client: Update Phase 2 authentication requirements 2023-07-17 21:09:26 +03:00
eap_tls_common.h PEAP client: Update Phase 2 authentication requirements 2023-07-17 21:09:26 +03:00
eap_tnc.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_ttls.c TTLS client: Support phase2_auth=2 2023-07-17 21:25:06 +03:00
eap_vendor_test.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
eap_wsc.c EAP peer: Convert Boolean to C99 bool 2020-04-24 17:06:50 +03:00
ikev2.c EAP-IKEv2: Try to make transform parser simpler to understand 2020-11-03 21:03:30 +02:00
ikev2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile Fix dynamic EAP library building 2021-02-27 23:42:21 +02:00
mschapv2.c EAP-MSCHAPv2: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:48 +03:00
mschapv2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
tncc.c Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
tncc.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00