Home
last modified time | relevance | path

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

12

/hostap-3.6.0/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 @@
DMakefile33 ../src/tls/libtls.a
/hostap-3.6.0/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-3.6.0/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-3.6.0/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"):
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 …]
Dtest_suite_b.py24 tls = dev[0].request("GET tls_library")
25 if tls.startswith("GnuTLS"):
27 if not tls.startswith("OpenSSL"):
28 raise HwsimSkip("TLS library not supported for Suite B: " + tls)
31 if "build=OpenSSL " + ver in tls and "run=OpenSSL " + ver in tls:
34 if not dhe and not level128 and "build=OpenSSL " + ver in tls and "run=BoringSSL" in tls:
38 raise HwsimSkip("OpenSSL version not supported for Suite B: " + tls)
Dutils.py137 tls = dev.request("GET tls_library")
138 if not tls.startswith("OpenSSL") and not tls.startswith("internal"):
139 raise HwsimSkip("TLS TOD-TOFU/STRICT not supported with this TLS library: " + tls)
Dtest_fils.py1424 tls = dev[0].request("GET tls_library")
1426tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls or "buil…
1429tls.startswith("OpenSSL") and ("build=OpenSSL 1.0.2" in tls or "build=OpenSSL 1.1" in tls or "buil…
Dtest_eap.py442 tls = dev[0].request("GET tls_library")
443 if not tls.startswith("OpenSSL"):
444 raise HwsimSkip("TLS library not supported for TLS CS configuration: " + tls)
/hostap-3.6.0/tests/fuzzing/x509/
DMakefile6 LIBS += $(SRC)/tls/libtls.a
10 ELIBS += $(SRC)/tls/libtls.a
/hostap-3.6.0/tests/fuzzing/ap-mgmt/
DMakefile14 LIBS += $(SRC)/tls/libtls.a
25 ELIBS += $(SRC)/tls/libtls.a
/hostap-3.6.0/tests/fuzzing/wnm/
DMakefile12 LIBS += $(SRC)/tls/libtls.a
21 ELIBS += $(SRC)/tls/libtls.a
/hostap-3.6.0/doc/
Ddirectories.doxygen17 This module defines crypto and tls interfaces to provide portability
65 \dir src/tls Internal TLS server and client implementation
/hostap-3.6.0/src/
DMakefile1 …apol_auth eapol_supp eap_common eap_peer eap_server l2_packet p2p pae radius rsn_supp tls utils wps
/hostap-3.6.0/tests/fuzzing/p2p/
DMakefile8 LIBS += $(SRC)/tls/libtls.a
/hostap-3.6.0/tests/fuzzing/asn1/
DMakefile8 OBJS += $(SRC)/tls/asn1.o
/hostap-3.6.0/tests/fuzzing/eapol-supp/
DMakefile8 LIBS += $(SRC)/tls/libtls.a
/hostap-3.6.0/tests/fuzzing/eapol-key-supp/
DMakefile10 LIBS += $(SRC)/tls/libtls.a
/hostap-3.6.0/tests/fuzzing/eapol-key-auth/
DMakefile10 LIBS += $(SRC)/tls/libtls.a
/hostap-3.6.0/tests/fuzzing/dpp-uri/
DMakefile22 OBJS += $(SRC)/tls/asn1.o
/hostap-3.6.0/eap_example/
DMakefile12 EAP_LIBS += ../src/tls/libtls.a

12