esp-rs / esp-mbedtls

mbedtls for ESP32 bare-metal
Apache License 2.0
17 stars 7 forks source link

Use `mbedtls_x509_crt_parse_der_nocopy()` when certificate is in DER format #32

Closed AnthonyGrondin closed 1 month ago

AnthonyGrondin commented 1 month ago

Built on top of #30

Fix #17

I've measured the free heap size while using async_server.rs to compare between DER and PEM in local experiments, and this saves about 1KB of heap memory taken by a session.