/hostap-latest/tests/ |
D | test-https_server.c | 79 void *tls; in https_server() local 87 tls = tls_init(&conf); in https_server() 88 if (!tls) in https_server() 97 if (tls_global_set_params(tls, ¶ms)) { in https_server() 99 tls_deinit(tls); in https_server() 103 conn = tls_connection_init(tls); in https_server() 105 tls_deinit(tls); in https_server() 117 out = tls_connection_server_handshake(tls, conn, in, &appl); in https_server() 121 if (!tls_connection_get_failed(tls, conn) && in https_server() 122 !tls_connection_established(tls, conn)) in https_server() [all …]
|
D | test-https.c | 74 void *tls; in https_client() local 82 tls = tls_init(&conf); in https_client() 83 if (tls == NULL) in https_client() 86 conn = tls_connection_init(tls); in https_client() 88 tls_deinit(tls); in https_client() 96 out = tls_connection_handshake2(tls, conn, in, &appl, in https_client() 105 if (tls_connection_get_failed(tls, conn)) { in https_client() 109 if (tls_connection_established(tls, conn)) in https_client() 138 out = tls_connection_encrypt(tls, conn, in); in https_client() 159 out = tls_connection_decrypt2(tls, conn, in, &need_more_data); in https_client() [all …]
|
D | README | 38 test-eapol, test-json, test-tls, and test-x509 are examples of such 78 CC=afl-gcc make test-tls TEST_FUZZ=y 79 mkdir tls-server-examples 80 ./test-tls server write tls-server-examples/server.msg 81 afl-fuzz -i tls-server-examples -o tls-server-findings -- $PWD/test-tls server read @@ 85 CC=afl-gcc make test-tls TEST_FUZZ=y 86 mkdir tls-client-examples 87 ./test-tls client write tls-client-examples/client.msg 88 afl-fuzz -i tls-client-examples -o tls-client-findings -- $PWD/test-tls client read @@
|
D | Makefile | 34 ../src/tls/libtls.a 88 ELIBS += $(SRC)/tls/libtls.a
|
/hostap-latest/tests/fuzzing/tls-client/ |
D | Makefile | 1 ALL=tls-client 6 LIBS += $(SRC)/tls/libtls.a 15 ELIBS += $(SRC)/tls/libtls.a 17 OBJS += tls-client.o 28 tls-client: $(OBJS) $(LIBS) 32 rm -f tls-client *~ *.o *.d ../*~ ../*.o ../*.d
|
D | .gitignore | 1 tls-client
|
/hostap-latest/tests/fuzzing/tls-server/ |
D | Makefile | 1 ALL=tls-server 6 LIBS += $(SRC)/tls/libtls.a 15 ELIBS += $(SRC)/tls/libtls.a 17 OBJS += tls-server.o 28 tls-server: $(OBJS) $(LIBS) 32 rm -f tls-server *~ *.o *.d ../*~ ../*.o ../*.d
|
D | .gitignore | 1 tls-server
|
/hostap-latest/tests/hwsim/ |
D | test_ap_eap.py | 47 tls = dev.request("GET tls_library") 48 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"): 49 raise HwsimSkip("subject_match not supported with this TLS library: " + tls) 52 tls = dev.request("GET tls_library") 53 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"): 54 raise HwsimSkip("check_cert_subject not supported with this TLS library: " + tls) 57 tls = dev.request("GET tls_library") 58 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"): 59 raise HwsimSkip("altsubject_match not supported with this TLS library: " + tls) 62 tls = dev.request("GET tls_library") [all …]
|
D | utils.py | 141 tls = dev.request("GET tls_library") 142 if tls.startswith("OpenSSL"): 144 raise HwsimSkip("IMSI privacy not supported with this TLS library: " + tls) 147 tls = dev.request("GET tls_library") 148 if not tls.startswith("OpenSSL") and not tls.startswith("internal"): 149 raise HwsimSkip("TLS TOD-TOFU/STRICT not supported with this TLS library: " + tls)
|
D | test_suite_b.py | 25 tls = dev[0].request("GET tls_library") 26 if tls.startswith("GnuTLS"): 28 if tls.startswith("wolfSSL"): 30 if not tls.startswith("OpenSSL"): 31 raise HwsimSkip("TLS library not supported for Suite B: " + tls) 34 if "build=OpenSSL " + ver in tls and "run=OpenSSL " + ver in tls: 37 if not dhe and not level128 and "build=OpenSSL " + ver in tls and "run=BoringSSL" in tls: 41 raise HwsimSkip("OpenSSL version not supported for Suite B: " + tls)
|
D | test_fils.py | 1477 tls = dev.request("GET tls_library") 1478 if tls.startswith("wolfSSL"): 1481 …tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls or "buil… 1484 …tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls or "buil…
|
D | test_eap.py | 458 tls = dev[0].request("GET tls_library") 459 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"): 460 raise HwsimSkip("TLS library not supported for TLS CS configuration: " + tls)
|
/hostap-latest/src/radius/ |
D | radius_client.c | 795 if (radius->conf->auth_server->tls) in radius_close_auth_socket() 810 if (radius->conf->acct_server->tls) in radius_close_acct_socket() 1108 bool tls, tls_ready; in radius_client_receive() local 1115 tls = radius->acct_tls; in radius_client_receive() 1125 tls = radius->auth_tls; in radius_client_receive() 1144 if (tls && len == 0) { in radius_client_receive() 1149 if (tls && !tls_ready) { in radius_client_receive() 1536 bool tls = nserv->tls; in radius_change_server() local 1538 if (tls) { in radius_change_server() 1632 if (tls && fcntl(sel_sock, F_SETFL, O_NONBLOCK) != 0) { in radius_change_server() [all …]
|
/hostap-latest/tests/fuzzing/x509/ |
D | Makefile | 6 LIBS += $(SRC)/tls/libtls.a 10 ELIBS += $(SRC)/tls/libtls.a
|
/hostap-latest/tests/fuzzing/ap-mgmt/ |
D | Makefile | 14 LIBS += $(SRC)/tls/libtls.a 25 ELIBS += $(SRC)/tls/libtls.a
|
/hostap-latest/tests/fuzzing/wnm/ |
D | Makefile | 12 LIBS += $(SRC)/tls/libtls.a 21 ELIBS += $(SRC)/tls/libtls.a
|
/hostap-latest/wpa_supplicant/ |
D | eapol_test.c | 1017 int port, bool tls, const char *secret, in wpa_init_conf() argument 1058 as->tls = tls; in wpa_init_conf() 1342 bool tls = false; in main() local 1454 tls = false; in main() 1456 tls = true; in main() 1497 as_secret = tls ? "radsec" : "radius"; in main() 1499 as_port = tls ? 2083 : 1812; in main() 1550 wpa_init_conf(&eapol_test, &wpa_s, as_addr, as_port, tls, as_secret, in main()
|
/hostap-latest/doc/ |
D | directories.doxygen | 17 This module defines crypto and tls interfaces to provide portability 65 \dir src/tls Internal TLS server and client implementation
|
/hostap-latest/src/ |
D | Makefile | 1 …auth eapol_supp eap_common eap_peer eap_server l2_packet p2p pae pasn radius rsn_supp tls utils wps
|
/hostap-latest/tests/fuzzing/p2p/ |
D | Makefile | 8 LIBS += $(SRC)/tls/libtls.a
|
/hostap-latest/tests/fuzzing/asn1/ |
D | Makefile | 8 OBJS += $(SRC)/tls/asn1.o
|
/hostap-latest/tests/fuzzing/eapol-supp/ |
D | Makefile | 8 LIBS += $(SRC)/tls/libtls.a
|
/hostap-latest/tests/fuzzing/eapol-key-supp/ |
D | Makefile | 10 LIBS += $(SRC)/tls/libtls.a
|
/hostap-latest/tests/fuzzing/eapol-key-auth/ |
D | Makefile | 10 LIBS += $(SRC)/tls/libtls.a
|