Master the Raspberry Pi Pico in C: WiFi with LwIP, MbedTLS & FreeRTOS, Second Ed
The problem of IoT security is unique because IoT devices can be physically accessed by an attacker. Each of these chapters includes example programs which do the basics of the task. Subtitle WiFi with LwIP, MbedTLS & FreeRTOS, Second Edition.