Searched refs:srtm (Results 1 – 10 of 10) sorted by relevance
/openssl/ssl/quic/ |
H A D | quic_srtm.c | 112 QUIC_SRTM *srtm = NULL; in ossl_quic_srtm_new() local 119 if ((srtm = OPENSSL_zalloc(sizeof(*srtm))) == NULL) in ossl_quic_srtm_new() 140 return srtm; in ossl_quic_srtm_new() 166 if (srtm == NULL) in ossl_quic_srtm_free() 176 OPENSSL_free(srtm); in ossl_quic_srtm_free() 309 if (!srtm_check_lh(srtm, srtm->items_fwd)) { in ossl_quic_srtm_add() 317 if (!srtm_check_lh(srtm, srtm->items_fwd)) { in ossl_quic_srtm_add() 329 if (!srtm_check_lh(srtm, srtm->items_rev)) in ossl_quic_srtm_add() 341 if (!srtm_check_lh(srtm, srtm->items_rev)) in ossl_quic_srtm_add() 364 if (!srtm_check_lh(srtm, srtm->items_rev)) in srtm_remove_from_rev() [all …]
|
H A D | quic_port.c | 82 if ((port->srtm = ossl_quic_srtm_new(port->engine->libctx, in port_init() 110 ossl_quic_srtm_free(port->srtm); in port_cleanup() 111 port->srtm = NULL; in port_cleanup() 315 args.srtm = port->srtm; in port_make_channel() 478 if (!ossl_quic_srtm_lookup(port->srtm, in port_try_handle_stateless_reset()
|
H A D | quic_port_local.h | 72 QUIC_SRTM *srtm; member
|
H A D | quic_channel_local.h | 50 QUIC_SRTM *srtm; member
|
H A D | quic_channel.c | 171 if (ch->port == NULL || ch->lcidm == NULL || ch->srtm == NULL) in ch_init() 376 ossl_quic_srtm_cull(ch->srtm, ch); in ch_cleanup() 430 ch->srtm = args->srtm; in ossl_quic_channel_new() 1514 if (!ossl_quic_srtm_add(ch->srtm, ch, ch->cur_remote_seq_num, in ch_on_transport_params() 2971 ossl_quic_srtm_remove(ch->srtm, ch, seq_num); in ch_enqueue_retire_conn_id() 3076 if (!ossl_quic_srtm_add(ch->srtm, ch, new_remote_seq_num, in ossl_quic_channel_on_new_conn_id()
|
/openssl/test/ |
H A D | quic_srtm_test.c | 26 QUIC_SRTM *srtm; in test_srtm() local 30 if (!TEST_ptr(srtm = ossl_quic_srtm_new(NULL, NULL))) in test_srtm() 33 if (!TEST_true(ossl_quic_srtm_add(srtm, ptrs + 0, 0, &token_1)) in test_srtm() 35 || !TEST_false(ossl_quic_srtm_remove(srtm, ptrs + 0, 1)) in test_srtm() 36 || !TEST_false(ossl_quic_srtm_remove(srtm, ptrs + 3, 0)) in test_srtm() 37 || !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3)) in test_srtm() 38 || !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 3)) in test_srtm() 45 || !TEST_true(ossl_quic_srtm_remove(srtm, ptrs + 3, 3)) in test_srtm() 62 || !TEST_true(ossl_quic_srtm_cull(srtm, ptrs + 0)) in test_srtm() 69 || !TEST_true(ossl_quic_srtm_remove(srtm, ptrs + 2, 0)) in test_srtm() [all …]
|
/openssl/fuzz/ |
H A D | quic-srtm.c | 48 QUIC_SRTM *srtm = NULL; in FuzzerTestOneInput() local 55 if ((srtm = ossl_quic_srtm_new(NULL, NULL)) == NULL) { in FuzzerTestOneInput() 80 ossl_quic_srtm_add(srtm, (void *)(uintptr_t)arg_opaque, in FuzzerTestOneInput() 82 ossl_quic_srtm_check(srtm); in FuzzerTestOneInput() 90 ossl_quic_srtm_remove(srtm, (void *)(uintptr_t)arg_opaque, in FuzzerTestOneInput() 92 ossl_quic_srtm_check(srtm); in FuzzerTestOneInput() 99 ossl_quic_srtm_cull(srtm, (void *)(uintptr_t)arg_opaque); in FuzzerTestOneInput() 100 ossl_quic_srtm_check(srtm); in FuzzerTestOneInput() 109 ossl_quic_srtm_lookup(srtm, &arg_token, (size_t)arg_idx, in FuzzerTestOneInput() 111 ossl_quic_srtm_check(srtm); in FuzzerTestOneInput() [all …]
|
H A D | build.info | 34 PROGRAMS{noinst}=quic-client quic-srtm quic-lcidm quic-rcidm 121 SOURCE[quic-srtm]=quic-srtm.c driver.c fuzz_rand.c 122 INCLUDE[quic-srtm]=../include {- $ex_inc -} 123 DEPEND[quic-srtm]=../libcrypto.a ../libssl.a {- $ex_lib -} 169 PROGRAMS{noinst}=quic-client-test quic-srtm-test quic-lcidm-test 258 SOURCE[quic-srtm-test]=quic-srtm.c test-corpus.c fuzz_rand.c 259 INCLUDE[quic-srtm-test]=../include 260 DEPEND[quic-srtm-test]=../libcrypto.a ../libssl.a
|
/openssl/include/internal/ |
H A D | quic_srtm.h | 62 void ossl_quic_srtm_free(QUIC_SRTM *srtm); 69 int ossl_quic_srtm_add(QUIC_SRTM *srtm, void *opaque, uint64_t seq_num, 76 int ossl_quic_srtm_remove(QUIC_SRTM *srtm, void *opaque, uint64_t seq_num); 99 int ossl_quic_srtm_lookup(QUIC_SRTM *srtm, 105 void ossl_quic_srtm_check(const QUIC_SRTM *srtm);
|
H A D | quic_channel.h | 118 QUIC_SRTM *srtm; member
|
Completed in 45 milliseconds