Does "mbedtls_ssl_read" wait for reading data when there is nothing to read from the connection?

Hi, I’ve got the same question with the subject of this topic.

Thank you for your support in advance.