Home
last modified time | relevance | path

Searched refs:qrx (Results 1 – 10 of 10) sorted by relevance

/openssl/ssl/quic/
H A Dquic_record_rx.c178 OSSL_QRX *qrx; in ossl_qrx_new() local
185 if (qrx == NULL) in ossl_qrx_new()
197 return qrx; in ossl_qrx_new()
226 if (qrx == NULL) in ossl_qrx_free()
232 qrx_cleanup_urxl(qrx, &qrx->urx_pending); in ossl_qrx_free()
233 qrx_cleanup_urxl(qrx, &qrx->urx_deferred); in ossl_qrx_free()
239 OPENSSL_free(qrx); in ossl_qrx_free()
549 && !qrx->validation_cb(rxe->pn, pn_space, qrx->validation_cb_arg)) in qrx_validate_hdr_late()
777 qrx->key_update_cb(pn, qrx->key_update_cb_arg); in qrx_key_update_initiated()
1181 (e->deferred || qrx->num_deferred < qrx->max_deferred)) { in qrx_process_one_urxe()
[all …]
H A Dquic_record_util.c86 struct ossl_qrx_st *qrx, in ossl_quic_provide_initial_secret() argument
94 if (qrx == NULL && qtx == NULL) in ossl_quic_provide_initial_secret()
122 || (qrx != NULL && rx_secret == client_initial_secret)) in ossl_quic_provide_initial_secret()
135 || (qrx != NULL && rx_secret == server_initial_secret)) in ossl_quic_provide_initial_secret()
147 if (qrx != NULL in ossl_quic_provide_initial_secret()
148 && !ossl_qrx_provide_secret(qrx, QUIC_ENC_LEVEL_INITIAL, in ossl_quic_provide_initial_secret()
160 if (qrx != NULL && qtx != NULL && !EVP_MD_up_ref(sha256)) { in ossl_quic_provide_initial_secret()
H A Dquic_channel.c300 if ((ch->qrx = ossl_qrx_new(&qrx_args)) == NULL) in ch_init()
303 if (!ossl_qrx_set_late_validation_cb(ch->qrx, in ch_init()
308 if (!ossl_qrx_set_key_update_cb(ch->qrx, in ch_init()
399 ossl_qrx_free(ch->qrx); in ch_cleanup()
589 || ossl_qrx_processed_read_pending(ch->qrx); in ossl_quic_channel_has_pending()
1000 if (!ossl_qrx_provide_secret(ch->qrx, enc_level, in ch_on_handshake_yield_secret()
1038 ossl_qrx_allow_1rtt_processing(ch->qrx); in ch_on_handshake_complete()
2053 if (!ossl_qrx_read_pkt(ch->qrx, &ch->qrx_pkt)) in ch_rx()
2728 ossl_qrx_discard_enc_level(ch->qrx, enc_level); in ch_discard_el()
3130 ossl_qrx_inject_urxe(ch->qrx, e); in ossl_quic_channel_inject()
[all …]
H A Dquic_channel_local.h86 OSSL_QRX *qrx; member
H A Dquic_port.c576 ossl_qrx_inject_urxe(new_ch->qrx, e); in port_default_packet_handler()
H A Dquic_rx_depack.c93 && (qpacket->key_epoch < ossl_qrx_get_key_epoch(ch->qrx) in depack_do_frame_ack()
/openssl/include/internal/
H A Dquic_record_rx.h62 void ossl_qrx_free(OSSL_QRX *qrx);
67 void ossl_qrx_set_msg_callback_arg(OSSL_QRX *qrx,
159 int ossl_qrx_provide_secret(OSSL_QRX *qrx,
221 OSSL_QRX *qrx; member
265 int ossl_qrx_processed_read_pending(OSSL_QRX *qrx);
274 int ossl_qrx_unprocessed_read_pending(OSSL_QRX *qrx);
307 int ossl_qrx_set_late_validation_cb(OSSL_QRX *qrx,
318 void ossl_qrx_inject_urxe(OSSL_QRX *qrx, QUIC_URXE *e);
329 void ossl_qrx_allow_1rtt_processing(OSSL_QRX *qrx);
484 uint64_t ossl_qrx_get_key_epoch(OSSL_QRX *qrx);
[all …]
H A Dquic_record_util.h65 struct ossl_qrx_st *qrx,
/openssl/test/
H A Dquic_record_test.c46 int (*new_qrx)(QUIC_DEMUX **demux, OSSL_QRX **qrx);
1719 OSSL_QRX *qrx; member
1742 if (s->qrx != NULL) { in rx_state_teardown()
1743 ossl_qrx_free(s->qrx); in rx_state_teardown()
1744 s->qrx = NULL; in rx_state_teardown()
1773 ossl_qrx_inject_urxe(s->qrx, e); in demux_default_handler()
1789 if (s->qrx == NULL in rx_state_ensure()
1790 && !TEST_ptr(s->qrx = ossl_qrx_new(&s->args))) in rx_state_ensure()
1796 ossl_qrx_allow_1rtt_processing(s->qrx); in rx_state_ensure()
1861 if (!TEST_true(ossl_qrx_read_pkt(s.qrx, &pkt))) in rx_run_script()
[all …]
H A Dquic_txp_test.c57 OSSL_QRX *qrx; member
105 ossl_qrx_free(h->qrx); in helper_cleanup()
119 ossl_qrx_inject_urxe(h->qrx, e); in demux_default_handler()
224 if (!TEST_ptr(h->qrx = ossl_qrx_new(&h->qrx_args))) in helper_init()
227 ossl_qrx_allow_1rtt_processing(h->qrx); in helper_init()
1323 if (!TEST_true(ossl_qrx_read_pkt(h.qrx, &h.qrx_pkt))) in run_script()
1333 if (!TEST_false(ossl_qrx_read_pkt(h.qrx, &h.qrx_pkt))) in run_script()
1454 if (!TEST_true(ossl_qrx_provide_secret(h.qrx, in run_script()

Completed in 52 milliseconds