Home
last modified time | relevance | path

Searched refs:qtx (Results 1 – 13 of 13) sorted by relevance

/openssl/ssl/quic/
H A Dquic_record_tx.c115 OSSL_QTX *qtx; in ossl_qtx_new() local
121 if (qtx == NULL) in ossl_qtx_new()
131 return qtx; in ossl_qtx_new()
149 if (qtx == NULL) in ossl_qtx_free()
735 txe = qtx_ensure_free_txe(qtx, qtx->mdpl); in qtx_ensure_cons()
751 return qtx->get_qlog_cb(qtx->get_qlog_cb_arg); in qtx_get_qlog()
781 qtx->finishmutatecb(qtx->mutatearg); in qtx_mutate_write()
816 was_coalescing = (qtx->cons != NULL && qtx->cons->data_len > 0); in ossl_qtx_write_pkt()
840 if (!qtx_reserve_txe(qtx, NULL, txe, qtx->mdpl)) in ossl_qtx_write_pkt()
1015 qtx->bio = bio; in ossl_qtx_set_bio()
[all …]
H A Dquic_record_util.c87 struct ossl_qtx_st *qtx) in ossl_quic_provide_initial_secret() argument
94 if (qrx == NULL && qtx == NULL) in ossl_quic_provide_initial_secret()
121 if (((qtx != NULL && tx_secret == client_initial_secret) in ossl_quic_provide_initial_secret()
134 if (((qtx != NULL && tx_secret == server_initial_secret) in ossl_quic_provide_initial_secret()
160 if (qrx != NULL && qtx != NULL && !EVP_MD_up_ref(sha256)) { in ossl_quic_provide_initial_secret()
166 if (qtx != NULL in ossl_quic_provide_initial_secret()
167 && !ossl_qtx_provide_secret(qtx, QUIC_ENC_LEVEL_INITIAL, in ossl_quic_provide_initial_secret()
H A Dquic_channel.c192 ch->qtx = ossl_qtx_new(&qtx_args); in ch_init()
193 if (ch->qtx == NULL) in ch_init()
265 txp_args.qtx = ch->qtx; in ch_init()
380 ossl_qtx_free(ch->qtx); in ch_cleanup()
465 if (ch->qtx == NULL) in ossl_quic_channel_set_mutator()
639 || !ossl_qtx_trigger_key_update(ch->qtx)) { in ch_trigger_txku()
972 if (!ossl_qtx_provide_secret(ch->qtx, enc_level, in ch_on_handshake_yield_secret()
2486 switch (ossl_qtx_flush_net(ch->qtx)) { in ch_tx()
2729 ossl_qtx_discard_enc_level(ch->qtx, enc_level); in ch_discard_el()
3363 ossl_qtx_set_qlog_cb(ch->qtx, ch_get_qlog_cb, ch); in ossl_quic_channel_on_new_conn()
[all …]
H A Dquic_channel_local.h85 OSSL_QTX *qtx; member
H A Dquic_txp.c459 || args->qtx == NULL in ossl_quic_tx_packetiser_new()
786 ossl_qtx_finish_dgram(txp->args.qtx); in ossl_quic_tx_packetiser_generate()
927 ossl_qtx_finish_dgram(txp->args.qtx); in ossl_quic_tx_packetiser_generate()
1334 if (!ossl_qtx_is_enc_level_provisioned(txp->args.qtx, enc_level)) in txp_should_try_staging()
1512 if (!ossl_qtx_calculate_plaintext_payload_len(txp->args.qtx, enc_level, in txp_determine_ppl_from_pl()
1522 return ossl_qtx_get_mdpl(txp->args.qtx); in txp_get_mdpl()
1680 if (!ossl_qtx_calculate_ciphertext_payload_len(txp->args.qtx, pkt->h.enc_level, in txp_pkt_postgen_update_pkt_overhead()
2950 if (!ossl_qtx_write_pkt(txp->args.qtx, &txpkt)) in txp_pkt_commit()
3143 if (ossl_qtx_is_enc_level_provisioned(txp->args.qtx, enc_level)) { in ossl_quic_tx_packetiser_get_deadline()
H A Dquic_port.c277 ossl_qtx_set_bio(ch->qtx, net_wbio); in ossl_quic_port_set_net_wbio()
/openssl/include/internal/
H A Dquic_record_tx.h61 void ossl_qtx_free(OSSL_QTX *qtx);
114 int ossl_qtx_provide_secret(OSSL_QTX *qtx,
244 void ossl_qtx_finish_dgram(OSSL_QTX *qtx);
272 int ossl_qtx_flush_net(OSSL_QTX *qtx);
279 int ossl_qtx_pop_net(OSSL_QTX *qtx, BIO_MSG *msg);
288 size_t ossl_qtx_get_queue_len_bytes(OSSL_QTX *qtx);
308 void ossl_qtx_set_bio(OSSL_QTX *qtx, BIO *bio);
311 int ossl_qtx_set_mdpl(OSSL_QTX *qtx, size_t mdpl);
314 size_t ossl_qtx_get_mdpl(OSSL_QTX *qtx);
345 int ossl_qtx_trigger_key_update(OSSL_QTX *qtx);
[all …]
H A Dquic_record_util.h66 struct ossl_qtx_st *qtx);
H A Dquic_txp.h40 OSSL_QTX *qtx; /* QUIC Record Layer TX we are using */ member
/openssl/test/
H A Dquic_record_test.c3614 OSSL_QTX *qtx = NULL; in tx_run_script() local
3620 if (!TEST_ptr(qtx = ossl_qtx_new(&args))) in tx_run_script()
3626 if (!TEST_true(ossl_qtx_provide_secret(qtx, op->enc_level, in tx_run_script()
3635 NULL, qtx))) in tx_run_script()
3639 if (!TEST_true(ossl_qtx_discard_enc_level(qtx, op->enc_level))) in tx_run_script()
3659 if (!TEST_true(ossl_qtx_write_pkt(qtx, op->pkt))) in tx_run_script()
3670 if (!TEST_true(ossl_qtx_pop_net(qtx, &msg))) in tx_run_script()
3678 if (!TEST_false(ossl_qtx_pop_net(qtx, &msg))) in tx_run_script()
3682 if (!TEST_true(ossl_qtx_trigger_key_update(qtx))) in tx_run_script()
3692 if (qtx != NULL) in tx_run_script()
[all …]
H A Dquic_txp_test.c93 ossl_qtx_free(h->args.qtx); in helper_cleanup()
136 if (!TEST_ptr(h->args.qtx = ossl_qtx_new(&h->qtx_args))) in helper_init()
1310 ossl_qtx_finish_dgram(h.args.qtx); in run_script()
1311 ossl_qtx_flush_net(h.args.qtx); in run_script()
1449 if (!TEST_true(ossl_qtx_provide_secret(h.args.qtx, in run_script()
/openssl/doc/designs/quic-design/
H A Dtx-packetiser.md24 OSSL_QTX *qtx; /* QUIC Record Layer TX we are using */
129 int ossl_qtx_write_pkt(OSSL_QTX *qtx, const OSSL_QTX_PKT *pkt);
142 void ossl_qtx_flush_net(OSSL_QTX *qtx);
H A Dquic-fault-injector.md113 void ossl_qtx_set_mutator(OSSL_QTX *qtx, ossl_mutate_packet_cb mutatecb,

Completed in 59 milliseconds