mbedTLS v4 has various API changes, so we can't currently use it. See https://github.com/Mbed-TLS/mbedtls/blob/development/docs/4.0-migration-guide.md for more information.