We have noticed that generating LE Secure keys [nrf_ble_lesc_keypair_generate() ] takes 2.5s. That causes our external, 1s watchdog to trigger. Is there any way to improve performance of the key generation?
Thanks,
J
We have noticed that generating LE Secure keys [nrf_ble_lesc_keypair_generate() ] takes 2.5s. That causes our external, 1s watchdog to trigger. Is there any way to improve performance of the key generation?
Thanks,
J
We use MBED-TLS – Optimization level 0
After switching to
Oberon – Optimization 0/1 we are down to ~45ms
Ah, I never thought to test without optimization. Oberon is distributed as a prebuilt binary, so in that case it will always be built with optimization (by us) regardless of how you build your app.
Ah, I never thought to test without optimization. Oberon is distributed as a prebuilt binary, so in that case it will always be built with optimization (by us) regardless of how you build your app.