summaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/libc/ipchecksum.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2024-01-30 17:12:30 -0800
committerJulius Werner <jwerner@chromium.org>2024-02-02 22:48:37 +0000
commitd385113cc4d5ccaf1558c1984d63251c5c82b123 (patch)
treece6fc2a8aabd81b46a9dc8a839d249fbd4d5b452 /payloads/libpayload/libc/ipchecksum.c
parentde37109767b6b415778f34cbac196c8418f7e371 (diff)
downloadcoreboot-d385113cc4d5ccaf1558c1984d63251c5c82b123.tar.gz
coreboot-d385113cc4d5ccaf1558c1984d63251c5c82b123.tar.bz2
coreboot-d385113cc4d5ccaf1558c1984d63251c5c82b123.zip
tests: Add some more ipchksum() test cases
This patch adds a few more test cases for the IP checksum algorithm to catch more possible corner cases (large data with more than 64K carries, unaligned data, checksum addition with offset, etc.). Change-Id: I39b4d3f1bb833894985649872329eec88a02a22c Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80252 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Jakub Czapiga <czapiga@google.com>
Diffstat (limited to 'payloads/libpayload/libc/ipchecksum.c')
0 files changed, 0 insertions, 0 deletions