Hi All,
I need to do RSA encryption and decryption using nRF52832. I am planning to use mbed TLS library.
Can you please help me to share some example code which can I use as a reference?
Thanks,
Tarun
Hi All,
I need to do RSA encryption and decryption using nRF52832. I am planning to use mbed TLS library.
Can you please help me to share some example code which can I use as a reference?
Thanks,
Tarun
Hi Tarun,
Are you using the nRF5 SDK or the nRF Connect SDK?
Assuming the former, there is no use of RSA in the nRF5 SDK. However, mbed TLS is included as an external library, and it is used by nrf_crypto. You can also use other features of mbed TLS but then you need to adjust the mbed TLS configuration accordingly (if using nrf_crypto the configuration file is <SDK>\external\nrf_tls\mbedtls\nrf_crypto\config\nrf_crypto_mbedtls_config.h.
You can refer to the mbed TLS documentation for RSA encryption and decryption example code.
Hi Einar,
Thanks for response.
Yes I am using nRF5 SDK 15.3.0.
What do you mean by "there is no use of RSA in the nRF5 SDK"?
Thanks,
Tarun
Hi Tarun,
khodidas said:What do you mean by "there is no use of RSA in the nRF5 SDK"?
I mean that the SDK does not have any support for RSA nor any examples that use it.
Thanks Einar for support. Now we are planning to use ECC.