Assume a situation in which you want do some encryption procedures in your ARM microcontroller. (Receive a file, encrypt with 3DES and some hash functions and returning it, for example.)
As far as I know we have two option here:
- Reinventing the wheel! i.e. writing some functions to do described cryptography algorithms.
- Adding already-written libraries in our project and using their methods simply.
Now I want to benefit from the second solution using OpenSSL libraries. But I'm not sure about it! Is it possible to add these libraries to the IAR IDE? Shall I recompile the OpenSSL source code before adding to my program?
I really appreciate a step-by-step solution.