Fix 64 bit issue in sha1.c

Use uint32_t instead of unsigned long.  Changed unsigned char to uint8_t for consistency.

Note that the length is still a 32 bit value.  At some point, we could change it to a 64 bit value.

Change-Id: Ia3126ee46741d7ec5f6a249fd60b9951a416e929
2 files changed