DCP SHA256 non-blocking

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DCP SHA256 non-blocking

894 次查看
alex_moua
Contributor I

Hello,

We are currently trying to utilize DCP for the SHA256 function. I have noticed that there is not currently a non-blocking version of the function like the AES function currently has. Is it possible to modify the code to allow the SHA256 function be non-blocking?

 

A collogue of mine posted a post earlier relating to this topic.

Here is the link for refferance.

https://community.nxp.com/t5/i-MX-RT/Interrupt-for-Data-Co-Processor-DCP-NonBlocking-API-s/m-p/12222...

 

Thank you,

Alex

0 项奖励
回复
1 回复

872 次查看
ffm
Contributor III

I think that you can get the same features in terms of asynchron execution as your collegue for the cipher operation if cou change the implementation to use interrupts instead of polling the status. You might even get basic asynchron behaviour without interrupts if you instead of waiting for completion regularily poll the status flags from a cyclicly called function or cyclic task.

0 项奖励
回复