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.

Scrambling technique to implement data encryption using EDMA3 module



Hi all,

I am actually trying to implement some kind of scrambling technique for data encryption using the EDMA3 module available in the KeyStone devices. I have worked on EDMA extensively and am aware of the indexing and complex shifting operations that it can perform.

I just want to know whether the complex shifting operation can be used to scramble and de-scramble the data (based on a user defined key for encryption and decryption). Well, I know that the EDMA module is not defined for such operation, but I am somehow sure that the EDMA engine can be used to implement it, judging by the complex shifting operation that it can perform. The purpose is to perform this operation in a faster way w/o CPU intervention and hence the EDMA.

Can any TI or non-TI engineers throw some light on it? Can it be done? Is it worth going forward on this.

Thanks and Regards

Sud

  • Sudarshan,

    I do not think, your requirement will meet using EDMA3.
    When you do not want use CPU intervention, can use Linking mechanism.
    This will allow for ping-pong buffering, circular buffering, and repetitive/continuous
    transfers, all with no CPU intervention.

    If you like to go for encryption, please refer the security accelerator (SA).
    I believe the encryption refers to the security accelerator (SA).
    If you are looking SA support on EVM,please go through this thread.
    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/257423/900768.aspx#900768

  • Hi Pubesh,

    Thanks for the response! 

    Yes I'm aware that there are separate hardware co-processors that can perform data encryption. There are also software available which does the AES encryption.

    Well, I just want to use the power of the EDMA3 module to the fullest extent. Since it can perform complex shifting operation, thought I could implement a data scrambling technique. 

    Pubesh, could you just think over a possible algorithm that can do a data scrambling using EDMA3. I just somehow have a feeling that the EDMA3 engine is capable of it. You know they say "Nothing is impossible" !! ☺

    Thanks and Regards,

    Sud

  • Sud,

    As Pubesh mentioned, EDMA3 is primarily being used to off load CPU for data transfer. 

    I am not aware of any data scrambling mechanism provided by TI using EDMA3. But feel free to do some experiments if you think the flexibility provided by EDMA3 will fit your need.