Have you had a chance to look at this? https://github.com/Carglglz/mpy-mbedtls/blob/main/example/bthome_v2_encryption.py I was able to build it for ESP32-C3 and I'm doing some tests. If I get positive results, I'll share them with you.