Searched refs:ticket_keys (Results 1 – 9 of 9) sorted by relevance
226 auto ticket_keys = std::make_shared<TicketKeys>(); in renew_ticket_key_cb() local240 auto &new_keys = ticket_keys->keys; in renew_ticket_key_cb()253 ticket_keys->keys.resize(1); in renew_ticket_key_cb()256 auto &new_key = ticket_keys->keys[0]; in renew_ticket_key_cb()269 assert(ticket_keys->keys.size() >= 1); in renew_ticket_key_cb()271 << util::format_hex(ticket_keys->keys[0].data.name); in renew_ticket_key_cb()272 for (size_t i = 1; i < ticket_keys->keys.size(); ++i) { in renew_ticket_key_cb()273 auto &key = ticket_keys->keys[i]; in renew_ticket_key_cb()278 conn_handler->set_ticket_keys(ticket_keys); in renew_ticket_key_cb()279 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()
193 const std::shared_ptr<TicketKeys> &ticket_keys) { in set_ticket_keys_to_worker() argument195 worker->set_ticket_keys(ticket_keys); in set_ticket_keys_to_worker()590 std::shared_ptr<TicketKeys> ticket_keys) { in set_ticket_keys() argument591 ticket_keys_ = std::move(ticket_keys); in set_ticket_keys()895 const std::shared_ptr<TicketKeys> &ticket_keys, ev_timer *w) { in on_tls_ticket_key_get_success() argument903 if (!ticket_keys || ticket_keys->keys.empty()) { in on_tls_ticket_key_get_success()913 << util::format_hex(ticket_keys->keys[0].data.name); in on_tls_ticket_key_get_success()914 for (size_t i = 1; i < ticket_keys->keys.size(); ++i) { in on_tls_ticket_key_get_success()915 auto &key = ticket_keys->keys[i]; in on_tls_ticket_key_get_success()920 set_ticket_keys(ticket_keys); in on_tls_ticket_key_get_success()[all …]
147 set_ticket_keys_to_worker(const std::shared_ptr<TicketKeys> &ticket_keys);149 void set_ticket_keys(std::shared_ptr<TicketKeys> ticket_keys);186 on_tls_ticket_key_get_success(const std::shared_ptr<TicketKeys> &ticket_keys,
301 std::shared_ptr<TicketKeys> ticket_keys; member320 const std::shared_ptr<TicketKeys> &ticket_keys,337 void set_ticket_keys(std::shared_ptr<TicketKeys> ticket_keys);
156 const std::shared_ptr<TicketKeys> &ticket_keys, in Worker() argument179 ticket_keys_(ticket_keys),592 void Worker::set_ticket_keys(std::shared_ptr<TicketKeys> ticket_keys) { in set_ticket_keys() argument595 std::atomic_store_explicit(&ticket_keys_, std::move(ticket_keys), in set_ticket_keys()599 ticket_keys_ = std::move(ticket_keys); in set_ticket_keys()
546 auto ticket_keys = worker->get_ticket_keys(); in ticket_key_cb() local548 if (!ticket_keys) { in ticket_key_cb()553 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()
493 unsigned char *ticket_keys; in configure_handshake_ctx() local661 if (!TEST_ptr(ticket_keys = OPENSSL_zalloc(ticket_key_len)) in configure_handshake_ctx()663 ticket_keys, in configure_handshake_ctx()665 OPENSSL_free(ticket_keys); in configure_handshake_ctx()668 OPENSSL_free(ticket_keys); in configure_handshake_ctx()