diff options
| author | Benny Halevy <bhalevy@fs1.bhalevy.com> | 2007-11-08 21:34:09 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-08 21:34:09 +0800 |
| commit | ef19454bd437b2ba14c9cda1de85debd9f383484 (patch) | |
| tree | 842280a85e54d735bf31e1bba17e6fc88c990df0 /scripts/patch-kernel | |
| parent | Linux 2.6.24-rc2 (diff) | |
| download | linux-ef19454bd437b2ba14c9cda1de85debd9f383484.tar.gz linux-ef19454bd437b2ba14c9cda1de85debd9f383484.zip | |
[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 <bhalevy@fs1.bhalevy.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
