aboutsummaryrefslogtreecommitdiffstats
path: root/src/crc16.zig
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2021-05-25 20:31:45 +0200
committerLibravatar Rutger Broekhoff2021-05-25 20:31:45 +0200
commit3b6b7b5eefe6270f126048d7a1ff5919f1da18cf (patch)
tree56bc19335962d770d8563749d9c03905bc305aeb /src/crc16.zig
parentd8597fe575644ddf5f1f8ef8cf901a446bc7acda (diff)
downloadzig-nkeys-3b6b7b5eefe6270f126048d7a1ff5919f1da18cf.tar.gz
zig-nkeys-3b6b7b5eefe6270f126048d7a1ff5919f1da18cf.zip
Clean up a few small-ish things
Diffstat (limited to 'src/crc16.zig')
-rw-r--r--src/crc16.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crc16.zig b/src/crc16.zig
index 2c49500..b69dcbc 100644
--- a/src/crc16.zig
+++ b/src/crc16.zig
@@ -1,7 +1,7 @@
1pub const InvalidChecksumError = error{InvalidChecksum}; 1pub const InvalidChecksumError = error{InvalidChecksum};
2 2
3const crc16tab: [256]u16 = tab: { 3const crc16tab: [256]u16 = tab: {
4 @setEvalBranchQuota(10000); 4 @setEvalBranchQuota(5000);
5 5
6 // CRC-16-CCITT/XMODEM 6 // CRC-16-CCITT/XMODEM
7 const poly: u32 = 0x1021; 7 const poly: u32 = 0x1021;