normal_sum

Function normal_sum 

Source
pub fn normal_sum(buf: &[u8; 512], checksum_offset: usize) -> u32
Expand description

Calculate the normal checksum for a block.

Used for root blocks, entry blocks, etc. The checksum is calculated such that the sum of all longwords equals 0.