| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| quic_record_rx.h | 50 /* Instantiates a new QRX. */ 54 * Frees the QRX. All packets obtained using ossl_qrx_read_pkt must already 58 * unregister the QRX from the demuxer for all registered destination connection 61 void ossl_qrx_free(OSSL_QRX *qrx); 64 void ossl_qrx_set_msg_callback(OSSL_QRX *qrx, ossl_msg_cb msg_callback, 66 void ossl_qrx_set_msg_callback_arg(OSSL_QRX *qrx, 70 * Get the short header connection id len from this qrx 72 size_t ossl_qrx_get_short_hdr_conn_id_len(OSSL_QRX *qrx); 78 * A QRX has several encryption levels (Initial, Handshake, 0-RTT, 1-RTT) and 103 * - In the WAITING_FOR_KEYS state, the QRX assumes keys for the give 236 OSSL_QRX *qrx; member in struct:ossl_qrx_pkt_st [all...] |
| quic_record_util.h | 40 * provides the derived key material for the INITIAL encryption level to a QRX 44 * - if qrx is non-NULL, provides the appropriate secret to it; 47 * If both qrx and qtx are NULL, this is a no-op. This function is equivalent to 51 * It is possible to use a QRX or QTX without ever calling this, for example if 52 * there is no desire to handle INITIAL packets (e.g. if a QRX/QTX is 53 * instantiated to succeed a previous QRX/QTX and handle a connection which is 65 struct ossl_qrx_st *qrx,
|
| quic_channel.h | 119 OSSL_QRX *qrx; member in struct:quic_channel_args_st 183 void ossl_quic_channel_bind_qrx(QUIC_CHANNEL *tserver_ch, OSSL_QRX *qrx); 415 /* Testing use only - gets current 1-RTT key epochs for QTX and QRX. */
|
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_record_rx.c | 145 * Number of forged packets we have received since the QRX was instantiated. 176 static RXE *qrx_ensure_free_rxe(OSSL_QRX *qrx, size_t alloc_len); 177 static int qrx_validate_hdr_early(OSSL_QRX *qrx, RXE *rxe, 179 static int qrx_relocate_buffer(OSSL_QRX *qrx, RXE **prxe, size_t *pi, 181 static int qrx_validate_hdr(OSSL_QRX *qrx, RXE *rxe); 183 static int qrx_decrypt_pkt_body(OSSL_QRX *qrx, unsigned char *dst, 190 static int qrx_validate_hdr_late(OSSL_QRX *qrx, RXE *rxe); 196 OSSL_QRX *qrx; local 202 qrx = OPENSSL_zalloc(sizeof(OSSL_QRX)); 203 if (qrx == NULL [all...] |
| quic_record_util.c | 86 struct ossl_qrx_st *qrx, 94 if (qrx == NULL && qtx == NULL) 122 || (qrx != NULL && rx_secret == client_initial_secret)) 135 || (qrx != NULL && rx_secret == server_initial_secret)) 147 if (qrx != NULL 148 && !ossl_qrx_provide_secret(qrx, QUIC_ENC_LEVEL_INITIAL, 160 if (qrx != NULL && qtx != NULL && !EVP_MD_up_ref(sha256)) {
|
| quic_port.c | 509 static QUIC_CHANNEL *port_make_channel(QUIC_PORT *port, SSL *tls, OSSL_QRX *qrx, 519 args.qrx = qrx; 586 * pass -1 for qrx to indicate port will create qrx 714 * to the appropriate QRX instances. 734 const QUIC_CONN_ID *odcid, OSSL_QRX *qrx, 746 ossl_quic_channel_bind_qrx(ch, qrx); 747 ossl_qrx_set_msg_callback(ch->qrx, ch->msg_callback, 749 ossl_qrx_set_msg_callback_arg(ch->qrx, ch->msg_callback_arg) 1491 OSSL_QRX *qrx = NULL; local [all...] |
| quic_channel.c | 298 * qrx does not exist yet, then we must be dealing with client channel 300 * If qrx exists already, then we are dealing with server channel which 301 * qrx gets created by port_default_packet_handler() before 307 if (ch->qrx == NULL && ch->is_tserver_ch == 0) { 314 if ((ch->qrx = ossl_qrx_new(&qrx_args)) == NULL) 318 if (ch->qrx != NULL) { 324 if (!ossl_qrx_set_late_validation_cb(ch->qrx, 329 if (!ossl_qrx_set_key_update_cb(ch->qrx, 422 ossl_qrx_free(ch->qrx); 448 void ossl_quic_channel_bind_qrx(QUIC_CHANNEL *tserver_ch, OSSL_QRX *qrx) [all...] |
| quic_channel_local.h | 119 OSSL_QRX *qrx; member in struct:quic_channel_st 276 * The deadline at which we take the QRX out of UPDATING and back to NORMAL. 434 * UPDATING/COOLDOWN on the QRX. COOLDOWN is currently not used. Since RXKU 438 * active so we know when to take the QRX out of UPDATING and back to 446 * RXKUs anyway while the QRX remains in the UPDATING/COOLDOWN states, so
|
| quic_rx_depack.c | 94 && (qpacket->key_epoch < ossl_qrx_get_key_epoch(ch->qrx)
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| quic_txp_test.c | 57 OSSL_QRX *qrx; member in struct:helper 105 ossl_qrx_free(h->qrx); 119 ossl_qrx_inject_urxe(h->qrx, e); 232 if (!TEST_ptr(h->qrx = ossl_qrx_new(&h->qrx_args))) 235 ossl_qrx_allow_1rtt_processing(h->qrx); 257 #define OPK_PROVIDE_SECRET 12 /* Provide secret to QTX and QRX */ 1331 if (!TEST_true(ossl_qrx_read_pkt(h.qrx, &h.qrx_pkt))) 1341 if (!TEST_false(ossl_qrx_read_pkt(h.qrx, &h.qrx_pkt))) 1462 if (!TEST_true(ossl_qrx_provide_secret(h.qrx, 1473 * We do not discard on the QRX here, the object is to test th [all...] |
| quic_record_test.c | 46 int (*new_qrx)(QUIC_DEMUX **demux, OSSL_QRX **qrx); 1915 OSSL_QRX *qrx; member in struct:rx_state 1938 if (s->qrx != NULL) { 1939 ossl_qrx_free(s->qrx); 1940 s->qrx = NULL; 1969 ossl_qrx_inject_urxe(s->qrx, e); 1985 if (s->qrx == NULL 1986 && !TEST_ptr(s->qrx = ossl_qrx_new(&s->args))) 1992 ossl_qrx_allow_1rtt_processing(s->qrx); 2025 if (!TEST_true(ossl_qrx_provide_secret(s.qrx, op->enc_level [all...] |