Add new CRC-32C checksum functions to folly
authorBrian Pane <brianp@fb.com>
Fri, 27 Dec 2013 02:06:44 +0000 (18:06 -0800)
committerPeter Griess <pgriess@fb.com>
Fri, 27 Dec 2013 16:27:24 +0000 (08:27 -0800)
commit19e5f7ed316251e9c559c42322b97f9a5e9f47d8
treed20bb4919841070931d5e7eb9fa7a4d585febd75
parentb4d29567be019d95235f4f35be47d5c6f9cf40d9
Add new CRC-32C checksum functions to folly

Summary:
* Added a new crc32c() function, with a portable implementation
and an optimized version for x86 with SSE4.2

Test Plan: New unit test included

Reviewed By: tudorb@fb.com

FB internal diff: D1111515
folly/Checksum.cpp [new file with mode: 0644]
folly/Checksum.h [new file with mode: 0644]
folly/detail/ChecksumDetail.h [new file with mode: 0644]
folly/test/ChecksumTest.cpp [new file with mode: 0644]