Lines Matching refs:TestConfig
37 T TestConfig::*member;
44 T *FindField(TestConfig *config, const Flag<T> (&flags)[N], const char *flag) { in FindField()
54 { "-server", &TestConfig::is_server },
55 { "-dtls", &TestConfig::is_dtls },
56 { "-fallback-scsv", &TestConfig::fallback_scsv },
58 &TestConfig::require_any_client_certificate },
59 { "-false-start", &TestConfig::false_start },
60 { "-async", &TestConfig::async },
62 &TestConfig::write_different_record_sizes },
63 { "-cbc-record-splitting", &TestConfig::cbc_record_splitting },
64 { "-partial-write", &TestConfig::partial_write },
65 { "-no-tls13", &TestConfig::no_tls13 },
66 { "-no-tls12", &TestConfig::no_tls12 },
67 { "-no-tls11", &TestConfig::no_tls11 },
68 { "-no-tls1", &TestConfig::no_tls1 },
69 { "-no-ticket", &TestConfig::no_ticket },
70 { "-enable-channel-id", &TestConfig::enable_channel_id },
71 { "-shim-writes-first", &TestConfig::shim_writes_first },
72 { "-expect-session-miss", &TestConfig::expect_session_miss },
73 { "-decline-alpn", &TestConfig::decline_alpn },
74 { "-select-empty-alpn", &TestConfig::select_empty_alpn },
76 &TestConfig::expect_extended_master_secret },
77 { "-enable-ocsp-stapling", &TestConfig::enable_ocsp_stapling },
79 &TestConfig::enable_signed_cert_timestamps },
80 { "-implicit-handshake", &TestConfig::implicit_handshake },
81 { "-use-early-callback", &TestConfig::use_early_callback },
82 { "-fail-early-callback", &TestConfig::fail_early_callback },
83 { "-install-ddos-callback", &TestConfig::install_ddos_callback },
84 { "-fail-ddos-callback", &TestConfig::fail_ddos_callback },
85 { "-fail-cert-callback", &TestConfig::fail_cert_callback },
86 { "-handshake-never-done", &TestConfig::handshake_never_done },
87 { "-use-export-context", &TestConfig::use_export_context },
88 { "-tls-unique", &TestConfig::tls_unique },
89 { "-expect-ticket-renewal", &TestConfig::expect_ticket_renewal },
90 { "-expect-no-session", &TestConfig::expect_no_session },
92 &TestConfig::expect_ticket_supports_early_data },
93 { "-use-ticket-callback", &TestConfig::use_ticket_callback },
94 { "-renew-ticket", &TestConfig::renew_ticket },
95 { "-enable-early-data", &TestConfig::enable_early_data },
96 { "-check-close-notify", &TestConfig::check_close_notify },
97 { "-shim-shuts-down", &TestConfig::shim_shuts_down },
98 { "-verify-fail", &TestConfig::verify_fail },
99 { "-verify-peer", &TestConfig::verify_peer },
100 { "-verify-peer-if-no-obc", &TestConfig::verify_peer_if_no_obc },
101 { "-expect-verify-result", &TestConfig::expect_verify_result },
102 { "-renegotiate-once", &TestConfig::renegotiate_once },
103 { "-renegotiate-freely", &TestConfig::renegotiate_freely },
104 { "-renegotiate-ignore", &TestConfig::renegotiate_ignore },
106 &TestConfig::forbid_renegotiation_after_handshake },
107 { "-enable-all-curves", &TestConfig::enable_all_curves },
109 &TestConfig::use_old_client_cert_callback },
110 { "-send-alert", &TestConfig::send_alert },
111 { "-peek-then-read", &TestConfig::peek_then_read },
112 { "-enable-grease", &TestConfig::enable_grease },
113 { "-use-exporter-between-reads", &TestConfig::use_exporter_between_reads },
115 &TestConfig::retain_only_sha256_client_cert },
117 &TestConfig::expect_sha256_client_cert },
118 { "-read-with-unfinished-write", &TestConfig::read_with_unfinished_write },
120 &TestConfig::expect_secure_renegotiation },
122 &TestConfig::expect_no_secure_renegotiation },
123 { "-expect-session-id", &TestConfig::expect_session_id },
124 { "-expect-no-session-id", &TestConfig::expect_no_session_id },
125 { "-expect-accept-early-data", &TestConfig::expect_accept_early_data },
126 { "-expect-reject-early-data", &TestConfig::expect_reject_early_data },
127 { "-expect-no-offer-early-data", &TestConfig::expect_no_offer_early_data },
128 { "-no-op-extra-handshake", &TestConfig::no_op_extra_handshake },
129 { "-handshake-twice", &TestConfig::handshake_twice },
130 { "-allow-unknown-alpn-protos", &TestConfig::allow_unknown_alpn_protos },
131 { "-enable-ed25519", &TestConfig::enable_ed25519 },
132 { "-use-custom-verify-callback", &TestConfig::use_custom_verify_callback },
134 &TestConfig::allow_false_start_without_alpn },
135 { "-ignore-tls13-downgrade", &TestConfig::ignore_tls13_downgrade },
136 { "-expect-tls13-downgrade", &TestConfig::expect_tls13_downgrade },
137 { "-handoff", &TestConfig::handoff },
138 { "-no-rsa-pss-rsae-certs", &TestConfig::no_rsa_pss_rsae_certs },
139 { "-use-ocsp-callback", &TestConfig::use_ocsp_callback },
140 { "-set-ocsp-in-callback", &TestConfig::set_ocsp_in_callback },
141 { "-decline-ocsp-callback", &TestConfig::decline_ocsp_callback },
142 { "-fail-ocsp-callback", &TestConfig::fail_ocsp_callback },
144 &TestConfig::install_cert_compression_algs },
145 { "-is-handshaker-supported", &TestConfig::is_handshaker_supported },
146 { "-handshaker-resume", &TestConfig::handshaker_resume },
147 { "-reverify-on-resume", &TestConfig::reverify_on_resume },
148 { "-enforce-rsa-key-usage", &TestConfig::enforce_rsa_key_usage },
149 { "-jdk11-workaround", &TestConfig::jdk11_workaround },
150 { "-server-preference", &TestConfig::server_preference },
151 { "-export-traffic-secrets", &TestConfig::export_traffic_secrets },
152 { "-key-update", &TestConfig::key_update },
156 { "-write-settings", &TestConfig::write_settings },
157 { "-key-file", &TestConfig::key_file },
158 { "-cert-file", &TestConfig::cert_file },
159 { "-expect-server-name", &TestConfig::expected_server_name },
160 { "-advertise-npn", &TestConfig::advertise_npn },
161 { "-expect-next-proto", &TestConfig::expected_next_proto },
162 { "-select-next-proto", &TestConfig::select_next_proto },
163 { "-send-channel-id", &TestConfig::send_channel_id },
164 { "-host-name", &TestConfig::host_name },
165 { "-advertise-alpn", &TestConfig::advertise_alpn },
166 { "-expect-alpn", &TestConfig::expected_alpn },
167 { "-expect-late-alpn", &TestConfig::expected_late_alpn },
168 { "-expect-advertised-alpn", &TestConfig::expected_advertised_alpn },
169 { "-select-alpn", &TestConfig::select_alpn },
170 { "-psk", &TestConfig::psk },
171 { "-psk-identity", &TestConfig::psk_identity },
172 { "-srtp-profiles", &TestConfig::srtp_profiles },
173 { "-cipher", &TestConfig::cipher },
174 { "-export-label", &TestConfig::export_label },
175 { "-export-context", &TestConfig::export_context },
176 { "-expect-peer-cert-file", &TestConfig::expect_peer_cert_file },
177 { "-use-client-ca-list", &TestConfig::use_client_ca_list },
178 { "-expect-client-ca-list", &TestConfig::expected_client_ca_list },
179 { "-expect-msg-callback", &TestConfig::expect_msg_callback },
180 { "-handshaker-path", &TestConfig::handshaker_path },
181 { "-delegated-credential", &TestConfig::delegated_credential },
185 { "-expect-certificate-types", &TestConfig::expected_certificate_types },
186 { "-expect-channel-id", &TestConfig::expected_channel_id },
187 { "-token-binding-params", &TestConfig::send_token_binding_params },
188 { "-expect-ocsp-response", &TestConfig::expected_ocsp_response },
190 &TestConfig::expected_signed_cert_timestamps },
191 { "-ocsp-response", &TestConfig::ocsp_response },
192 { "-signed-cert-timestamps", &TestConfig::signed_cert_timestamps },
193 { "-ticket-key", &TestConfig::ticket_key },
194 { "-quic-transport-params", &TestConfig::quic_transport_params },
196 &TestConfig::expected_quic_transport_params },
200 { "-port", &TestConfig::port },
201 { "-resume-count", &TestConfig::resume_count },
203 &TestConfig::expected_token_binding_param },
204 { "-min-version", &TestConfig::min_version },
205 { "-max-version", &TestConfig::max_version },
206 { "-expect-version", &TestConfig::expect_version },
207 { "-mtu", &TestConfig::mtu },
209 &TestConfig::export_early_keying_material },
210 { "-export-keying-material", &TestConfig::export_keying_material },
211 { "-expect-total-renegotiations", &TestConfig::expect_total_renegotiations },
213 &TestConfig::expect_peer_signature_algorithm },
214 { "-expect-curve-id", &TestConfig::expect_curve_id },
215 { "-initial-timeout-duration-ms", &TestConfig::initial_timeout_duration_ms },
216 { "-max-cert-list", &TestConfig::max_cert_list },
217 { "-expect-cipher-aes", &TestConfig::expect_cipher_aes },
218 { "-expect-cipher-no-aes", &TestConfig::expect_cipher_no_aes },
219 { "-resumption-delay", &TestConfig::resumption_delay },
220 { "-max-send-fragment", &TestConfig::max_send_fragment },
221 { "-read-size", &TestConfig::read_size },
222 { "-expect-ticket-age-skew", &TestConfig::expect_ticket_age_skew },
226 {"-signing-prefs", &TestConfig::signing_prefs},
227 {"-verify-prefs", &TestConfig::verify_prefs},
228 {"-expect-peer-verify-pref", &TestConfig::expected_peer_verify_prefs},
229 {"-curves", &TestConfig::curves},
233 bool skip, TestConfig *out_config) { in ParseFlag()
321 TestConfig *out_initial, in ParseConfig()
322 TestConfig *out_resume, in ParseConfig()
323 TestConfig *out_retry) { in ParseConfig()
371 bool SetTestConfig(SSL *ssl, const TestConfig *config) { in SetTestConfig()
376 const TestConfig *GetTestConfig(const SSL *ssl) { in GetTestConfig()
378 return (const TestConfig *)SSL_get_ex_data(ssl, g_config_index); in GetTestConfig()
382 const TestConfig *config = GetTestConfig(ssl); in LegacyOCSPCallback()
403 const TestConfig *config = GetTestConfig(ssl); in ServerNameCallback()
418 const TestConfig *config = GetTestConfig(ssl); in NextProtoSelectCallback()
430 const TestConfig *config = GetTestConfig(ssl); in NextProtosAdvertisedCallback()
443 const TestConfig *config = GetTestConfig(ssl); in MessageCallback()
616 const TestConfig *config = GetTestConfig(ssl); in AlpnSelectCallback()
636 const TestConfig *config = GetTestConfig(ssl); in CheckVerifyCallback()
658 const TestConfig *config = GetTestConfig(ssl); in CertVerifyCallback()
725 const TestConfig *config = GetTestConfig(ssl); in GetCertificate()
849 const TestConfig *config = GetTestConfig(ssl); in CheckPeerVerifyPrefs()
874 const TestConfig *config = GetTestConfig(ssl); in CheckCertificateRequest()
1077 const TestConfig *config = GetTestConfig(ssl); in InstallCertificate()
1099 const TestConfig *config = GetTestConfig(client_hello->ssl); in SelectCertificateCallback()
1152 bssl::UniquePtr<SSL_CTX> TestConfig::SetupCtx(SSL_CTX *old_ctx) const { in SetupCtx()
1351 const TestConfig *config = GetTestConfig(client_hello->ssl); in DDoSCallback()
1358 const TestConfig *config = GetTestConfig(ssl); in PskClientCallback()
1385 const TestConfig *config = GetTestConfig(ssl); in PskServerCallback()
1402 const TestConfig *config = GetTestConfig(ssl); in CustomVerifyCallback()
1420 const TestConfig *config = GetTestConfig(ssl); in CertCallback()
1446 bssl::UniquePtr<SSL> TestConfig::NewSSL( in NewSSL()