fixing incorrect buffer size allocation, and unsafe integer size type
switching from unreliable typedefs to precisely sized uint32_t and uint64_t
Merge pull request #42 from slowriot/master

SHA1 library: fixing incorrect buffer size allocation, and unsafe integer size type