aboutsummaryrefslogtreecommitdiff
path: root/07e583bcbd09ba4852193e6732136148fef1022b
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2021-04-14 13:34:28 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2021-04-19 10:09:53 +0300
commit994c22698fa9617ca918f904684066096858f287 (patch)
treebeb904f1f901905a3ae399c6bd620648ffcfa907 /07e583bcbd09ba4852193e6732136148fef1022b
parent6f50e77074fa5c42cb60bfd55be882efcbffccc9 (diff)
downloadodp-994c22698fa9617ca918f904684066096858f287.tar.gz
validation: hash: add Ethernet frame CRC tests
Test odp_hash_crc32() correctness with Ethernet test packets that include a correct Ethernet FCS at the end of the packet (last 4 bytes). When CRC32 calculation includes FCS, the result (0xdebb20e3) is common for all packets. Verify CRC32 calculation also in odd data alignment. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to '07e583bcbd09ba4852193e6732136148fef1022b')
0 files changed, 0 insertions, 0 deletions