Lines Matching refs:msg_len

1123     size_t msg_len, ciph_len, sess_len, comp_len, ext_len;  in ssl_parse_client_hello()  local
1241 msg_len = ( ssl->in_len[0] << 8 ) | ssl->in_len[1]; in ssl_parse_client_hello()
1247 msg_len = ssl->in_hslen; in ssl_parse_client_hello()
1252 if( msg_len > MBEDTLS_SSL_IN_CONTENT_LEN ) in ssl_parse_client_hello()
1259 mbedtls_ssl_in_hdr_len( ssl ) + msg_len ) ) != 0 ) in ssl_parse_client_hello()
1268 ssl->next_record_offset = msg_len + mbedtls_ssl_in_hdr_len( ssl ); in ssl_parse_client_hello()
1276 MBEDTLS_SSL_DEBUG_BUF( 4, "record contents", buf, msg_len ); in ssl_parse_client_hello()
1278 ssl->handshake->update_checksum( ssl, buf, msg_len ); in ssl_parse_client_hello()
1288 if( msg_len < mbedtls_ssl_hs_hdr_len( ssl ) ) in ssl_parse_client_hello()
1307 msg_len != mbedtls_ssl_hs_hdr_len( ssl ) + ( ( buf[2] << 8 ) | buf[3] ) ) in ssl_parse_client_hello()
1360 msg_len -= mbedtls_ssl_hs_hdr_len( ssl ); in ssl_parse_client_hello()
1383 if( msg_len < 38 ) in ssl_parse_client_hello()
1434 sess_len + 34 + 2 > msg_len ) /* 2 for cipherlist length field */ in ssl_parse_client_hello()
1459 if( cookie_offset + 1 + cookie_len + 2 > msg_len ) in ssl_parse_client_hello()
1517 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */ in ssl_parse_client_hello()
1538 comp_len + comp_offset + 1 > msg_len ) in ssl_parse_client_hello()
1559 if( msg_len > ext_offset ) in ssl_parse_client_hello()
1561 if( msg_len < ext_offset + 2 ) in ssl_parse_client_hello()
1572 if( msg_len != ext_offset + 2 + ext_len ) in ssl_parse_client_hello()