2025-07-08 11:09 PM
Hello,
I'm trying to use the HAL function to calculate a file MD5 on my STM32H750 MCU. I successully managed to calculate the MD5 of little files using HAL_HASH_MD5_Start. Now I want to calculate the MD5 of a large file, so I'm not able to store all the file content in RAM. How to use the HAL functions to calculate the MD5 in chunk?
Thank you in advance,
Matteo
Solved! Go to Solution.
2025-07-08 11:53 PM
I solved it using HAL_HASH_MD5_Accmlt and HAL_HASH_MD5_Accmlt_End for the last chunk.
2025-07-08 11:53 PM
I solved it using HAL_HASH_MD5_Accmlt and HAL_HASH_MD5_Accmlt_End for the last chunk.