Hi
Does anyone know if there's an efficient implementation of SHA-1 for the 8051? Preferably one that *doesn't* need stdint.h.
Thanks
A sha-1 implementation that includes <stdint.h> will not require much magic from that file. So it's not many minutes to supply the corresponding information yourself if you use a compiler that doesn't have stdint.h.
Focus on algorithms that works with small integer sizes, and don't worry if <stdint.h> is used or not. And hope for an algorithm that avoids too much pointer indirections - especially pointer-indirections with additional offset.
The 8051 will have to suffer for 16-bit and suffer extremely for 32-bit integers. And it has poor pointer support, so *(p+10) or p1[*p2++] means extra work.