Skip to content

futekast/CRC32_IEEE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRC32_IEEE

Reusable C implementation of CRC-32/IEEE.

Files

  • include/crc32_ieee.h
  • src/crc32_ieee.c
  • examples/main.c

CRC Parameters

Parameter Value
Name CRC-32/ISO-HDLC
Alias CRC-32/IEEE 802.3
Polynomial 0x04C11DB7
Reflected Polynomial 0xEDB88320
Initial Value 0xFFFFFFFF
Input Reflected Yes
Output Reflected Yes
Final XOR 0xFFFFFFFF

Validation

ASCII Check: "123456789" -> 0xCBF43926

HEX Check: 0x12 0x34 0x56 0x78 0x09 -> 0x55404551

Both bitwise and table-based functions are validated against the same expected results.

About

Reusable C implementation of CRC-32/IEEE 802.3 with documented bitwise and table-based calculation methods.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages