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.

SHA256 Software vs Hardware Comparison.

So the other day, I tried gauging the performance of SHA256 hardware acceleration on TM4C running at 16 MHz.

Here are the results (Time taken to hash a single block):

Software SHA256: 1.216 milliseconds or 1216 microseconds.
SHA256 using Hardware Acceleration: 28 microseconds (4200% faster)

For performing SHA256 in software I used this code: http://www.spale.com/download/scrypt/scrypt1.0

More details and test code on my blog post here.

http://www.electronicsfaq.com/2014/01/sha256-on-tiva-c-series-of-cotex-m4.html

Just wanted to share it with everyone since the CCM0 module for SHA256 has not been covered in many forum posts here.

 

  • While your post is nicely presented & detailed - might it benefit by some explanation/detail of the use, application, restrictions (if any) & benefits provided by, "SHA256 in conjunction w/ TM4C?" 

    Likely that your link provides some amplification - but some description here may better motivate your readers...