Searched refs:qkms (Results 1 – 9 of 9) sorted by relevance
547 std::shared_ptr<QUICKeyingMaterials> qkms; in worker_process_event_loop() local550 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()
127 auto &qkms = conn_handler->get_quic_keying_materials(); in handle_packet() local132 *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() local473 auto &qkm = qkms->keying_materials.front(); in send_retry()590 auto &qkms = conn_handler->get_quic_keying_materials(); in send_stateless_reset() local[all …]
361 select_quic_keying_material(const QUICKeyingMaterials &qkms, uint8_t km_id) { in select_quic_keying_material() argument362 for (auto &qkm : qkms.keying_materials) { in select_quic_keying_material()368 return &qkms.keying_materials.front(); in select_quic_keying_material()
134 select_quic_keying_material(const QUICKeyingMaterials &qkms, uint8_t km_id);
203 void set_quic_keying_materials(std::shared_ptr<QUICKeyingMaterials> qkms);
211 auto &qkms = conn_handler->get_quic_keying_materials(); in get_new_connection_id() local212 auto &qkm = qkms->keying_materials.front(); in get_new_connection_id()511 auto &qkms = conn_handler->get_quic_keying_materials(); in send_new_token() local512 auto &qkm = qkms->keying_materials.front(); in send_new_token()606 auto &qkms = conn_handler->get_quic_keying_materials(); in init() local607 auto &qkm = qkms->keying_materials.front(); in init()
1046 std::shared_ptr<QUICKeyingMaterials> qkms) { in set_quic_keying_materials() argument1047 quic_keying_materials_ = std::move(qkms); in set_quic_keying_materials()
997 auto &qkms = conn_handler_->get_quic_keying_materials(); in create_quic_server_socket() local998 auto &qkm = qkms->keying_materials.front(); in create_quic_server_socket()
239 auto qkms = std::make_shared<QUICKeyingMaterials>(); in read_quic_secret_file() local240 auto &kms = qkms->keying_materials; in read_quic_secret_file()300 return qkms; in read_quic_secret_file()