Re:ESP32-C5: Espressif’s First Dual-Band Wi-Fi 6 MCU
by jeroenhd on Wednesday June 22, 2022 @06:37PM
(#31842757)
If you have control over the software I think you can get significant size shavings by throwing out everything but the most recent TLS 1.3 protocol, use certificate pinning to not need the full CA cert list and remove things like session resumption, client side certificate authentication, you name it.
The MQTT overhead with the right security layer on top (i.e. 0-RTT TLS with extra checking on the backend to prevent replay attacks) should be quite minimal. There's a computational overhead for calculating the keys of course but the algorithm itself shouldn't need too many extra bytes. Similarly, CoAP + DTLS also lends itself to quite little network overhead.
The MQTT overhead with the right security layer on top (i.e. 0-RTT TLS with extra checking on the backend to prevent replay attacks) should be quite minimal. There's a computational overhead for calculating the keys of course but the algorithm itself shouldn't need too many extra bytes. Similarly, CoAP + DTLS also lends itself to quite little network overhead.