My platform: P1020, linux 3.0.51
Linux Driver: driver/crypto/talitos.c
I want to do CRC using Security Engine 'cryto' in kernel because I have so many data and CRC must be complete in very little time. As I know that P1020 has security engine and can do these very quickly. I have learned that there is a function 'talitos_submit' which I can use, but I don't know how to do this, what to fill the input parameter and where to get the crc's result.
1. How to use DMA when do this opration? In the file talitos.c, I see that only setting the DMA address to desc before submit 'GO' to channel fetch fifo register in talitos_submit (). My question: where to trigger DMA start?
2. About using descriptor type 0001_0 with CRCU. And CRCU Mode Register ALG is '10 Static custom mode.'. My question is that do I need to config CRCU register, betore writing polynomial to CRCU Key Register? Is there a example just like &3.14 in file AN3645.pdf?