annotate crc32.h @ 3:6483683ac857 default tip

*: add profiling code too; expand x86 to use all eight XMM registers basically ported verbatim from the assembly
author Paper <paper@tflc.us>
date Mon, 09 Feb 2026 21:30:30 -0500
parents 422835bc1aca
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
1 #ifndef CRC32_H_
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
2 #define CRC32_H_
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
3
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
4 #include <stdint.h>
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
5 #include <stddef.h>
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
6
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
7 uint32_t crc32(const unsigned char *msg, size_t sz);
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
8
422835bc1aca *: checkin
Paper <paper@tflc.us>
parents:
diff changeset
9 #endif