This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Building an external library for my plattform

 

Hello, I would like to know it this could be possible to do it. I would like to work with RSA encryption, and as this algorithm needs to manage big numbers (2048 bits i.e.), I will need to use some library in order to do that. I have seen that there is some libraries on the web like openSSL and Crypto++ oriented to it, but they usually comes with a makefile using gcc to build it for linux.

I would like to know how could I build it for my plattform (I am using dm4637). I think I will need to use the compiler (cl6x.exe), the assembler and the archiver, but I do not know how exactly I should do it. Could someone give me some help about that? Take in account that I am a completely newbie in this subject, so any help about it would be very useful.

 

Thanks in advance

  • James,

    There is probably no easy way to take something like openSSL and build it for DM6437.  You will at least need to port the code so that is compatible with the 64x+ DSP.  With that said, there are a couple of ways you could try building this.

    The first would be to create a new project in CCS and import all of the files there.  Then you could configure the build settings for the DM6437 target.

    The second way is to use the provided makefiles and replace the gcc compiler with the cl6x compiler.

    Neither of these methods is very straightforward, but it is where I would recommend starting.