2025-07-03 11:03 AM - edited 2025-07-03 11:05 AM
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.
Solved! Go to Solution.
2025-07-03 11:29 AM
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
2025-07-03 11:18 AM - edited 2025-07-03 11:18 AM
> 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
2025-07-03 11:29 AM
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