diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-04-27 17:48:44 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-05-05 11:45:45 +0000 |
commit | ce38084db66858e9bdd787439d8156e6ec53fbfe (patch) | |
tree | cdc418bfcb566b0c5a52ed516e194c317845092c /src/soc | |
parent | 045fbf138acafc9af6520c5067837210efd7dc49 (diff) |
tests/lib/crc_byte-test: Fix incorrect variable types
Some crc16_byte() and crc32_byte() tests had uint8_t instead of uint16_t
or uint32_t. That caused CRC values to be truncated and made tests
incorrect.
Also fix incorrect pre-calculated CRC values and change test buffer name
to more the accurate.
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: I61ee029a6950a8dfeb54520b634eaf4ed6bac576
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52708
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'src/soc')
0 files changed, 0 insertions, 0 deletions