[PATCH] commands/crc32: add compare 2 files crc

Peter Korsgaard jacmet at sunsite.dk
Wed Sep 22 15:09:10 EDT 2010


>>>>> "Sascha" == Sascha Hauer <s.hauer at pengutronix.de> writes:

 >> It's sometimes interesting to be able to compare a checksum with a
 >> file on the host (E.G. output of cksum/md5sum/sha1sum/..)

 Sascha> crc32 can output the crc checksum of a file using the -f
 Sascha> option. What Jean-Christophe added is an option to calculate
 Sascha> the checksum of two files (one given with -f and the other with
 Sascha> -F). I just fail to see why this must be done in a single step
 Sascha> instead of using a crc32 followed by a memcmp.

Ahh, ok - Then I don't see any reason for it.

-- 
Bye, Peter Korsgaard



More information about the barebox mailing list