esp-idf/components/mbedtls/port/dynamic
Dong Heng 1c9592efc4 fix(mbedtls): fix mbedtls dynamic resource memory leaks and RSA cert drop earlier
RX process caches the session information in "ssl->in_ctr" not in "ssl->in_buf".
So when freeing the SSL, can't free the "ssl->in_ctr", because the "ssl->in_buf"
is empty.

Make the RX process like TX process, and cache the session information in
"ssl->in_buf", so that the cache buffer can be freed when freeing the SSL.

Closes https://github.com/espressif/esp-idf/issues/6104
2020-11-19 07:31:50 +00:00
..
esp_mbedtls_dynamic_impl.c fix(mbedtls): fix mbedtls dynamic resource memory leaks and RSA cert drop earlier 2020-11-19 07:31:50 +00:00
esp_mbedtls_dynamic_impl.h fix(mbedtls): fix mbedtls dynamic resource memory leaks and RSA cert drop earlier 2020-11-19 07:31:50 +00:00
esp_ssl_cli.c fix(mbedtls): fix mbedtls dynamic resource memory leaks and RSA cert drop earlier 2020-11-19 07:31:50 +00:00
esp_ssl_srv.c feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost 2020-05-14 11:45:09 +00:00
esp_ssl_tls.c fix(mbedtls): fix mbedtls dynamic resource memory leaks and RSA cert drop earlier 2020-11-19 07:31:50 +00:00