/openssl/test/ |
H A D | safe_math_test.c | 217 { 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 D | constant_time_test.c | 46 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 D | quic_record_test.c | 2222 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 D | sanitytest.c | 114 if (SIZE_MAX < INT_MAX) { in test_sanity_range() 120 if (SIZE_MAX - INT_MAX <= INT_MAX) { in test_sanity_range()
|
H A D | bioprinttest.c | 116 { SIZE_MAX, "%zu", (sizeof(size_t) == 4 ? "4294967295" 123 { SIZE_MAX / 2 + 1, "%zi", (sizeof(size_t) == 4 ? "-2147483648"
|
H A D | quic_cc_test.c | 394 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 D | priority_queue_test.c | 100 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 D | quic_wire_test.c | 123 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 D | cc_dummy.c | 99 return SIZE_MAX; in dummy_get_tx_allowance()
|
H A D | wpackettest.c | 151 || !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 D | quic_rstream.c | 183 #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 D | quic_rcidm.c | 243 #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 D | quic_wire.c | 156 || 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 D | quic_record_tx.c | 221 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 D | numbers.h | 99 # ifndef SIZE_MAX 100 # define SIZE_MAX __MAXUINT__(size_t) macro
|
H A D | packet_quic.h | 108 length > SIZE_MAX || in PACKET_get_quic_length_prefixed()
|
/openssl/providers/implementations/kdfs/ |
H A D | scrypt.c | 294 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 D | packet.c | 61 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 D | bio_lib.c | 725 #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 D | pbe_scrypt.c | 30 # define SCRYPT_MAX_MEM (SIZE_MAX/2)
|
/openssl/crypto/comp/ |
H A D | c_brotli.c | 511 #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 D | e_os2.h | 210 # define OSSL_SSIZE_MAX ((ssize_t)(SIZE_MAX>>1))
|
/openssl/crypto/stack/ |
H A D | stack.c | 24 static const int max_nodes = SIZE_MAX / sizeof(void *) < INT_MAX 25 ? (int)(SIZE_MAX / sizeof(void *)) : INT_MAX;
|
/openssl/doc/designs/ |
H A D | fast-param-find.md | 91 'field' => "SIZE_MAX", 328 if (!OSSL_PARAM_set_size_t(p, SIZE_MAX))
|
/openssl/providers/implementations/exchange/ |
H A D | kdf_exch.c | 115 if (kdfsize != SIZE_MAX) { in kdf_derive()
|