Originally posted by smitty3268
View Post
Announcement
Collapse
No announcement yet.
EXT4 In Linux 3.5 Gets CRC32 Meta-Data
Collapse
X
-
-
Originally posted by smitty3268 View PostYou could replace it with SHA-1, but what would that give you? A much more complicated and CPU-taxing algorithm, and nothing else. Crypto hashes have to be a lot more complicated so that small changes to the data provide pseudo-random changes to the hash that can't be reverse-engineered. There's isn't a single good reason to want that overhead in an integrity check.
Comment
-
Does it checksum metadata only? Is there checksum support for file's data?
Also, CRC32 seems a little bit weak.
As far as i know, CRC32 is used by many hardware internally for error correction.
When data corrupted and undetected in hardware level (which means the hardware CRC32 test probably passed without error), i doubt how reliable that ext4's CRC32 can detect corruption.
At least an alternative implementation of MD5 should be provided, the overhead should be acceptable if those crypto library are written in SIMD instruction (MMX, SSE)Last edited by unknown2; 21 July 2012, 08:35 PM.
Comment
Comment