Home
last modified time | relevance | path

Searched refs:SIZE_MAX (Results 1 – 25 of 64) sorted by relevance

123

/openssl/test/
H A Dsafe_math_test.c217 { SIZE_MAX, 1, 1, 0, 0, 0, 0, 0 },
218 { SIZE_MAX, 2, 1, 0, 1, 0, 0, 0 },
219 { SIZE_MAX, 8, 1, 0, 1, 0, 0, 0 },
220 { SIZE_MAX - 3, 8, 1, 0, 1, 0, 0, 0 },
221 { 1, SIZE_MAX, 1, 1, 0, 0, 0, 0 },
222 { 2, SIZE_MAX, 1, 1, 1, 0, 0, 0 },
H A Dconstant_time_test.c46 0, 1, 1024, 12345, 32000, SIZE_MAX / 2 - 1,
47 SIZE_MAX / 2, SIZE_MAX / 2 + 1, SIZE_MAX - 1,
48 SIZE_MAX
H A Dquic_record_test.c2222 SIZE_MAX, SIZE_MAX
2449 SIZE_MAX, SIZE_MAX
2485 SIZE_MAX, SIZE_MAX
2501 3, SIZE_MAX,
2523 0, SIZE_MAX,
2545 0, SIZE_MAX,
2822 if (t->pn_offset == SIZE_MAX) { in test_wire_pkt_hdr_actual()
2830 if (t->sample_offset != SIZE_MAX) { in test_wire_pkt_hdr_actual()
2851 if (t->sample_offset != SIZE_MAX) { /* if packet type has protection */ in test_wire_pkt_hdr_actual()
H A Dsanitytest.c114 if (SIZE_MAX < INT_MAX) { in test_sanity_range()
120 if (SIZE_MAX - INT_MAX <= INT_MAX) { in test_sanity_range()
H A Dbioprinttest.c116 { SIZE_MAX, "%zu", (sizeof(size_t) == 4 ? "4294967295"
123 { SIZE_MAX / 2 + 1, "%zi", (sizeof(size_t) == 4 ? "-2147483648"
H A Dquic_cc_test.c394 if (sz > SIZE_MAX) in test_simulate()
395 sz = SIZE_MAX; in test_simulate()
492 size_t mdpl = 1472, diag_mdpl = SIZE_MAX; in test_sanity()
H A Dpriority_queue_test.c100 if (values[i] != SIZE_MAX) { in test_size_t_priority_queue_int()
104 values[i] = SIZE_MAX; in test_size_t_priority_queue_int()
H A Dquic_wire_test.c123 SIZE_MAX) in encode_case_3_dec()
126 SIZE_MAX)) in encode_case_3_dec()
273 if (!TEST_uint64_t_le(f.len, SIZE_MAX)) in encode_case_6_dec()
367 if (!TEST_uint64_t_le(f.len, SIZE_MAX)) in encode_case_8_dec()
422 if (!TEST_uint64_t_le(f.len, SIZE_MAX)) in encode_case_9_dec()
H A Dcc_dummy.c99 return SIZE_MAX; in dummy_get_tx_allowance()
H A Dwpackettest.c151 || !TEST_true(WPACKET_set_max_size(&pkt, SIZE_MAX)) in test_WPACKET_set_max_size()
153 || !TEST_true(WPACKET_set_max_size(&pkt, SIZE_MAX -1)) in test_WPACKET_set_max_size()
155 || !TEST_true(WPACKET_set_max_size(&pkt, SIZE_MAX)) in test_WPACKET_set_max_size()
/openssl/ssl/quic/
H A Dquic_rstream.c183 #if SIZE_MAX < UINT64_MAX in ossl_quic_rstream_available()
184 *avail = avail_ > SIZE_MAX ? SIZE_MAX : (size_t)avail_; in ossl_quic_rstream_available()
240 if (read_len != SIZE_MAX) in ossl_quic_rstream_release_record()
H A Dquic_rcidm.c243 #define MAX_NUMBERED_RCIDS (SIZE_MAX / 2)
255 == (rcid->pq_idx != SIZE_MAX)); in rcidm_check_rcid()
370 rcid->pq_idx = SIZE_MAX; in rcidm_create_rcid()
396 rcid->pq_idx = SIZE_MAX; in rcidm_transition_rcid()
H A Dquic_wire.c156 || f->len > SIZE_MAX /* sizeof(uint64_t) > sizeof(size_t)? */ in ossl_quic_wire_encode_frame_crypto()
238 || f->len > SIZE_MAX /* sizeof(uint64_t) > sizeof(size_t)? */) in ossl_quic_wire_encode_frame_stream()
536 if (ack_range_count > SIZE_MAX /* sizeof(uint64_t) > sizeof(size_t)? */) in ossl_quic_wire_decode_frame_ack()
631 || f->len > SIZE_MAX /* sizeof(uint64_t) > sizeof(size_t)? */) in ossl_quic_wire_decode_frame_crypto()
663 if (token_len_ > SIZE_MAX) in ossl_quic_wire_decode_frame_new_token()
721 if (f->len > SIZE_MAX /* sizeof(uint64_t) > sizeof(size_t)? */ in ossl_quic_wire_decode_frame_stream()
877 || reason_len > SIZE_MAX) in ossl_quic_wire_decode_frame_conn_close()
929 if (len_ > SIZE_MAX in ossl_quic_wire_decode_transport_param_bytes()
H A Dquic_record_tx.c221 if (alloc_len >= SIZE_MAX - sizeof(TXE)) in qtx_alloc_txe()
270 if (n >= SIZE_MAX - sizeof(TXE)) in qtx_resize_txe()
554 src_len = iovec_cur_get_buffer(cur, &src, SIZE_MAX); in qtx_encrypt_into_txe()
699 src_len = iovec_cur_get_buffer(&cur, &src, SIZE_MAX); in qtx_write()
/openssl/include/internal/
H A Dnumbers.h99 # ifndef SIZE_MAX
100 # define SIZE_MAX __MAXUINT__(size_t) macro
H A Dpacket_quic.h108 length > SIZE_MAX || in PACKET_get_quic_length_prefixed()
/openssl/providers/implementations/kdfs/
H A Dscrypt.c294 return OSSL_PARAM_set_size_t(p, SIZE_MAX); in kdf_scrypt_get_ctx_params()
423 #ifndef SIZE_MAX
424 # define SIZE_MAX ((size_t)-1) macro
511 if (maxmem > SIZE_MAX) in scrypt_alg()
512 maxmem = SIZE_MAX; in scrypt_alg()
/openssl/crypto/
H A Dpacket.c61 if (reflen > SIZE_MAX / 2) { in WPACKET_reserve_bytes()
62 newlen = SIZE_MAX; in WPACKET_reserve_bytes()
98 return SIZE_MAX; in maxmaxsize()
193 pkt->maxsize = SIZE_MAX; in WPACKET_init_null_der()
/openssl/crypto/bio/
H A Dbio_lib.c725 #if LONG_MAX > SIZE_MAX in BIO_ctrl_pending()
726 if (ret > SIZE_MAX) in BIO_ctrl_pending()
727 ret = SIZE_MAX; in BIO_ctrl_pending()
738 #if LONG_MAX > SIZE_MAX in BIO_ctrl_wpending()
739 if (ret > SIZE_MAX) in BIO_ctrl_wpending()
740 ret = SIZE_MAX; in BIO_ctrl_wpending()
/openssl/crypto/evp/
H A Dpbe_scrypt.c30 # define SCRYPT_MAX_MEM (SIZE_MAX/2)
/openssl/crypto/comp/
H A Dc_brotli.c511 #if INT_MAX > SIZE_MAX in bio_brotli_read()
512 if ((unsigned int)outl > SIZE_MAX) { in bio_brotli_read()
582 #if INT_MAX > SIZE_MAX in bio_brotli_write()
583 if ((unsigned int)inl > SIZE_MAX) { in bio_brotli_write()
/openssl/include/openssl/
H A De_os2.h210 # define OSSL_SSIZE_MAX ((ssize_t)(SIZE_MAX>>1))
/openssl/crypto/stack/
H A Dstack.c24 static const int max_nodes = SIZE_MAX / sizeof(void *) < INT_MAX
25 ? (int)(SIZE_MAX / sizeof(void *)) : INT_MAX;
/openssl/doc/designs/
H A Dfast-param-find.md91 'field' => "SIZE_MAX",
328 if (!OSSL_PARAM_set_size_t(p, SIZE_MAX))
/openssl/providers/implementations/exchange/
H A Dkdf_exch.c115 if (kdfsize != SIZE_MAX) { in kdf_derive()

Completed in 121 milliseconds

123