AnsweredAssumed Answered

STM32F2 SHA1 Hashing

Question asked by chrisc on Dec 13, 2012
Latest reply on Dec 21, 2012 by lowpowermcu
Hi,

I am trying to integrate STM32F2 SHA1 support into an existing crypto API that is structured with three main functions:

sha_init
sha_update
sha_final

It appears from the STM32F2 SHA1 example code that the HASH processor is meant to be used in one step - for example, making only one call to create a SHA1 hash.  What would be the best way to break STM32F2 SHA1 hashing up between three functions (as shown above)?

Thanks,
Chris

Outcomes