Home
last modified time | relevance | path

Searched refs:qkms (Results 1 – 9 of 9) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_worker_process.cc547 std::shared_ptr<QUICKeyingMaterials> qkms; in worker_process_event_loop() local
550 qkms = read_quic_secret_file(quicconf.upstream.secret_file); in worker_process_event_loop()
551 if (!qkms) { in worker_process_event_loop()
556 if (!qkms) { in worker_process_event_loop()
557 qkms = std::make_shared<QUICKeyingMaterials>(); in worker_process_event_loop()
558 qkms->keying_materials.resize(1); in worker_process_event_loop()
560 auto &qkm = qkms->keying_materials.front(); in worker_process_event_loop()
578 for (auto &qkm : qkms->keying_materials) { in worker_process_event_loop()
588 conn_handler->set_quic_keying_materials(std::move(qkms)); in worker_process_event_loop()
Dshrpx_quic_connection_handler.cc127 auto &qkms = conn_handler->get_quic_keying_materials(); in handle_packet() local
132 *qkms.get(), vc.dcid[0] & SHRPX_QUIC_DCID_KM_ID_MASK); in handle_packet()
140 if (qkm != &qkms->keying_materials.front() || in handle_packet()
182 if (qkm != &qkms->keying_materials.front()) { in handle_packet()
183 qkm = &qkms->keying_materials.front(); in handle_packet()
226 *qkms.get(), vc.dcid[0] & SHRPX_QUIC_DCID_KM_ID_MASK); in handle_packet()
279 *qkms.get(), hd.token[NGTCP2_CRYPTO_MAX_REGULAR_TOKENLEN]); in handle_packet()
472 auto &qkms = conn_handler->get_quic_keying_materials(); in send_retry() local
473 auto &qkm = qkms->keying_materials.front(); in send_retry()
590 auto &qkms = conn_handler->get_quic_keying_materials(); in send_stateless_reset() local
[all …]
Dshrpx_quic.cc361 select_quic_keying_material(const QUICKeyingMaterials &qkms, uint8_t km_id) { in select_quic_keying_material() argument
362 for (auto &qkm : qkms.keying_materials) { in select_quic_keying_material()
368 return &qkms.keying_materials.front(); in select_quic_keying_material()
Dshrpx_quic.h134 select_quic_keying_material(const QUICKeyingMaterials &qkms, uint8_t km_id);
Dshrpx_connection_handler.h203 void set_quic_keying_materials(std::shared_ptr<QUICKeyingMaterials> qkms);
Dshrpx_http3_upstream.cc211 auto &qkms = conn_handler->get_quic_keying_materials(); in get_new_connection_id() local
212 auto &qkm = qkms->keying_materials.front(); in get_new_connection_id()
511 auto &qkms = conn_handler->get_quic_keying_materials(); in send_new_token() local
512 auto &qkm = qkms->keying_materials.front(); in send_new_token()
606 auto &qkms = conn_handler->get_quic_keying_materials(); in init() local
607 auto &qkm = qkms->keying_materials.front(); in init()
Dshrpx_connection_handler.cc1046 std::shared_ptr<QUICKeyingMaterials> qkms) { in set_quic_keying_materials() argument
1047 quic_keying_materials_ = std::move(qkms); in set_quic_keying_materials()
Dshrpx_worker.cc997 auto &qkms = conn_handler_->get_quic_keying_materials(); in create_quic_server_socket() local
998 auto &qkm = qkms->keying_materials.front(); in create_quic_server_socket()
Dshrpx_config.cc239 auto qkms = std::make_shared<QUICKeyingMaterials>(); in read_quic_secret_file() local
240 auto &kms = qkms->keying_materials; in read_quic_secret_file()
300 return qkms; in read_quic_secret_file()