Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
It's just less tedious, and we're GCC/LLVM specific anyways.
Don't expose GChecksum in APIs. Add a new stream class which allows us to pass an input stream somewhere, but gather a checksum as it's read. Move some bits of the internals towards binary csums.