• Home
  • Raw
  • Download

Lines Matching refs:test_ctx

886 static void do_reneg_setup_step(const SSL_TEST_CTX *test_ctx, PEER *peer)  in do_reneg_setup_step()  argument
903 || !TEST_true(test_ctx->handshake_mode in do_reneg_setup_step()
905 || test_ctx->handshake_mode in do_reneg_setup_step()
907 || test_ctx->handshake_mode in do_reneg_setup_step()
909 || test_ctx->handshake_mode in do_reneg_setup_step()
911 || test_ctx->handshake_mode in do_reneg_setup_step()
918 peer->bytes_to_write = peer->bytes_to_read = test_ctx->app_data_size; in do_reneg_setup_step()
921 if ((test_ctx->handshake_mode == SSL_TEST_HANDSHAKE_RENEG_SERVER in do_reneg_setup_step()
923 || (test_ctx->handshake_mode == SSL_TEST_HANDSHAKE_RENEG_CLIENT in do_reneg_setup_step()
938 if (test_ctx->extra.client.reneg_ciphers != NULL) { in do_reneg_setup_step()
940 test_ctx->extra.client.reneg_ciphers)) { in do_reneg_setup_step()
970 } else if (test_ctx->handshake_mode == SSL_TEST_HANDSHAKE_KEY_UPDATE_SERVER in do_reneg_setup_step()
971 || test_ctx->handshake_mode in do_reneg_setup_step()
974 != (test_ctx->handshake_mode in do_reneg_setup_step()
980 ret = SSL_key_update(peer->ssl, test_ctx->key_update_type); in do_reneg_setup_step()
993 } else if (test_ctx->handshake_mode == SSL_TEST_HANDSHAKE_POST_HANDSHAKE_AUTH) { in do_reneg_setup_step()
996 if (test_ctx->extra.server.force_pha) in do_reneg_setup_step()
1088 static int renegotiate_op(const SSL_TEST_CTX *test_ctx) in renegotiate_op() argument
1090 switch (test_ctx->handshake_mode) { in renegotiate_op()
1098 static int post_handshake_op(const SSL_TEST_CTX *test_ctx) in post_handshake_op() argument
1100 switch (test_ctx->handshake_mode) { in post_handshake_op()
1110 static connect_phase_t next_phase(const SSL_TEST_CTX *test_ctx, in next_phase() argument
1115 if (renegotiate_op(test_ctx) || post_handshake_op(test_ctx)) in next_phase()
1121 if (post_handshake_op(test_ctx)) in next_phase()
1137 static void do_connect_step(const SSL_TEST_CTX *test_ctx, PEER *peer, in do_connect_step() argument
1148 do_reneg_setup_step(test_ctx, peer); in do_connect_step()
1423 const SSL_TEST_CTX *test_ctx, const SSL_TEST_EXTRA_CONF *extra, in do_handshake_internal() argument
1460 test_ctx, extra, &server_ctx_data, in do_handshake_internal()
1467 if (test_ctx->enable_client_sctp_label_bug) in do_handshake_internal()
1469 if (test_ctx->enable_server_sctp_label_bug) in do_handshake_internal()
1483 server.bytes_to_write = client.bytes_to_read = test_ctx->app_data_size; in do_handshake_internal()
1484 client.bytes_to_write = server.bytes_to_read = test_ctx->app_data_size; in do_handshake_internal()
1500 if (test_ctx->use_sctp) { in do_handshake_internal()
1526 if (test_ctx->use_sctp) { in do_handshake_internal()
1561 do_connect_step(test_ctx, &client, phase); in do_handshake_internal()
1567 do_connect_step(test_ctx, &server, phase); in do_handshake_internal()
1575 phase = next_phase(test_ctx, phase); in do_handshake_internal()
1600 if (test_ctx->use_sctp) { in do_handshake_internal()
1746 const SSL_TEST_CTX *test_ctx) in do_handshake() argument
1752 test_ctx, &test_ctx->extra, in do_handshake()
1755 || test_ctx->handshake_mode != SSL_TEST_HANDSHAKE_RESUME in do_handshake()
1767 test_ctx, &test_ctx->resume_extra, in do_handshake()