pub fn validate_checksum( buf: &mut [u8], dest: &Path, checksum: &Checksum, ) -> Result<(), ChecksumError>
Validates the checksum of a single file