Skip to content

futekast/CRC16_ARC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRC16_ARC

Reusable C implementation of CRC-16/ARC.

Files

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

CRC Parameters

Parameter Value
Name CRC-16/ARC
Polynomial 0x8005
Reflected Polynomial 0xA001
Initial Value 0x0000
Input Reflected Yes
Output Reflected Yes
Final XOR 0x0000

Validation

ASCII Check: "123456789" -> 0xBB3D

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

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

About

Reusable C implementation of CRC-16/ARC with documented bitwise and table-based calculation methods.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages