Topic: Using MD5 vs SHA-2 for firmware image integrity check
Hello:
I'm using WolfSSL 3.9 and TLS1.2 running on a Cortex M4 @ 120MHz. Also using ATMEL ATECC508A crypto chip.
I'm downloading firmware to the flash and I need to verify image integrity. I was thinking on using Hash algorithm to verify the integrity. Should I use MD5 (deprecated) instead of SHA-256/512 to have better performance? Since this is an integrity check, I thought using MD5 wouldn't be a problem... Is this correct? Any advise?
Note: firmware image size is ~ 300KBytes.
Thanks
Gus