Searched refs:max_len (Results 1 – 12 of 12) sorted by relevance
377 size_t read_next_b64_code( uint8_t **b64, size_t *max_len ) in read_next_b64_code() argument426 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()
2 max_len = 1048575
2 max_len = 65535
210 size_t max_len = MBEDTLS_SSL_OUT_CONTENT_LEN; in ssl_get_remaining_payload_in_datagram() local215 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() local1783 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 …]
5020 size_t max_len = MBEDTLS_SSL_MAX_CONTENT_LEN; in mbedtls_ssl_get_input_max_frag_len() local5034 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() local5060 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 …]