Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 12 of 12) sorted by relevance

/openthread-2.7.6/third_party/mbedtls/repo/programs/ssl/
Dssl_context_info.c377 size_t read_next_b64_code( uint8_t **b64, size_t *max_len ) in read_next_b64_code() argument
426 if( len < *max_len ) in read_next_b64_code()
430 else if( *max_len < MAX_BASE64_LEN ) in read_next_b64_code()
434 size_t new_size = ( MAX_BASE64_LEN - 4096 > *max_len ) ? in read_next_b64_code()
435 *max_len + 4096 : MAX_BASE64_LEN; in read_next_b64_code()
444 *max_len = new_size; in read_next_b64_code()
465 else if( len > *max_len ) in read_next_b64_code()
467 printf_err( "The code found is too large by %u bytes.\n", len - *max_len ); in read_next_b64_code()
/openthread-2.7.6/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_client.options2 max_len = 1048575
Dfuzz_dtlsclient.options2 max_len = 1048575
Dfuzz_dtlsserver.options2 max_len = 1048575
Dfuzz_privkey.options2 max_len = 65535
Dfuzz_pubkey.options2 max_len = 65535
Dfuzz_server.options2 max_len = 1048575
Dfuzz_x509crl.options2 max_len = 65535
Dfuzz_x509crt.options2 max_len = 65535
Dfuzz_x509csr.options2 max_len = 65535
/openthread-2.7.6/third_party/mbedtls/repo/library/
Dssl_msg.c210 size_t max_len = MBEDTLS_SSL_OUT_CONTENT_LEN; in ssl_get_remaining_payload_in_datagram() local
215 if( max_len > mfl ) in ssl_get_remaining_payload_in_datagram()
216 max_len = mfl; in ssl_get_remaining_payload_in_datagram()
227 if( max_len <= ssl->out_left ) in ssl_get_remaining_payload_in_datagram()
230 max_len -= ssl->out_left; in ssl_get_remaining_payload_in_datagram()
247 if( remaining >= max_len ) in ssl_get_remaining_payload_in_datagram()
248 remaining = max_len; in ssl_get_remaining_payload_in_datagram()
1782 const size_t max_len = rec->data_len + padlen; in mbedtls_ssl_decrypt_buf() local
1783 const size_t min_len = ( max_len > 256 ) ? max_len - 256 : 0; in mbedtls_ssl_decrypt_buf()
1787 data, rec->data_len, min_len, max_len, in mbedtls_ssl_decrypt_buf()
[all …]
Dssl_tls.c5020 size_t max_len = MBEDTLS_SSL_MAX_CONTENT_LEN; in mbedtls_ssl_get_input_max_frag_len() local
5034 if( read_mfl < max_len ) in mbedtls_ssl_get_input_max_frag_len()
5036 max_len = read_mfl; in mbedtls_ssl_get_input_max_frag_len()
5044 if( read_mfl < max_len ) in mbedtls_ssl_get_input_max_frag_len()
5046 max_len = read_mfl; in mbedtls_ssl_get_input_max_frag_len()
5050 return( max_len ); in mbedtls_ssl_get_input_max_frag_len()
5055 size_t max_len; in mbedtls_ssl_get_output_max_frag_len() local
5060 max_len = ssl_mfl_code_to_length( ssl->conf->mfl_code ); in mbedtls_ssl_get_output_max_frag_len()
5064 ssl_mfl_code_to_length( ssl->session_out->mfl_code ) < max_len ) in mbedtls_ssl_get_output_max_frag_len()
5066 max_len = ssl_mfl_code_to_length( ssl->session_out->mfl_code ); in mbedtls_ssl_get_output_max_frag_len()
[all …]