Commit Graph

1 Commits

Author SHA1 Message Date
Abtin Keshavarzian 7a7d0c6cbd [common] update and enhance CRC calculation (#11182)
This commit updates and enhances the CRC module.

It updates the implementation to allow both CRC16 and CRC32
calculation with different polynomials. It adds new `Feed()` methods
to add bytes from a buffer or from a message into CRC computation. It
also adds a unit test to cover CRC calculation (both CRC16 and
CRC32).
2025-01-27 22:29:26 -08:00