From: Benny Halevy Date: Thu, 8 Nov 2007 13:34:09 +0000 (+0800) Subject: [LIB] crc32c: Keep intermediate crc state in cpu order X-Git-Tag: v2.6.24-rc3~173^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef19454bd437b2ba14c9cda1de85debd9f383484;p=pandora-kernel.git [LIB] crc32c: Keep intermediate crc state in cpu order crypto/crc32.c:chksum_final() is computing the digest as *(__le32 *)out = ~cpu_to_le32(mctx->crc); so the low-level crc32c_le routines should just keep the crc in cpu order, otherwise it is getting swabbed one too many times on big-endian machines. Signed-off-by: Benny Halevy Signed-off-by: Herbert Xu --- Reading git-diff-tree failed