commit | 2b4888a46ae73eb1261efc924ac13fe2faa6c480 | [log] [tgz] |
---|---|---|
author | Adenilson Cavalcanti <adenilson.cavalcanti@arm.com> | Thu Aug 01 17:28:10 2019 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 01 17:28:10 2019 +0000 |
tree | 12fef488964ff75b5c51a00fff6dca0a59e77cdd | |
parent | 796333a8c3c26e74b05b2b9f993a9c9315f96c5d [diff] |
Using the same hash function in compression on both x86 and ARM On Intel the instruction used is CRC-32C (Castagnoli), which uses a different polynomial than 'traditional' crc32 deployed in zlib. Fortunately ARM has instructions for both polynomials, so this patch will ensure that compressed content using Chromium's zlib will match i.e. checksums should be the same. Bug: https://issuetracker.google.com/115695768 Change-Id: Ia22bc150e89afa345a6d3149c30332a6c1e7934d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1726551 Commit-Queue: Adenilson Cavalcanti <cavalcantii@chromium.org> Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#683225} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 1fa3786817bbf78bcfee9d8675b588ab9fb0b248