Hi!
For an embedded project I have to implement the md5-algorithm on a 8052 CPU. First I thought it might be a more or less easy task, but after looking a little deeper into the problem I got in touch with a few problems:
- 8052 is only a 16 bit processor. Most md5 (reference) implementations are based on 32 biut
- For my project I only have 32k of flash memory. If I use one of the available implementatios with stdlib/stdio, I get an executeable which is about 21k to 25k big - maybe a lot too much.
Does anyone has an idea in which direction to look for a solution? Did some other guys here some work with md5 on very small and/or limited embedded platforms?
Further I also want to investigate SHA1, but for the beginning md5 should be enough. :)
Cheers Markus