Commit Briefs

d6baa0f6da Omar Polo

remove now unused sha1 handling from inflate and deflate

both were changed to use the new got_hash APIs.


ae25a666dd Omar Polo

add some helper 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. Replace all the SHA1*() usage with the new APIs. It's a preparatory step for sha256 handling. ok stsp@


31e61ec13d Christian Weisgerber

match the unsigned char type used by the zlib interface

ok stsp






2e5a6faddc Stefan Sperling

add mmap support to got-index-pack







23bc48a995 Stefan Sperling

rename got_zstream_* to got_inflate_*


6358180434 Stefan Sperling

rename zbuf to inflate