My jaytag library SPI flash programmer does a CRC-32 of each sector rather than a full readback for speed reasons.

Any reason this is a terrible idea? I don't consider malicious flash a concern. It does have normal readback support, just takes longer.

@dlharmon sounds completely reasonable, especially seeing as "serially transmitted data" is exactly what crc32 was designed for

maybe upgrade to crc64? micron has one of those built into their flash, presumably they've done the math

@whitequark CRC-64 ECMA as Micron uses is probably a good idea. A few more LUTs but not that big a deal.