Lines Matching refs:tls
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")
63 if tls.startswith("internal"):
64 raise HwsimSkip("domain_match not supported with this TLS library: " + tls)
67 tls = dev.request("GET tls_library")
68 if tls.startswith("internal"):
69 raise HwsimSkip("domain_suffix_match not supported with this TLS library: " + tls)
72 tls = dev.request("GET tls_library")
73 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"):
74 raise HwsimSkip("domain_suffix_match requires full match with this TLS library: " + tls)
77 tls = dev.request("GET tls_library")
78 if not tls.startswith("OpenSSL") and not tls.startswith("internal"):
79 raise HwsimSkip("Certificate probing not supported with this TLS library: " + tls)
82 tls = dev.request("GET tls_library")
83 if not tls.startswith("OpenSSL"):
84 raise HwsimSkip("ext_cert_check not supported with this TLS library: " + tls)
87 tls = dev.request("GET tls_library")
96 tls = dev.request("GET tls_library")
97 if "BoringSSL" in tls or "GnuTLS" in tls:
98 raise HwsimSkip("PKCS#5 v1.5 not supported with this TLS library: " + tls)
101 tls = dev.request("GET tls_library")
105 if s in tls:
110 tls = dev.request("GET tls_library")
111 if not tls.startswith("internal"):
112 raise HwsimSkip("OCSP-multi not supported with this TLS library: " + tls)
120 tls = dev.request("GET tls_library")
123 if tls.startswith("wolfSSL"):
124 raise HwsimSkip("PKCS#12 not supported with this TLS library: " + tls)
127 tls = dev.request("GET tls_library")
128 if tls.startswith("internal"):
129 raise HwsimSkip("DH DSA not supported with this TLS library: " + tls)
132 tls = dev.request("GET tls_library")
133 if tls.startswith("internal"):
134 raise HwsimSkip("EC not supported with this TLS library: " + tls)
2997 tls = dev[0].request("GET tls_library")
2998 if tls.startswith("OpenSSL"):
3066 tls = dev[0].request("GET tls_library")
3067 if tls.startswith("OpenSSL"):
3253 tls = dev[0].request("GET tls_library")
3584 tls = dev[0].request("GET tls_library")
3585 if not tls.startswith("wolfSSL"):
4250 tls = dev[0].request("GET tls_library")
4251 if tls.startswith("OpenSSL") or tls.startswith("wolfSSL"):
4254 elif tls.startswith("internal"):
4303 tls = dev[0].request("GET tls_library")
4304 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"):
4305 raise HwsimSkip("TLS library is not OpenSSL or wolfSSL: " + tls)
4341 if "run=OpenSSL" in tls:
4898 tls = dev[0].request("GET tls_library")
4899 if "GnuTLS" in tls or "wolfSSL" in tls:
4973 tls = dev[0].request("GET tls_library")
4974 if "GnuTLS" in tls or "wolfSSL" in tls:
5009 tls = dev[0].request("GET tls_library")
5010 if "GnuTLS" in tls or "wolfSSL" in tls:
5059 tls = dev[0].request("GET tls_library")
5060 if "GnuTLS" in tls or "wolfSSL" in tls:
5126 tls = dev[0].request("GET tls_library")
5127 if "GnuTLS" in tls or "wolfSSL" in tls:
5729 tls = dev[0].request("GET tls_library")
5730 if not tls.startswith("OpenSSL"):
5731 raise HwsimSkip("TLS library is not OpenSSL: " + tls)
5756 tls = dev[0].request("GET tls_library")
5757 if not tls.startswith("OpenSSL"):
5758 raise HwsimSkip("wpa_supplicant TLS library is not OpenSSL: " + tls)
5762 tls = hapd.request("GET tls_library")
5763 if not tls.startswith("OpenSSL"):
5764 raise HwsimSkip("hostapd TLS library is not OpenSSL: " + tls)
5781 if "run=OpenSSL 1.1.1" in tls:
6198 tls = dev[0].request("GET tls_library")
6199 if tls.startswith("OpenSSL"):
6200 if "build=OpenSSL 1.0.1" not in tls and "run=OpenSSL 1.0.1" not in tls:
6204 if tls.startswith("wolfSSL"):
6205 if ("build=3.10.0" in tls and "run=3.10.0" in tls) or \
6206 ("build=3.13.0" in tls and "run=3.13.0" in tls):
6210 elif tls.startswith("internal"):
6217 if "run=OpenSSL 1.1.1" in tls or "run=OpenSSL 3." in tls:
6502 tls = hapd.request("GET tls_library")
6503 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"):
6504 raise HwsimSkip("hostapd TLS library is not OpenSSL or wolfSSL: " + tls)
6506 tls = dev.request("GET tls_library")
6507 if not tls.startswith("OpenSSL") and not tls.startswith("wolfSSL"):
6508 raise HwsimSkip("Session resumption not supported with this TLS library: " + tls)
7743 tls = wpas.request("GET tls_library")
7744 if not tls.startswith("OpenSSL"):