Lines Matching refs:msg_len
4227 size_t msg_len; in ssl_parse_client_hello() local
4271 msg_len = ( ssl->in_len[0] << 8 ) | ssl->in_len[1]; in ssl_parse_client_hello()
4277 msg_len = ssl->in_hslen; in ssl_parse_client_hello()
4282 if( msg_len > MBEDTLS_SSL_IN_CONTENT_LEN ) in ssl_parse_client_hello()
4288 5 /*mbedtls_ssl_in_hdr_len( ssl )*/ + msg_len ) ) != 0 ) in ssl_parse_client_hello()
4305 if( msg_len < 4 /*mbedtls_ssl_hs_hdr_len( ssl )*/ ) in ssl_parse_client_hello()
4317 msg_len != 4u /*mbedtls_ssl_hs_hdr_len( ssl )*/ + ( ( buf[2] << 8 ) | buf[3] ) ) in ssl_parse_client_hello()
4323 msg_len -= 4; /* mbedtls_ssl_hs_hdr_len( ssl ); */ in ssl_parse_client_hello()
4346 if( msg_len < 38 ) in ssl_parse_client_hello()
4364 sess_len + 34 + 2 > msg_len ) /* 2 for cipherlist length field */ in ssl_parse_client_hello()
4378 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */ in ssl_parse_client_hello()
4393 comp_len + comp_offset + 1 > msg_len ) in ssl_parse_client_hello()
4408 if( msg_len > ext_offset ) in ssl_parse_client_hello()
4410 if( msg_len < ext_offset + 2 ) in ssl_parse_client_hello()
4418 if( msg_len != ext_offset + 2 + ext_len ) in ssl_parse_client_hello()