cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H563 MD5 Hash Support

musicmindmachine
Associate III

Trying to get MD5 hash acceleration working on the Nucleo-H563Zi.

 

I can get SHA1 hash engine to work via bootstrapping a project via CubeMX, but for some reason MD5 is not a selectable option for the hashing algorithm in CubeMX.  All other algorithms can be configured and work, but MD5 is not an option.

 

The Datasheet for the STM32H562/3 says that the Crypto engine offers a MD5 hash, but I can't seem to configure it via CubeMX or by updating the generated code in hash.c to select the MD5 algorithm within MX_Hash_Init().

 

Is MD5 not supported on the H5?  There are no MD5 examples in the github example repo despite the datasheet claiming the crypto/hash accelerator supports MD5.

1 ACCEPTED SOLUTION

Accepted Solutions
musicmindmachine
Associate III

Thanks for following up!

You're right, it looks like the 562/562 don't have MD5 as a hashing algo.  I swear I saw it listed in the algorithms, but I guess I misread it from somewhere else.  Thanks

View solution in original post

2 REPLIES 2
TDK
Super User

> The Datasheet for the STM32H562/3 says that the Crypto engine offers a MD5 hash

I can't find any information in the datasheet or reference manual which says MD5 algorithm is supported by the HASH peripheral on this chip. Can you provide a link and page number or screenshot?

https://www.st.com/resource/en/datasheet/stm32h562ag.pdf

 

If you feel a post has answered your question, please click "Accept as Solution".
musicmindmachine
Associate III

Thanks for following up!

You're right, it looks like the 562/562 don't have MD5 as a hashing algo.  I swear I saw it listed in the algorithms, but I guess I misread it from somewhere else.  Thanks