Commit Briefs


Omar Polo

add functions to compute hashes

This adds a set of functions to abstract over SHA1Init, SHA1Update, SHA1Final, their respective SHA256 variants and how to compare digests. It's a preparatory step for sha256 pack handling.


Omar Polo

provide functions to parse/serialize sha256 digest plus a generic helper

it abstracts over the hash type. Needed by the incoming sha256 support.


Omar Polo

rename lib/sha1.c to lib/hash.c