Skip to content

Commit

Permalink
try again.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanHenson committed Feb 13, 2024
1 parent 488877f commit 9a6ac99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions include/aws/checksums/private/crc_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ typedef struct {
uint64_t x64[2]; // x^96 mod P(x) / x^64 mod P(x)
uint64_t mu_poly[2]; // Barrett mu / 33-bit polynomial P(x)
uint64_t trailing[15][2]; // Folding constants for 15 possible trailing input data lengths
} aws_checksums_crc32_constants_t;
} aws_checksums_crc32_constants_t;
extern aws_checksums_crc32_constants_t aws_checksums_crc32_constants;

AWS_EXTERN_C_BEGIN

AWS_CHECKSUMS_API aws_checksums_crc32_constants_t aws_checksums_crc32_constants;

/* Computes CRC32 (Ethernet, gzip, et. al.) using a (slow) reference implementation. */
AWS_CHECKSUMS_API uint32_t aws_checksums_crc32_sw(const uint8_t *input, int length, uint32_t previousCrc32);

Expand Down

0 comments on commit 9a6ac99

Please sign in to comment.