I want to use RSA encryption between the nRF52 and the phone, is this possible? Can RSA encryption be ported to nRF52?
I want to use RSA encryption between the nRF52 and the phone, is this possible? Can RSA encryption be ported to nRF52?
To your first question: yes, everything is possible, whatever you write on APPlicatio layer is your business. To the second question: yes, there are libraries like PolarSSL/mbed TLS which are having RSA in SW. However these things are notoriously slow wo unless you are fine with that you should think about at least migrating to ECC (some SW implementations are in order of magnitude faster then RSA) and/or utilize HW functions of ARM CC310 on nRF52840 chip.
how to solve dirent.h error for same.I cant use RSA encryption with mbedTLS in nrf52832.
It is very unclear what you are talking about here. I think you should add a new question and explain a bit more about what you are doing.