Lines Matching refs:SSL_CTX
211 SSL_CTX *SSL_CTX_new(const SSL_METHOD *method) { in SSL_CTX_new()
212 SSL_CTX *ret = NULL; in SSL_CTX_new()
224 ret = (SSL_CTX *)OPENSSL_malloc(sizeof(SSL_CTX)); in SSL_CTX_new()
229 memset(ret, 0, sizeof(SSL_CTX)); in SSL_CTX_new()
304 void SSL_CTX_free(SSL_CTX *ctx) { in SSL_CTX_free()
346 SSL *SSL_new(SSL_CTX *ctx) { in SSL_new()
802 void SSL_CTX_set_min_version(SSL_CTX *ctx, uint16_t version) { in SSL_CTX_set_min_version()
806 void SSL_CTX_set_max_version(SSL_CTX *ctx, uint16_t version) { in SSL_CTX_set_max_version()
818 uint32_t SSL_CTX_set_options(SSL_CTX *ctx, uint32_t options) { in SSL_CTX_set_options()
823 uint32_t SSL_CTX_clear_options(SSL_CTX *ctx, uint32_t options) { in SSL_CTX_clear_options()
828 uint32_t SSL_CTX_get_options(const SSL_CTX *ctx) { return ctx->options; } in SSL_CTX_get_options()
842 uint32_t SSL_CTX_set_mode(SSL_CTX *ctx, uint32_t mode) { in SSL_CTX_set_mode()
847 uint32_t SSL_CTX_clear_mode(SSL_CTX *ctx, uint32_t mode) { in SSL_CTX_clear_mode()
852 uint32_t SSL_CTX_get_mode(const SSL_CTX *ctx) { return ctx->mode; } in SSL_CTX_get_mode()
915 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const uint8_t *sid_ctx, in SSL_CTX_set_session_id_context()
939 int SSL_CTX_set_purpose(SSL_CTX *ctx, int purpose) { in SSL_CTX_set_purpose()
947 int SSL_CTX_set_trust(SSL_CTX *ctx, int trust) { in SSL_CTX_set_trust()
955 int SSL_CTX_set1_param(SSL_CTX *ctx, const X509_VERIFY_PARAM *param) { in SSL_CTX_set1_param()
973 X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx) { return ctx->param; } in SSL_CTX_get0_param()
1086 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx) { return ctx->verify_mode; } in SSL_CTX_get_verify_mode()
1088 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx) { in SSL_CTX_get_verify_depth()
1092 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))( in SSL_CTX_get_verify_callback()
1109 int SSL_CTX_get_read_ahead(const SSL_CTX *ctx) { return 0; } in SSL_CTX_get_read_ahead()
1113 void SSL_CTX_set_read_ahead(SSL_CTX *ctx, int yes) { } in SSL_CTX_set_read_ahead()
1125 int SSL_CTX_check_private_key(const SSL_CTX *ctx) { in SSL_CTX_check_private_key()
1168 size_t SSL_CTX_get_max_cert_list(const SSL_CTX *ctx) { in SSL_CTX_get_max_cert_list()
1172 void SSL_CTX_set_max_cert_list(SSL_CTX *ctx, size_t max_cert_list) { in SSL_CTX_set_max_cert_list()
1190 void SSL_CTX_set_max_send_fragment(SSL_CTX *ctx, size_t max_send_fragment) { in SSL_CTX_set_max_send_fragment()
1222 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx) { return ctx->sessions; } in LHASH_OF()
1224 size_t SSL_CTX_sess_number(const SSL_CTX *ctx) { in SSL_CTX_sess_number()
1228 unsigned long SSL_CTX_sess_set_cache_size(SSL_CTX *ctx, unsigned long size) { in SSL_CTX_sess_set_cache_size()
1234 unsigned long SSL_CTX_sess_get_cache_size(const SSL_CTX *ctx) { in SSL_CTX_sess_get_cache_size()
1238 int SSL_CTX_set_session_cache_mode(SSL_CTX *ctx, int mode) { in SSL_CTX_set_session_cache_mode()
1244 int SSL_CTX_get_session_cache_mode(const SSL_CTX *ctx) { in SSL_CTX_get_session_cache_mode()
1313 int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str) { in SSL_CTX_set_cipher_list()
1329 int SSL_CTX_set_cipher_list_tls10(SSL_CTX *ctx, const char *str) { in SSL_CTX_set_cipher_list_tls10()
1345 int SSL_CTX_set_cipher_list_tls11(SSL_CTX *ctx, const char *str) { in SSL_CTX_set_cipher_list_tls11()
1468 void SSL_CTX_enable_signed_cert_timestamps(SSL_CTX *ctx) { in SSL_CTX_enable_signed_cert_timestamps()
1477 void SSL_CTX_enable_ocsp_stapling(SSL_CTX *ctx) { in SSL_CTX_enable_ocsp_stapling()
1513 int SSL_CTX_set_signed_cert_timestamp_list(SSL_CTX *ctx, const uint8_t *list, in SSL_CTX_set_signed_cert_timestamp_list()
1527 int SSL_CTX_set_ocsp_response(SSL_CTX *ctx, const uint8_t *response, in SSL_CTX_set_ocsp_response()
1586 SSL_CTX *ctx, in SSL_CTX_set_next_protos_advertised_cb()
1594 SSL_CTX *ctx, int (*cb)(SSL *ssl, uint8_t **out, uint8_t *out_len, in SSL_CTX_set_next_proto_select_cb()
1601 int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const uint8_t *protos, in SSL_CTX_set_alpn_protos()
1624 void SSL_CTX_set_alpn_select_cb(SSL_CTX *ctx, in SSL_CTX_set_alpn_select_cb()
1658 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, in SSL_CTX_set_cert_verify_callback()
1666 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, in SSL_CTX_set_verify()
1672 void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth) { in SSL_CTX_set_verify_depth()
1676 void SSL_CTX_set_cert_cb(SSL_CTX *ctx, int (*cb)(SSL *ssl, void *arg), in SSL_CTX_set_cert_cb()
1749 SSL_CTX *ctx = ssl->initial_ctx; in ssl_update_cache()
1848 X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx) { in SSL_CTX_get0_certificate()
1856 EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx) { in SSL_CTX_get0_privatekey()
1924 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode) { in SSL_CTX_set_quiet_shutdown()
1928 int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx) { in SSL_CTX_get_quiet_shutdown()
1950 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl) { return ssl->ctx; } in SSL_get_SSL_CTX()
1952 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx) { in SSL_set_SSL_CTX()
1975 int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx) { in SSL_CTX_set_default_verify_paths()
1979 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *ca_file, in SSL_CTX_load_verify_locations()
2033 int SSL_CTX_set_ex_data(SSL_CTX *ctx, int idx, void *arg) { in SSL_CTX_set_ex_data()
2037 void *SSL_CTX_get_ex_data(const SSL_CTX *ctx, int idx) { in SSL_CTX_get_ex_data()
2041 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx) { in SSL_CTX_get_cert_store()
2045 void SSL_CTX_set_cert_store(SSL_CTX *ctx, X509_STORE *store) { in SSL_CTX_set_cert_store()
2052 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, in SSL_CTX_set_tmp_rsa_callback()
2061 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, in SSL_CTX_set_tmp_dh_callback()
2072 int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint) { in SSL_CTX_use_psk_identity_hint()
2139 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *hint, char *identity, in SSL_CTX_set_psk_client_callback()
2152 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *identity, in SSL_CTX_set_psk_server_callback()
2157 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, in SSL_CTX_set_msg_callback()
2164 void SSL_CTX_set_msg_callback_arg(SSL_CTX *ctx, void *arg) { in SSL_CTX_set_msg_callback_arg()
2179 void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, in SSL_CTX_set_keylog_callback()
2286 *ssl_ctx_size = sizeof(SSL_CTX); in SSL_get_structure_sizes()
2524 SSL_CTX *ctx, int (*cb)(const struct ssl_early_callback_ctx *)) { in SSL_CTX_set_select_certificate_cb()
2529 SSL_CTX *ctx, int (*cb)(const struct ssl_early_callback_ctx *)) { in SSL_CTX_set_dos_protection_cb()
2642 int SSL_CTX_sess_connect(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_connect()
2643 int SSL_CTX_sess_connect_good(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_connect_good()
2644 int SSL_CTX_sess_connect_renegotiate(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_connect_renegotiate()
2645 int SSL_CTX_sess_accept(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_accept()
2646 int SSL_CTX_sess_accept_renegotiate(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_accept_renegotiate()
2647 int SSL_CTX_sess_accept_good(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_accept_good()
2648 int SSL_CTX_sess_hits(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_hits()
2649 int SSL_CTX_sess_cb_hits(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_cb_hits()
2650 int SSL_CTX_sess_misses(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_misses()
2651 int SSL_CTX_sess_timeouts(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_timeouts()
2652 int SSL_CTX_sess_cache_full(const SSL_CTX *ctx) { return 0; } in SSL_CTX_sess_cache_full()