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.

A problem when running the cryptographic application testecc, in the TMS320C6713 DSK

Good afternoon.In 2013 I ran an application called testecc, based in Miracl library, in a laptop with CCS 5.2.1, and it worked. Yesterday I tried to ran the same application in TMS320C6713 DSK, with the same settings, and I did not worked. How can I make the application works?. Thanks.

PD:In the attached file there is a detailed explanation of the problem.

0246.Problem runnig testecc in TMS320C6713 DSK 24_04_14.docx

  • Mario,

    You are trying to port code from some platform that is not familiar to me, but you say it ran on CCS 5.2.1. What is the processor for this platform on which the code worked?

    Please include your comments on your problems in the post text instead of in an attachment. I usually will not open an attachment, both concerned with malware and with the likelihood of being more complex than I will have time to help with during my weekend time. In your case I did open it but did not find anything to indicate what your problem is that you are asking for help with. You get an error message in the execution of the code, which means you need to debug the code. That will not be my role in this exchange.

    Turn off the optimization to make debugging easier. You can turn it back on once you get the algorithm running, and then get your cycle count that you desire.

    Since octet is not a native type supported by the C compiler, any initialization must be done in accordance with the C compiler's capabilities. When an initialization set is assigned to a variable as in

    Mario Pinto said:
    octet S0={0,sizeof(s0),s0};

    exactly 3 values are assigned to exactly 3 members of the octet data type, for which is not possible for me to determine why your complaints exists in the document.

    Regards,
    RandyP