Searched refs:c_ctx (Results 1 – 8 of 8) sorted by relevance
| /freebsd/crypto/openssl/test/ |
| H A D | tls13tickettest.c | 99 SSL_CTX *s_ctx = NULL, *c_ctx = NULL; in test_tls13_ticket_ciphersuite_mismatch() local 105 TLS1_3_VERSION, TLS1_3_VERSION, &s_ctx, &c_ctx, cert, pkey) in test_tls13_ticket_ciphersuite_mismatch() 107 && TEST_true(SSL_CTX_set_ciphersuites(c_ctx, "TLS_AES_128_GCM_SHA256")) in test_tls13_ticket_ciphersuite_mismatch() 108 && TEST_true(enable_tickets(s_ctx, c_ctx)) in test_tls13_ticket_ciphersuite_mismatch() 109 && TEST_true(create_ssl_objects(s_ctx, c_ctx, &s, &c, NULL, NULL)) in test_tls13_ticket_ciphersuite_mismatch() 119 && TEST_true(SSL_CTX_set_ciphersuites(c_ctx, "TLS_AES_256_GCM_SHA384")) in test_tls13_ticket_ciphersuite_mismatch() 120 && TEST_true(create_ssl_objects(s_ctx, c_ctx, &s_ssl, &c_ssl, NULL, NULL)) in test_tls13_ticket_ciphersuite_mismatch() 136 SSL_CTX_free(c_ctx); in test_tls13_ticket_ciphersuite_mismatch()
|
| H A D | quic_client_test.c | 38 SSL_CTX *c_ctx = NULL; in test_quic_client_ex() local 73 if (!TEST_ptr(c_ctx = SSL_CTX_new(OSSL_QUIC_client_method()))) in test_quic_client_ex() 76 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) in test_quic_client_ex() 165 SSL_CTX_free(c_ctx); in test_quic_client_ex()
|
| H A D | ssl_old_test.c | 905 SSL_CTX *c_ctx = NULL; in main() local 1388 c_ctx = SSL_CTX_new_ex(libctx, NULL, meth); in main() 1391 if ((c_ctx == NULL) || (s_ctx == NULL) || (s_ctx2 == NULL)) { in main() 1400 SSL_CTX_set_security_level(c_ctx, 0); in main() 1405 SSL_CTX_set_options(c_ctx, SSL_OP_NO_TICKET); in main() 1409 if (SSL_CTX_set_min_proto_version(c_ctx, min_version) == 0) in main() 1411 if (SSL_CTX_set_max_proto_version(c_ctx, max_version) == 0) in main() 1420 if (!SSL_CTX_set_cipher_list(c_ctx, cipher)) { in main() 1459 if (!SSL_CTX_set_cipher_list(c_ctx, cipher) in main() 1468 if (!SSL_CTX_set_ciphersuites(c_ctx, ciphersuites) in main() [all …]
|
| H A D | quic_tserver_test.c | 66 SSL_CTX *c_ctx = NULL; in do_test() local 160 if (!TEST_ptr(c_ctx = SSL_CTX_new(use_thread_assist in do_test() 165 if (!TEST_ptr(c_ssl = SSL_new(c_ctx))) in do_test() 421 SSL_CTX_free(c_ctx); in do_test()
|
| H A D | quic_multistream_test.c | 78 SSL_CTX *c_ctx; member 671 SSL_CTX_free(h->c_ctx); in helper_cleanup() 672 h->c_ctx = NULL; in helper_cleanup() 800 if (!TEST_ptr(h->c_ctx = SSL_CTX_new(OSSL_QUIC_client_method()))) in helper_init() 805 if (!TEST_true(ossl_quic_set_diag_title(h->c_ctx, title))) in helper_init() 808 if (!TEST_ptr(h->c_conn = SSL_new(h->c_ctx))) in helper_init() 5158 SSL_CTX_set_session_cache_mode(h->c_ctx, SSL_SESS_CACHE_BOTH); in setup_session() 5159 SSL_CTX_sess_set_new_cb(h->c_ctx, on_new_session); in setup_session()
|
| H A D | quicapitest.c | 2295 SSL_CTX *c_ctx = NULL; in test_tparam() local 2303 if (!TEST_ptr(c_ctx = SSL_CTX_new_ex(libctx, NULL, OSSL_QUIC_client_method()))) in test_tparam() 2306 if (!TEST_true(qtest_create_quic_objects(libctx, c_ctx, NULL, cert, in test_tparam() 2352 SSL_CTX_free(c_ctx); in test_tparam()
|
| /freebsd/usr.bin/mkuzip/ |
| H A D | mkuz_conveyor.c | 61 void *c_ctx; in cworker() local 67 c_ctx = cfp->handler->f_init(&cfp->comp_level); in cworker() 81 cfp->handler->f_compress(c_ctx, iblk, oblk); in cworker()
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | bio_enc.c | 303 EVP_CIPHER_CTX **c_ctx; in enc_ctrl() local 379 c_ctx = (EVP_CIPHER_CTX **)ptr; in enc_ctrl() 380 *c_ctx = ctx->cipher; in enc_ctrl()
|