zooqueenandHanzo Dev c7c6ad11b2 module is github.com/hanzos3/crc64nvme
A fork that still declares the upstream module path cannot be depended on: Go
verifies the declared path against what was required, so requiring
github.com/hanzos3/crc64nvme against a go.mod saying github.com/minio/crc64nvme
fails outright. The fork existed and was unusable.

One line — this package has no internal self-imports. Builds and tests pass
under the new path.

Tagged v1.1.1 to match the upstream release this descends from, so the
provenance stays legible rather than restarting at v1.0.0 and losing it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-09 11:29:00 -07:00
2025-07-21 08:45:15 -07:00
2025-02-14 07:55:52 -08:00
2026-08-09 11:29:00 -07:00
2025-01-22 10:11:46 -08:00
2025-01-23 10:25:19 -08:00

crc64nvme

This Golang package calculates CRC64 checksums using carryless-multiplication accelerated with SIMD instructions for both ARM and x86. It is based on the NVME polynomial as specified in the NVM Express® NVM Command Set Specification.

The code is based on the crc64fast-nvme package in Rust and is released under the Apache 2.0 license.

For more background on the exact technique used, see this Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction paper.

Performance

To follow.

Requirements

All Go versions >= 1.22 are supported.

Contributing

Contributions are welcome, please send PRs for any enhancements.

S
Description
CRC64 checksums using carryless-multiplication accelerated with SIMD
Readme Apache-2.0
122 KiB
Languages
Assembly 52.7%
Go 47.3%