/openssl/ssl/quic/ |
H A D | uint_set.c | 86 x->range.start = xprev->range.start; in uint_set_merge_adjacent() 109 >= u64_max(a->start, b->start); in uint_range_overlaps() 120 x->range.start = start; in create_set_item() 128 uint64_t start = range->start, end = range->end; in ossl_uint_set_insert() local 164 if (start <= f->range.start && end >= z->range.end) { in ossl_uint_set_insert() 172 x->range.start = start; in ossl_uint_set_insert() 212 ovend->range.start = u64_min(start, z->range.start); in ossl_uint_set_insert() 225 z->range.start = start; in ossl_uint_set_insert() 261 uint64_t start = range->start, end = range->end; in ossl_uint_set_remove() local 281 } else if (start <= z->range.start && end >= z->range.start) { in ossl_uint_set_remove() [all …]
|
H A D | quic_sf_list.c | 107 if (fl->tail->range.start < range->start) { in ossl_sframe_list_insert() 117 for (sf = fl->head; sf != NULL && sf->range.start < range->start; in ossl_sframe_list_insert() 186 uint64_t start; in ossl_sframe_list_peek() local 189 start = fl->offset; in ossl_sframe_list_peek() 192 start = sf->range.end; in ossl_sframe_list_peek() 196 range->start = start; in ossl_sframe_list_peek() 198 if (sf == NULL || sf->range.start > start in ossl_sframe_list_peek() 200 range->end = start; in ossl_sframe_list_peek() 210 *data = sf->data + (start - sf->range.start); in ossl_sframe_list_peek() 289 if (limit < sf->range.start) in ossl_sframe_list_move_data() [all …]
|
H A D | quic_sstream.c | 131 max_len = range->range.end - range->range.start + 1; in ossl_quic_sstream_get_stream_frame() 157 hdr->offset = range->range.start; in ossl_quic_sstream_get_stream_frame() 181 uint64_t start, in ossl_quic_sstream_mark_transmitted() argument 186 r.start = start; in ossl_quic_sstream_mark_transmitted() 210 uint64_t start, in ossl_quic_sstream_mark_lost() argument 214 r.start = start; in ossl_quic_sstream_mark_lost() 239 uint64_t start, in ossl_quic_sstream_mark_acked() argument 243 r.start = start; in ossl_quic_sstream_mark_acked() 318 r.start = old_ring_buf.head_offset; in ossl_quic_sstream_append() 319 r.end = r.start + consumed_ - 1; in ossl_quic_sstream_append() [all …]
|
H A D | quic_rstream.c | 70 range.start = offset; in ossl_quic_rstream_queue_data() 87 size_t l = (size_t)(range.end - range.start); in read_internal() 93 offset = range.start + l; in read_internal() 100 data = ring_buf_get_ptr(&qrs->rbuf, range.start, &max_len); in read_internal() 181 avail_ += range.end - range.start; in ossl_quic_rstream_available() 206 if (qrs->head_range.end == qrs->head_range.start) { in ossl_quic_rstream_get_record() 213 rec_len_ = (size_t)(qrs->head_range.end - qrs->head_range.start); in ossl_quic_rstream_get_record() 216 record_ = ring_buf_get_ptr(&qrs->rbuf, qrs->head_range.start, in ossl_quic_rstream_get_record() 222 qrs->head_range.end = qrs->head_range.start + max_len; in ossl_quic_rstream_get_record() 239 if (read_len > qrs->head_range.end - qrs->head_range.start) { in ossl_quic_rstream_release_record() [all …]
|
H A D | quic_wire.c | 24 if (pn >= ack->ack_ranges[i].start in OSSL_SAFE_MATH_UNSIGNED() 74 first_ack_range = ack->ack_ranges[0].end - ack->ack_ranges[0].start; in ossl_quic_wire_encode_frame_ack() 522 uint64_t ack_range_count, first_ack_range, start, end, i; in ossl_quic_wire_decode_frame_ack() local 539 start = largest_ackd - first_ack_range; in ossl_quic_wire_decode_frame_ack() 553 ack->ack_ranges[0].start = start; in ossl_quic_wire_decode_frame_ack() 564 end = start - gap - 2; in ossl_quic_wire_decode_frame_ack() 565 if (start < gap + 2 || len > end) in ossl_quic_wire_decode_frame_ack() 569 ack->ack_ranges[i + 1].start = start = end - len; in ossl_quic_wire_decode_frame_ack() 891 *p = start; in ossl_quic_wire_decode_padding() 896 if (!PACKET_forward(pkt, p - start)) in ossl_quic_wire_decode_padding() [all …]
|
/openssl/include/internal/ |
H A D | ring_buf.h | 26 void *start; member 49 r->start = NULL; in OSSL_SAFE_MATH_UNSIGNED() 60 OPENSSL_free(r->start); in ring_buf_destroy() 61 r->start = NULL; in ring_buf_destroy() 81 unsigned char *start = r->start; in ring_buf_write_at() local 118 unsigned char *start = r->start; in ring_buf_push() local 150 unsigned char *start = r->start; in ring_buf_get_ptr() local 157 return start + idx; in ring_buf_get_ptr() 177 const unsigned char *start = r->start; in ring_buf_get_buf_at() local 203 assert(end >= start); in ring_buf_cpop_range() [all …]
|
/openssl/crypto/dso/ |
H A D | dso_win32.c | 224 start = filename; in win32_splitter() 225 result->node = start; in win32_splitter() 240 start = ++filename; in win32_splitter() 303 const char *start; in win32_joiner() local 356 end = start in win32_joiner() 358 strncpy(&result[offset], start, end - start); in win32_joiner() 362 start = end + 1; in win32_joiner() 364 start = file_split->dir; in win32_joiner() 370 end = start + file_split->dirlen - (start - file_split->dir); in win32_joiner() 371 strncpy(&result[offset], start, end - start); in win32_joiner() [all …]
|
/openssl/test/recipes/ |
H A D | 70-test_key_share.t | 93 $proxy->start(); 99 $proxy->start(); 111 $proxy->start(); 127 $proxy->start(); 138 $proxy->start(); 157 $proxy->start(); 163 $proxy->start(); 169 $proxy->start(); 175 $proxy->start(); 181 $proxy->start(); [all …]
|
H A D | 70-test_sslsigalgs.t | 71 $proxy->start(); 77 $proxy->start(); 83 $proxy->start(); 90 $proxy->start(); 98 $proxy->start(); 106 $proxy->start(); 119 $proxy->start(); 133 $proxy->start(); 148 $proxy->start(); 158 $proxy->start(); [all …]
|
H A D | 70-test_sslmessages.t | 199 $proxy->start(); 210 $proxy->start(); 220 $proxy->start(); 232 $proxy->start(); 242 $proxy->start(); 250 $proxy->start(); 260 $proxy->start(); 270 $proxy->start(); 279 $proxy->start(); 289 $proxy->start(); [all …]
|
H A D | 70-test_tlsextms.t | 56 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 67 $proxy->start(); 76 $proxy->start(); 85 $proxy->start(); 98 $proxy->start(); 115 $proxy->start(); 132 $proxy->start(); 149 $proxy->start(); 166 $proxy->start(); 184 $proxy->start();
|
H A D | 70-test_sslrecords.t | 115 $proxy->start(); 126 $proxy->start(); 150 $proxy->start(); 161 $proxy->start(); 172 $proxy->start(); 182 $proxy->start(); 192 $proxy->start(); 244 $proxy->start(); 255 $proxy->start(); 262 $proxy->start(); [all …]
|
H A D | 70-test_sslversions.t | 59 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 67 $proxy->start(); 73 $proxy->start(); 82 $proxy->start(); 89 $proxy->start(); 102 $proxy->start(); 111 $proxy->start(); 121 $proxy->start();
|
H A D | 70-test_renegotiation.t | 43 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 53 $proxy->start(); 67 $proxy->start(); 82 $proxy->start(); 111 $proxy->start(); 124 $proxy->start(); 137 $proxy->start(); 155 $proxy->start(); 173 $proxy->start();
|
H A D | 70-test_tls13downgrade.t | 47 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 54 $proxy->start(); 61 $proxy->start(); 69 $proxy->start(); 83 $proxy->start(); 90 $proxy->start();
|
H A D | 70-test_sslsessiontick.t | 50 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 61 $proxy->start(); 70 $proxy->start(); 80 $proxy->start(); 94 $proxy->start(); 108 $proxy->start(); 117 $proxy->start(); 141 $proxy->start(); 151 $proxy->start();
|
H A D | 70-test_sslextension.t | 192 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 203 $proxy->start(); 212 $proxy->start(); 221 $proxy->start(); 230 $proxy->start(); 242 $proxy->start(); 255 $proxy->start(); 268 $proxy->start();
|
H A D | 70-test_tls13messages.t | 236 $proxy->start(); 283 $proxy->start(); 292 $proxy->start(); 302 $proxy->start(); 312 $proxy->start(); 321 $proxy->start(); 331 $proxy->start(); 340 $proxy->start(); 372 $proxy->start(); 382 $proxy->start(); [all …]
|
H A D | 70-test_tls13kexmodes.t | 209 $proxy->start(); 217 $proxy->start(); 226 $proxy->start(); 238 $proxy->start(); 252 $proxy->start(); 266 $proxy->start(); 281 $proxy->start(); 295 $proxy->start(); 310 $proxy->start(); 326 $proxy->start(); [all …]
|
H A D | 70-test_certtypeext.t | 48 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 56 $proxy->start(); 63 $proxy->start(); 71 $proxy->start();
|
H A D | 70-test_tls13psk.t | 50 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 59 $proxy->start(); 72 $proxy->start(); 95 $proxy->start(); 108 $proxy->start();
|
H A D | 70-test_tls13hrr.t | 54 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 68 $proxy->start(); 81 $proxy->start(); 98 $proxy->start(); 112 $proxy->start();
|
H A D | 70-test_sslsignature.t | 48 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 59 $proxy->start(); 94 $proxy->start(); 107 $proxy->start();
|
/openssl/doc/designs/ddd/ |
H A D | ddd-02-conn-nonblocking.c | 363 struct timeval start, now, deadline, t; in main() local 372 gettimeofday(&start, NULL); in main() 373 timeradd(&start, &timeout, &deadline); in main() 407 struct timeval start, now, deadline, t; in main() local 416 gettimeofday(&start, NULL); in main() 417 timeradd(&start, &timeout, &deadline); in main()
|
/openssl/test/helpers/ |
H A D | noisydgrambio.c | 25 size_t start, num; /* ring buffer start and number of items */ member 127 size_t idx = (limit->start + i) % MAX_PKTS_PER_WINDOW; in bandwidth_limit() 133 limit->start = (limit->start + i) % MAX_PKTS_PER_WINDOW; in bandwidth_limit() 156 limit->size_sum -= limit->pinfos[limit->start].size; in bandwidth_limit() 157 limit->start = (limit->start + 1) % MAX_PKTS_PER_WINDOW; in bandwidth_limit() 161 end = (limit->start + limit->num) % MAX_PKTS_PER_WINDOW; in bandwidth_limit()
|