]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_cksum: add 64bit and 32bit crc constructions from crcany
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 18 Feb 2025 19:11:08 +0000 (14:11 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 26 Mar 2025 19:30:31 +0000 (15:30 -0400)
commita1aed60ca9d9d324ff041ee98212f39778ae2e47
treeeb1fc7217581322d0263bea2ad84a4bc84a2fe55
parentff4a4153cb70c584a50faea34d9f49f35e2aa7e1
rgw_cksum: add 64bit and 32bit crc constructions from crcany

These constructions provide conforming implemenations of Amazon
S3 CRC32 (ISO hdlc), CRC32C (iscsi), and CRC64/NVME checksums,
in particular, linear combining of adjacent checksums, by
Mark Adler.

Source: https://github.com/madler/crcany
License: approximate BSD with "optional" advertising clause

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/madler/LICENSE [new file with mode: 0644]
src/rgw/madler/crc32iscsi.c [new file with mode: 0644]
src/rgw/madler/crc32iscsi.h [new file with mode: 0644]
src/rgw/madler/crc32iso_hdlc.c [new file with mode: 0644]
src/rgw/madler/crc32iso_hdlc.h [new file with mode: 0644]
src/rgw/madler/crc64nvme.c [new file with mode: 0644]
src/rgw/madler/crc64nvme.h [new file with mode: 0644]