What problem does it solve? Writing correct Mbed TLS 4.x code is error-prone: the 4.x release removed manual RNG, renamed key APIs, split configuration across two files, and requires PSA Crypto initialization before any cryptographic operation. This Skill provides verified recipes, API references, and migration guidance so generated TLS/DTLS and X.509 code compiles and behaves correctly. ## Core Features & Use Cases - TLS/DTLS Clients and Servers: Complete call chains for handshake, read/write, session resumption, PSK authentication, DTLS timers, and HelloVerify cookies. - X.509 Operations: Parse and verify certificate chains, generate CSRs, and sign certificates with correct 4.x APIs. - 3.x to 4.x Migration: Replace removed entropy/ctr_drbg code with psa_crypto_init, update renamed APIs, and move crypto configuration to PSA_WANT_* macros. - Use Case: Ask for a DTLS server with cookie-based DoS protection, and receive code with the required timer callbacks, recv_timeout BIO, and client transport ID handling. ## Quick Start Ask the AI to write an Mbed TLS 4.x TLS client that connects to a server, verifies its certificate against a CA chain, and sends an HTTPS request.