nasa / bplib

Apache License 2.0
30 stars 13 forks source link

Fix #74, Update CRC implementation to better support BPv7 #75

Closed jphickey closed 2 years ago

jphickey commented 2 years ago

Moves the definition of the CRC algorithms to common code, as the same CRC algorithms are also needed by v7.

Splits the API to get finer-grained control and allows CRC to be computed in blocks/chunks rather than all at once (which requires a contiguous memory block).