Currently I am developing application which run on nRF52832. In this application I have to decode and encode messages using RSA 2048-bit keys pair. Currently I am using ARM MBED library and software solution. Unfortunately it takes at least 8 s to decode message what is far to much for me. I am curious if changing microcontroller to one with hardware crypto module will make it faster. Could you provide me informations how much it takes to perform encoding and decoding operations or nRF52840 or nRF9160 with hardware module. Assumption here is that encryption is still done with pair of RSA 2048-bit keys.