Skip to content

Integrate meta-seco-bsp/ap/crc32

Commit: clea-os/layers/seco/meta-seco-bsp@1a2780f6

[SYSDATA] crc: add CRC-32 implementation

The default CRC-32C implementation uses polynomial 0x1edc6f41 and gives a different output than the user space and U-boot SYSDATA utilities which use the 0x04c11db7 polynomial.

Add function grub_getcrc32 which uses 0x04c11db7 and use it from sysdata.

This patch preserves grub_getcrc32c for backward compatibility.

Signed-off-by: Alessandro Pecugi alessandro.pecugi@seco.com

Merge request reports

Loading