Home
last modified time | relevance | path

Searched refs:seq_num (Results 1 – 25 of 29) sorted by relevance

12

/openssl/test/
H A Dquic_srtm_test.c28 uint64_t seq_num = 0; in test_srtm() local
46 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 0, &opaque, &seq_num)) in test_srtm()
48 || !TEST_uint64_t_eq(seq_num, 0) in test_srtm()
49 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 1, &opaque, &seq_num)) in test_srtm()
51 || !TEST_uint64_t_eq(seq_num, 3) in test_srtm()
52 || !TEST_true(ossl_quic_srtm_lookup(srtm, &token_1, 2, &opaque, &seq_num)) in test_srtm()
54 || !TEST_uint64_t_eq(seq_num, 2) in test_srtm()
57 || !TEST_uint64_t_eq(seq_num, 1) in test_srtm()
60 || !TEST_uint64_t_eq(seq_num, 0) in test_srtm()
65 || !TEST_uint64_t_eq(seq_num, 0) in test_srtm()
[all …]
H A Dquic_lcidm_test.c29 uint64_t seq_num = UINT64_MAX; in test_lcidm() local
61 || !TEST_uint64_t_eq(seq_num, 0) in test_lcidm()
63 &seq_num, &opaque)) in test_lcidm()
65 || !TEST_uint64_t_eq(seq_num, 1) in test_lcidm()
67 &seq_num, &opaque)) in test_lcidm()
69 || !TEST_uint64_t_eq(seq_num, 2) in test_lcidm()
71 &seq_num, &opaque)) in test_lcidm()
73 || !TEST_uint64_t_eq(seq_num, 3) in test_lcidm()
87 &seq_num, &opaque)) in test_lcidm()
89 &seq_num, &opaque)) in test_lcidm()
[all …]
H A Dpriority_queue_test.c161 uint64_t seq_num, sub_seq; member
169 if (a->seq_num < b->seq_num) in cmp()
171 if (a->seq_num > b->seq_num) in cmp()
191 infos[0].seq_num = 70650219160667140; in test_22644()
197 infos[1].seq_num = 289360691352306692; in test_22644()
203 infos[2].seq_num = 289360691352306692; in test_22644()
208 infos[3].seq_num = 289360691352306692; in test_22644()
213 infos[4].seq_num = 289360691352306692; in test_22644()
218 infos[5].seq_num = 289360691352306692; in test_22644()
223 infos[6].seq_num = 289360691352306692; in test_22644()
[all …]
H A Dquic_rcidm_test.c33 ncid_frame_1.seq_num = 2; in test_rcidm()
37 ncid_frame_2.seq_num = 3; in test_rcidm()
H A Dquic_wire_test.c775 if (!TEST_uint64_t_eq(f.seq_num, 0x9781)) in encode_case_16_dec()
866 uint64_t seq_num = 0; in encode_case_17_dec() local
868 if (!TEST_int_eq(ossl_quic_wire_decode_frame_retire_conn_id(pkt, &seq_num), fail < 0)) in encode_case_17_dec()
874 if (!TEST_uint64_t_eq(seq_num, 0x1234)) in encode_case_17_dec()
H A Dquic_txp_test.c413 ncid.seq_num = 2345; in schedule_cfq_new_conn_id()
451 if (!TEST_uint64_t_eq(h->frame.new_conn_id.seq_num, 2345) in check_cfq_new_conn_id()
/openssl/ssl/quic/
H A Dquic_rcidm.c130 uint64_t seq_num; member
264 assert(rcid->seq_num <= OSSL_QUIC_VLINT_MAX); in rcidm_check_rcid()
266 assert(rcid->seq_num >= rcidm->retire_prior_to in rcidm_check_rcid()
274 if (a->seq_num < b->seq_num) in rcid_cmp()
276 if (a->seq_num > b->seq_num) in rcid_cmp()
348 || seq_num > OSSL_QUIC_VLINT_MAX in rcidm_create_rcid()
356 rcid->seq_num = seq_num; in rcidm_create_rcid()
360 if (rcid->seq_num >= rcidm->retire_prior_to) { in rcidm_create_rcid()
460 && rcid->seq_num < retire_prior_to) in rcidm_handle_retire_prior_to()
636 if (seq_num != NULL) in rcidm_get_retire()
[all …]
H A Dquic_srtm.c198 if (item->seq_num == seq_num) { in srtm_find()
200 } else if (item->seq_num < seq_num) { in srtm_find()
222 uint64_t seq_num = item->seq_num; in sorted_insert_seq_num() local
227 while (cur != NULL && cur->seq_num > seq_num) { in sorted_insert_seq_num()
282 int ossl_quic_srtm_add(QUIC_SRTM *srtm, void *opaque, uint64_t seq_num, in ossl_quic_srtm_add() argument
291 if ((item = srtm_find(srtm, opaque, seq_num, &head, NULL)) != NULL) in ossl_quic_srtm_add()
298 item->seq_num = seq_num; in ossl_quic_srtm_add()
444 void **opaque, uint64_t *seq_num) in ossl_quic_srtm_lookup() argument
461 if (seq_num != NULL) in ossl_quic_srtm_lookup()
462 *seq_num = item->seq_num; in ossl_quic_srtm_lookup()
[all …]
H A Dquic_lcidm.c33 uint64_t seq_num; member
313 uint64_t *seq_num) in lcidm_generate() argument
346 lcid_obj->seq_num = conn->next_seq_num; in lcidm_generate()
349 if (seq_num != NULL) in lcidm_generate()
350 *seq_num = lcid_obj->seq_num; in lcidm_generate()
400 ncid_frame->seq_num = 0; in ossl_quic_lcidm_generate()
500 uint64_t *seq_num, in ossl_quic_lcidm_lookup() argument
511 if (seq_num != NULL) in ossl_quic_lcidm_lookup()
512 *seq_num = lcid_obj->seq_num; in ossl_quic_lcidm_lookup()
535 uint64_t seq_num) in ossl_quic_lcidm_debug_add() argument
[all …]
H A Dqlog_event_helpers.c419 QLOG_U64("sequence_number", f.seq_num); in log_frame_actual()
429 uint64_t seq_num; in log_frame_actual() local
431 if (!ossl_quic_wire_decode_frame_retire_conn_id(pkt, &seq_num)) in log_frame_actual()
435 QLOG_U64("sequence_number", seq_num); in log_frame_actual()
H A Dquic_trace.c330 (unsigned long long)frame_data.seq_num); in frame_new_conn_id()
345 uint64_t seq_num; in frame_retire_conn_id() local
347 if (!ossl_quic_wire_decode_frame_retire_conn_id(pkt, &seq_num)) in frame_retire_conn_id()
350 BIO_printf(bio, " Sequence Number: %llu\n", (unsigned long long)seq_num); in frame_retire_conn_id()
H A Dquic_wire.c327 || !WPACKET_quic_write_vlint(pkt, f->seq_num) in ossl_quic_wire_encode_frame_new_conn_id()
339 uint64_t seq_num) in ossl_quic_wire_encode_frame_retire_conn_id() argument
342 || !WPACKET_quic_write_vlint(pkt, seq_num)) in ossl_quic_wire_encode_frame_retire_conn_id()
803 || !PACKET_get_quic_vlint(pkt, &f->seq_num) in ossl_quic_wire_decode_frame_new_conn_id()
805 || f->seq_num < f->retire_prior_to in ossl_quic_wire_decode_frame_new_conn_id()
827 uint64_t *seq_num) in ossl_quic_wire_decode_frame_retire_conn_id() argument
830 || !PACKET_get_quic_vlint(pkt, seq_num)) in ossl_quic_wire_decode_frame_retire_conn_id()
H A Dquic_rx_depack.c896 uint64_t seq_num; in depack_do_frame_retire_conn_id() local
898 if (!ossl_quic_wire_decode_frame_retire_conn_id(pkt, &seq_num)) { in depack_do_frame_retire_conn_id()
H A Dquic_channel.c2965 static int ch_enqueue_retire_conn_id(QUIC_CHANNEL *ch, uint64_t seq_num) in ch_enqueue_retire_conn_id() argument
2971 ossl_quic_srtm_remove(ch->srtm, ch, seq_num); in ch_enqueue_retire_conn_id()
2979 if (!ossl_quic_wire_encode_frame_retire_conn_id(&wpkt, seq_num)) { in ch_enqueue_retire_conn_id()
3027 if (f->seq_num > new_remote_seq_num) in ossl_quic_channel_on_new_conn_id()
3028 new_remote_seq_num = f->seq_num; in ossl_quic_channel_on_new_conn_id()
/openssl/include/internal/
H A Dquic_srtm.h69 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);
102 void **opaque, uint64_t *seq_num);
H A Dquic_rcidm.h141 int ossl_quic_rcidm_pop_retire_seq_num(QUIC_RCIDM *rcid, uint64_t *seq_num);
149 int ossl_quic_rcidm_peek_retire_seq_num(QUIC_RCIDM *rcid, uint64_t *seq_num);
H A Dquic_lcidm.h235 uint64_t *seq_num,
253 uint64_t seq_num);
H A Dquic_wire.h211 uint64_t seq_num; member
411 uint64_t seq_num);
682 uint64_t *seq_num);
H A Drecordmethod.h236 uint16_t *epoch, unsigned char *seq_num);
/openssl/ssl/record/methods/
H A Drecmethod_local.h78 unsigned char seq_num[SEQ_NUM_SIZE]; member
405 const unsigned char *seq_num);
461 uint16_t *epoch, unsigned char *seq_num);
H A Dtls_common.c43 const unsigned char *seq_num) in ossl_tls_rl_record_set_seq_num() argument
45 memcpy(r->seq_num, seq_num, SEQ_NUM_SIZE); in ossl_tls_rl_record_set_seq_num()
1115 uint16_t *epoch, unsigned char *seq_num) in tls_read_record() argument
1152 memcpy(seq_num, rec->seq_num, sizeof(rec->seq_num)); in tls_read_record()
/openssl/fuzz/
H A Dquic-rcidm.c136 if (!PACKET_get_net_8(&pkt, &ncid_frame.seq_num) in FuzzerTestOneInput()
/openssl/ssl/record/
H A Drecord.h40 unsigned char seq_num[SEQ_NUM_SIZE]; member
H A Drec_layer_d1.c89 item = pitem_new(rec->seq_num, rdata); in dtls_buffer_record()
257 &rr->epoch, rr->seq_num)); in dtls1_read_bytes()
/openssl/ssl/statem/
H A Dstatem_dtls.c55 unsigned short seq_num,
1265 size_t len, unsigned short seq_num, in dtls1_set_message_header_int() argument
1272 msg_hdr->seq = seq_num; in dtls1_set_message_header_int()

Completed in 98 milliseconds

12