Searched refs:ticket_keys (Results 1 – 9 of 9) sorted by relevance
210 auto ticket_keys = std::make_shared<TicketKeys>(); in renew_ticket_key_cb() local224 auto &new_keys = ticket_keys->keys; in renew_ticket_key_cb()237 ticket_keys->keys.resize(1); in renew_ticket_key_cb()240 auto &new_key = ticket_keys->keys[0]; in renew_ticket_key_cb()253 assert(ticket_keys->keys.size() >= 1); in renew_ticket_key_cb()255 << util::format_hex(ticket_keys->keys[0].data.name); in renew_ticket_key_cb()256 for (size_t i = 1; i < ticket_keys->keys.size(); ++i) { in renew_ticket_key_cb()257 auto &key = ticket_keys->keys[i]; in renew_ticket_key_cb()262 conn_handler->set_ticket_keys(ticket_keys); in renew_ticket_key_cb()263 conn_handler->set_ticket_keys_to_worker(ticket_keys); in renew_ticket_key_cb()[all …]
177 auto ticket_keys = read_tls_ticket_key_file( in test_shrpx_config_read_tls_ticket_key_file() local181 CU_ASSERT(ticket_keys.get() != nullptr); in test_shrpx_config_read_tls_ticket_key_file()182 CU_ASSERT(2 == ticket_keys->keys.size()); in test_shrpx_config_read_tls_ticket_key_file()183 auto key = &ticket_keys->keys[0]; in test_shrpx_config_read_tls_ticket_key_file()193 key = &ticket_keys->keys[1]; in test_shrpx_config_read_tls_ticket_key_file()222 auto ticket_keys = read_tls_ticket_key_file( in test_shrpx_config_read_tls_ticket_key_file_aes_256() local226 CU_ASSERT(ticket_keys.get() != nullptr); in test_shrpx_config_read_tls_ticket_key_file_aes_256()227 CU_ASSERT(2 == ticket_keys->keys.size()); in test_shrpx_config_read_tls_ticket_key_file_aes_256()228 auto key = &ticket_keys->keys[0]; in test_shrpx_config_read_tls_ticket_key_file_aes_256()238 key = &ticket_keys->keys[1]; in test_shrpx_config_read_tls_ticket_key_file_aes_256()
175 const std::shared_ptr<TicketKeys> &ticket_keys) { in set_ticket_keys_to_worker() argument177 worker->set_ticket_keys(ticket_keys); in set_ticket_keys_to_worker()488 std::shared_ptr<TicketKeys> ticket_keys) { in set_ticket_keys() argument489 ticket_keys_ = std::move(ticket_keys); in set_ticket_keys()764 const std::shared_ptr<TicketKeys> &ticket_keys, ev_timer *w) { in on_tls_ticket_key_get_success() argument772 if (!ticket_keys || ticket_keys->keys.empty()) { in on_tls_ticket_key_get_success()782 << util::format_hex(ticket_keys->keys[0].data.name); in on_tls_ticket_key_get_success()783 for (size_t i = 1; i < ticket_keys->keys.size(); ++i) { in on_tls_ticket_key_get_success()784 auto &key = ticket_keys->keys[i]; in on_tls_ticket_key_get_success()789 set_ticket_keys(ticket_keys); in on_tls_ticket_key_get_success()[all …]
114 set_ticket_keys_to_worker(const std::shared_ptr<TicketKeys> &ticket_keys);116 void set_ticket_keys(std::shared_ptr<TicketKeys> ticket_keys);153 on_tls_ticket_key_get_success(const std::shared_ptr<TicketKeys> &ticket_keys,
262 std::shared_ptr<TicketKeys> ticket_keys; member271 const std::shared_ptr<TicketKeys> &ticket_keys,285 void set_ticket_keys(std::shared_ptr<TicketKeys> ticket_keys);
133 const std::shared_ptr<TicketKeys> &ticket_keys, in Worker() argument144 ticket_keys_(ticket_keys),512 void Worker::set_ticket_keys(std::shared_ptr<TicketKeys> ticket_keys) { in set_ticket_keys() argument515 std::atomic_store_explicit(&ticket_keys_, std::move(ticket_keys), in set_ticket_keys()519 ticket_keys_ = std::move(ticket_keys); in set_ticket_keys()
481 auto ticket_keys = worker->get_ticket_keys(); in ticket_key_cb() local483 if (!ticket_keys) { in ticket_key_cb()488 auto &keys = ticket_keys->keys; in ticket_key_cb()
164 auto ticket_keys = std::make_unique<TicketKeys>(); in read_tls_ticket_key_file() local165 auto &keys = ticket_keys->keys; in read_tls_ticket_key_file()230 return ticket_keys; in read_tls_ticket_key_file()
508 unsigned char *ticket_keys; in configure_handshake_ctx() local671 if (!TEST_ptr(ticket_keys = OPENSSL_zalloc(ticket_key_len)) in configure_handshake_ctx()673 ticket_keys, in configure_handshake_ctx()675 OPENSSL_free(ticket_keys); in configure_handshake_ctx()678 OPENSSL_free(ticket_keys); in configure_handshake_ctx()