Home
last modified time | relevance | path

Searched refs:tls (Results 1 – 25 of 40) sorted by relevance

12

/hostap-latest/tests/
Dtest-https_server.c79 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, &params)) { 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 …]
Dtest-https.c74 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 …]
DREADME38 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 @@
DMakefile34 ../src/tls/libtls.a
88 ELIBS += $(SRC)/tls/libtls.a
/hostap-latest/tests/fuzzing/tls-client/
DMakefile1 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.gitignore1 tls-client
/hostap-latest/tests/fuzzing/tls-server/
DMakefile1 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.gitignore1 tls-server
/hostap-latest/tests/hwsim/
Dtest_ap_eap.py47 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 …]
Dutils.py141 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)
Dtest_suite_b.py25 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)
Dtest_fils.py1477 tls = dev.request("GET tls_library")
1478 if tls.startswith("wolfSSL"):
1481tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls or "buil…
1484tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls or "buil…
Dtest_eap.py458 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/
Dradius_client.c795 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/
DMakefile6 LIBS += $(SRC)/tls/libtls.a
10 ELIBS += $(SRC)/tls/libtls.a
/hostap-latest/tests/fuzzing/ap-mgmt/
DMakefile14 LIBS += $(SRC)/tls/libtls.a
25 ELIBS += $(SRC)/tls/libtls.a
/hostap-latest/tests/fuzzing/wnm/
DMakefile12 LIBS += $(SRC)/tls/libtls.a
21 ELIBS += $(SRC)/tls/libtls.a
/hostap-latest/wpa_supplicant/
Deapol_test.c1017 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/
Ddirectories.doxygen17 This module defines crypto and tls interfaces to provide portability
65 \dir src/tls Internal TLS server and client implementation
/hostap-latest/src/
DMakefile1 …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/
DMakefile8 LIBS += $(SRC)/tls/libtls.a
/hostap-latest/tests/fuzzing/asn1/
DMakefile8 OBJS += $(SRC)/tls/asn1.o
/hostap-latest/tests/fuzzing/eapol-supp/
DMakefile8 LIBS += $(SRC)/tls/libtls.a
/hostap-latest/tests/fuzzing/eapol-key-supp/
DMakefile10 LIBS += $(SRC)/tls/libtls.a
/hostap-latest/tests/fuzzing/eapol-key-auth/
DMakefile10 LIBS += $(SRC)/tls/libtls.a

12