summaryrefslogtreecommitdiffstats
path: root/util/Makefile.objs
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2013-04-29 14:48:16 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-03 10:31:58 +0200
commit8e1b02b8ef2eefcb2ff3855531d7bc2ea71e1fb4 (patch)
tree7d148ba86aaf7485263483521c7259042346799c /util/Makefile.objs
parent8ca27ce2e1150486ea2db4116a03706b28294f16 (diff)
downloadhqemu-8e1b02b8ef2eefcb2ff3855531d7bc2ea71e1fb4.zip
hqemu-8e1b02b8ef2eefcb2ff3855531d7bc2ea71e1fb4.tar.gz
qemu: add castagnoli crc32c checksum algorithm
This adds the Castagnoli CRC32C algorithm, using the 0x11EDC6F41 polynomial. This is extracted from the linux kernel cryptographic crc32.c module. The algorithm is based on: Castagnoli93: Guy Castagnoli and Stefan Braeuer and Martin Herrman "Optimization of Cyclic Redundancy-Check Codes with 24 and 32 Parity Bits", IEEE Transactions on Communication, Volume 41, Number 6, June 1993 Signed-off-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util/Makefile.objs')
-rw-r--r--util/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/Makefile.objs b/util/Makefile.objs
index c5652f5..4a1bd4e 100644
--- a/util/Makefile.objs
+++ b/util/Makefile.objs
@@ -10,3 +10,4 @@ util-obj-$(CONFIG_POSIX) += compatfd.o
util-obj-y += iov.o aes.o qemu-config.o qemu-sockets.o uri.o notify.o
util-obj-y += qemu-option.o qemu-progress.o
util-obj-y += hexdump.o
+util-obj-y += crc32c.o
OpenPOWER on IntegriCloud