Searched refs:test_ctx (Results 1 – 6 of 6) sorted by relevance
/openssl/test/ |
H A D | ssl_test.c | 75 if (test_ctx->expected_client_alert in check_alerts() 88 if (test_ctx->expected_server_alert in check_alerts() 112 if (test_ctx->expected_protocol) { in check_protocol() 347 if (test_ctx->expected_cipher == NULL) in check_cipher() 365 ret &= check_result(result, test_ctx); in check_test() 366 ret &= check_alerts(result, test_ctx); in check_test() 375 ret &= check_npn(result, test_ctx); in check_test() 399 SSL_TEST_CTX *test_ctx = NULL; in test_handshake() local 406 if (!TEST_ptr(test_ctx)) in test_handshake() 410 if (test_ctx->fips_version != NULL in test_handshake() [all …]
|
/openssl/test/helpers/ |
H A D | ssl_test_ctx.c | 108 test_ctx->expected_result = ret_value; in parse_expected_result() 164 &test_ctx->expected_protocol, value); in parse_protocol() 229 test_ctx->expected_servername = ret_value; in parse_expected_servername() 285 test_ctx->session_ticket_expected = ret_value; in parse_session_ticket() 315 test_ctx->session_id_expected = ret_value; in parse_session_id() 341 test_ctx->method = ret_value; in parse_test_method() 388 test_ctx->handshake_mode = ret_value; in parse_handshake_mode() 416 test_ctx->key_update_type = ret_value; in parse_key_update_type() 636 test_ctx->libctx); in parse_expected_server_ca_names() 642 test_ctx->libctx); in parse_expected_client_ca_names() [all …]
|
H A D | handshake.c | 971 || test_ctx->handshake_mode in do_reneg_setup_step() 974 != (test_ctx->handshake_mode in do_reneg_setup_step() 1096 switch (test_ctx->handshake_mode) { in renegotiate_op() 1106 switch (test_ctx->handshake_mode) { in post_handshake_op() 1121 if (renegotiate_op(test_ctx) || post_handshake_op(test_ctx)) in next_phase() 1127 if (post_handshake_op(test_ctx)) in next_phase() 1497 if (test_ctx->use_sctp) { in do_handshake_internal() 1523 if (test_ctx->use_sctp) { in do_handshake_internal() 1597 if (test_ctx->use_sctp) { in do_handshake_internal() 1753 test_ctx, &test_ctx->extra, in do_handshake() [all …]
|
H A D | pkcs12.c | 29 static OSSL_LIB_CTX *test_ctx = NULL; variable 64 test_ctx = libctx; in PKCS12_helper_set_libctx() 162 p12 = PKCS12_add_safes_ex(pb->safes, 0, test_ctx, test_propq); in generate_p12() 173 md = EVP_MD_fetch(test_ctx, OBJ_nid2sn(mac->nid), test_propq); in generate_p12() 215 p12 = PKCS12_init_ex(NID_pkcs7_data, test_ctx, test_propq); in from_bio_p12() 299 enc->iter, enc->pass, test_ctx, in end_contentinfo_encrypted() 438 test_ctx, test_propq); in add_keybag() 619 p8 = PKCS12_decrypt_skey_ex(bag, enc->pass, strlen(enc->pass), test_ctx, test_propq); in check_keybag()
|
H A D | handshake.h | 89 const SSL_TEST_CTX *test_ctx);
|
/openssl/apps/ |
H A D | speed.c | 3538 EVP_PKEY_CTX *test_ctx = NULL; in speed_main() local 3595 EVP_PKEY_CTX_free(test_ctx); in speed_main() 3596 test_ctx = NULL; in speed_main() 3878 EVP_PKEY_CTX *test_ctx = NULL; in speed_main() local 3991 test_ctx = EVP_PKEY_CTX_new(pkey_B, NULL); in speed_main() 3992 if (!test_ctx) { in speed_main() 3999 if (EVP_PKEY_derive_init(test_ctx) <= 0 || in speed_main() 4000 EVP_PKEY_derive_set_peer(test_ctx, pkey_A) <= 0 || in speed_main() 4001 EVP_PKEY_derive(test_ctx, NULL, &test_out) <= 0 || in speed_main() 4026 EVP_PKEY_CTX_free(test_ctx); in speed_main() [all …]
|
Completed in 38 milliseconds