Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 75) sorted by relevance

123

/openssl/ssl/quic/
H A Duint_set.c83 if (x->range.start - 1 != xprev->range.end) in uint_set_merge_adjacent()
86 x->range.start = xprev->range.start; in uint_set_merge_adjacent()
128 uint64_t start = range->start, end = range->end; in ossl_uint_set_insert()
164 if (start <= f->range.start && end >= z->range.end) { in ossl_uint_set_insert()
194 if (z->range.start <= start && z->range.end >= end) in ossl_uint_set_insert()
197 if (uint_range_overlaps(&z->range, range)) { in ossl_uint_set_insert()
204 ovend->range.end = u64_max(end, z->range.end); in ossl_uint_set_insert()
261 uint64_t start = range->start, end = range->end; in ossl_uint_set_remove()
274 if (start <= z->range.start && end >= z->range.end) { in ossl_uint_set_remove()
311 assert(!uint_range_overlaps(&z->range, range)); in ossl_uint_set_remove()
[all …]
H A Dquic_sf_list.c16 UINT_RANGE range; member
25 (size_t)(sf->range.end - sf->range.start)); in stream_frame_free()
41 sf->range = *range; in stream_frame_new()
107 if (fl->tail->range.start < range->start) { in ossl_sframe_list_insert()
108 if (fl->tail->range.end >= range->end) in ossl_sframe_list_insert()
117 for (sf = fl->head; sf != NULL && sf->range.start < range->start; in ossl_sframe_list_insert()
125 if (prev_frame != NULL && prev_frame->range.end >= range->end) in ossl_sframe_list_insert()
156 && next_frame->range.start <= prev_frame->range.end) { in ossl_sframe_list_insert()
208 range->end = sf->range.end; in ossl_sframe_list_peek()
315 && prev_frame->range.end >= sf->range.start) { in ossl_sframe_list_move_data()
[all …]
H A Dquic_sstream.c100 UINT_SET_ITEM *range = ossl_list_uint_set_head(&qss->new_set); in ossl_quic_sstream_get_stream_frame() local
105 for (i = 0; i < skip && range != NULL; ++i) in ossl_quic_sstream_get_stream_frame()
106 range = ossl_list_uint_set_next(range); in ossl_quic_sstream_get_stream_frame()
108 if (range == NULL) { in ossl_quic_sstream_get_stream_frame()
131 max_len = range->range.end - range->range.start + 1; in ossl_quic_sstream_get_stream_frame()
138 range->range.start + total_len, in ossl_quic_sstream_get_stream_frame()
157 hdr->offset = range->range.start; in ossl_quic_sstream_get_stream_frame()
353 ring_buf_cpop_range(&qss->ring_buf, h->range.start, h->range.end, in qss_cull()
391 r = ossl_list_uint_set_head(&qss->acked_set)->range; in ossl_quic_sstream_is_totally_acked()
H A Dquic_rstream.c62 UINT_RANGE range; in ossl_quic_rstream_queue_data() local
70 range.start = offset; in ossl_quic_rstream_queue_data()
71 range.end = offset + data_len; in ossl_quic_rstream_queue_data()
73 return ossl_sframe_list_insert(&qrs->fl, &range, pkt, data, fin); in ossl_quic_rstream_queue_data()
80 UINT_RANGE range; in read_internal() local
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()
176 UINT_RANGE range; in ossl_quic_rstream_available() local
180 while (ossl_sframe_list_peek(&qrs->fl, &iter, &range, &data, fin)) in ossl_quic_rstream_available()
[all …]
H A Dquic_ackm.c424 UINT_RANGE r = ossl_list_uint_set_head(&h->set)->range; in rx_pkt_history_trim_range_count()
657 static int range_contains(const OSSL_QUIC_ACK_RANGE *range, QUIC_PN pn) in range_contains() argument
659 return pn >= range->start && pn <= range->end; in range_contains()
1442 && ossl_list_uint_set_tail(&h->set)->range.start in ackm_has_newly_missing()
1443 == ossl_list_uint_set_tail(&h->set)->range.end in ackm_has_newly_missing()
1444 && ossl_list_uint_set_tail(&h->set)->range.start in ackm_has_newly_missing()
1607 ackm->ack_ranges[pkt_space][i].start = x->range.start; in ackm_fill_rx_ack_ranges()
1608 ackm->ack_ranges[pkt_space][i].end = x->range.end; in ackm_fill_rx_ack_ranges()
/openssl/crypto/bn/
H A Dbn_rand.c142 if (range->neg || BN_is_zero(range)) { in bnrand_range()
153 else if (!BN_is_bit_set(range, n - 2) && !BN_is_bit_set(range, n - 3)) { in bnrand_range()
169 if (BN_cmp(r, range) >= 0) { in bnrand_range()
170 if (!BN_sub(r, r, range)) in bnrand_range()
172 if (BN_cmp(r, range) >= 0) in bnrand_range()
183 while (BN_cmp(r, range) >= 0); in bnrand_range()
196 while (BN_cmp(r, range) >= 0); in bnrand_range()
236 return BN_rand_range(r, range); in BN_pseudo_rand_range()
252 if (range->neg || BN_is_zero(range)) { in ossl_bn_priv_rand_range_fixed_top()
276 while (BN_ucmp(r, range) >= 0); in ossl_bn_priv_rand_range_fixed_top()
[all …]
H A Dbn_rsa_fips186_4.c284 BIGNUM *base, *range; in ossl_bn_rsa_fips186_4_derive_prime() local
289 range = BN_CTX_get(ctx); in ossl_bn_rsa_fips186_4_derive_prime()
315 || !BN_lshift(range, BN_value_one(), bits) in ossl_bn_rsa_fips186_4_derive_prime()
316 || !BN_sub(range, range, base)) in ossl_bn_rsa_fips186_4_derive_prime()
359 if (!BN_priv_rand_range_ex(X, range, 0, ctx) || !BN_add(X, X, base)) in ossl_bn_rsa_fips186_4_derive_prime()
/openssl/crypto/x509/
H A Dv3_asid.c41 ASN1_SIMPLE(ASIdOrRange, u.range, ASRange)
130 a->u.range->min != NULL && a->u.range->max != NULL)); in ASIdOrRange_cmp()
134 b->u.range->min != NULL && b->u.range->max != NULL)); in ASIdOrRange_cmp()
140 int r = ASN1_INTEGER_cmp(a->u.range->min, b->u.range->min); in ASIdOrRange_cmp()
227 aor->u.range->min = min; in X509v3_asid_add_id_or_range()
229 aor->u.range->max = max; in X509v3_asid_add_id_or_range()
255 *min = aor->u.range->min; in extract_min_max()
256 *max = aor->u.range->max; in extract_min_max()
457 a->u.range = r; in ASIdentifierChoice_canonize()
461 a->u.range->max = b_max; in ASIdentifierChoice_canonize()
[all …]
/openssl/include/internal/
H A Duint_set.h34 UINT_RANGE range; member
50 int ossl_uint_set_insert(UINT_SET *s, const UINT_RANGE *range);
58 int ossl_uint_set_remove(UINT_SET *s, const UINT_RANGE *range);
H A Dquic_sf_list.h77 int ossl_sframe_list_insert(SFRAME_LIST *fl, UINT_RANGE *range,
94 UINT_RANGE *range, const unsigned char **data,
116 int ossl_sframe_list_lock_head(SFRAME_LIST *fl, UINT_RANGE *range,
/openssl/doc/man3/
H A DBN_rand.pod22 int BN_rand_range_ex(BIGNUM *rnd, const BIGNUM *range, unsigned int strength,
24 int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
26 int BN_priv_rand_range_ex(BIGNUM *rnd, const BIGNUM *range, unsigned int strength,
28 int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range);
35 int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
63 in the range 0 E<lt>= I<rnd> E<lt> I<range> using the random number
H A DSSL_get_conn_close_info.pod65 /* Inclusive range for handshake-specific errors. */
132 a TLS alert code into a QUIC transport error code by mapping it into the range
133 reserved for such codes by RFC 9000. This range begins at
H A DASN1_ITEM_lookup.pod19 returns NULL if the index I<i> is out of range.
H A DOPENSSL_ia32cap.pod13 OpenSSL supports a range of x86[_64] instruction set extensions. These
19 range of processors. For the moment of this writing following bits are
H A DEVP_PKEY_meth_get_count.pod40 out of range.
H A DDEFINE_STACK_OF.pod107 zero. If I<idx> is out of range then NULL is returned.
145 element or NULL if I<i> is out of range.
152 of range the new element is appended to I<sk>. B<sk_I<TYPE>_insert>() either
171 this will only happen if I<sk> is NULL or I<idx> is out of range.
253 index is out of range.
/openssl/test/recipes/75-test_quicapi_data/
H A Dssltraceref-zlib.txt99 Ack range count: 0
100 First ack range: 0
275 Ack range count: 0
276 First ack range: 0
280 Ack range count: 0
281 First ack range: 1
H A Dssltraceref.txt97 Ack range count: 0
98 First ack range: 0
273 Ack range count: 0
274 First ack range: 0
278 Ack range count: 0
279 First ack range: 1
/openssl/test/
H A Dbn_rand_range.h14 unsigned int range; member
/openssl/include/crypto/
H A Dbn.h92 int ossl_bn_priv_rand_range_fixed_top(BIGNUM *r, const BIGNUM *range,
94 int ossl_bn_gen_dsa_nonce_fixed_top(BIGNUM *out, const BIGNUM *range,
/openssl/doc/designs/quic-design/
H A Dstream-receive-buffers.md105 Each SFRAME_LIST item has range.start and range.end values greater
106 than the range.start and range.end values of the previous item in the list.
/openssl/include/openssl/
H A Dbn.h223 int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength,
225 int BN_rand_range(BIGNUM *rnd, const BIGNUM *range);
226 int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range,
228 int BN_priv_rand_range(BIGNUM *rnd, const BIGNUM *range);
233 int BN_pseudo_rand_range(BIGNUM *rnd, const BIGNUM *range);
557 int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range,
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_connection.csv10 0,server port out of range, -section,, -server,_SERVER_HOST:65536,,,,,BLANK,,,,BLANK,,BLANK,,BLANK,
20 0,proxy port out of range, -section,, -server,_SERVER_HOST:_SERVER_PORT, -proxy,127.0.0.1:65536, -n…
/openssl/demos/certs/
H A DREADME.txt4 The range of command line options can be daunting for a beginner.
/openssl/crypto/perlasm/
H A Darm-xlate.pl123 sub range { subroutine

Completed in 52 milliseconds

123