Re: Reduce the instruction overhead of OpenSSL calls

2025-03-04 Thread Daniel Gustafsson
> On 27 Feb 2025, at 14:16, ryanewang(王蕾) wrote: > > Hi, > From the openssl documentation, when the value of ret is greater than 0, the > SSL_get_error() function returns SSL_ERROR_NONE. > So, it seems that when the return value of SSL_read() or SSL_write() function > is greater than 0, we don

Reduce the instruction overhead of OpenSSL calls

2025-02-28 Thread ryanewang(王蕾)
Hi, From the openssl documentation, when the value of ret is greater than 0, the SSL_get_error() function returns SSL_ERROR_NONE.  So, it seems that when the return value of SSL_read() or SSL_write() function is greater than 0, we don't need to make an error judgment.  The attached patch attempts