Hello!
I'm working on a project that was primarily developed with NCS v2.9.0. The application (using an nRF5340) utilizes BLE mesh and is configured to use TinyCrypt for mesh crypto operations. In migrating to NCS v3.1.1 I noticed that TinyCrypt is being deprecated, now defaulting to Mbed TLS. I understand why the crypto library is being switched, but my problem is now that I have devices I'd like to update that are already programmed and provisioned to established mesh networks, with their stored AppKeys and NetKey encrypted using TinyCrypt.
Since the keys are represented with different structures and, most importantly, different sizes depending on the crypto library (definitions here), keys that were stored on v2.9.0 can't be successfully retrieved on v3.1.1.
Is there a way to migrate a device from v2.9.0 to v3.1.1, switching the BLE mesh crypto library from TinyCrypt to Mbed TLS, without having to deprovision and reprovision them?
Thank you!