Skip to content

Commit ad867db

Browse files
committed
uefi-raw: table: correct CRC polynomial docs
EFI_TABLE_HEADER uses the standard CRC-32 polynomial 0x04c11db7. The old comment named CRC-32C/Castagnoli instead. Spec: https://uefi.org/specs/UEFI/2.11/ Ref: 4.2.1 EFI_TABLE_HEADER. Assisted-by: Codex:GPT-5.5
1 parent 5d35b33 commit ad867db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uefi-raw/src/table/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub struct Header {
1212
pub revision: Revision,
1313
/// The size in bytes of the entire table.
1414
pub size: u32,
15-
/// 32-bit CRC-32-Castagnoli of the entire table,
15+
/// 32-bit CRC of the entire table using polynomial `0x04c11db7`,
1616
/// calculated with this field set to 0.
1717
pub crc: u32,
1818
/// Reserved field that must be set to 0.

0 commit comments

Comments
 (0)