DCP SHA256 non-blocking

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DCP SHA256 non-blocking

866 Views
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 Kudos
Reply
1 Reply

844 Views
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 Kudos
Reply