aboutsummaryrefslogtreecommitdiff
path: root/src/hash/crc.c
diff options
context:
space:
mode:
authorame <[email protected]>2024-04-06 16:50:38 -0500
committerame <[email protected]>2024-04-06 16:50:38 -0500
commit7fbafae25ca81e9acb745fd75ef7f1be55ad7d92 (patch)
tree639c6d618b44f0ff2a4fcac9f557b906f37cbec3 /src/hash/crc.c
parentb8c10dac99316974d142c530356ad5cd8fdf9afa (diff)
changed the add metamethod
Diffstat (limited to 'src/hash/crc.c')
-rw-r--r--src/hash/crc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hash/crc.c b/src/hash/crc.c
index f52e005..acb6984 100644
--- a/src/hash/crc.c
+++ b/src/hash/crc.c
@@ -82,6 +82,10 @@ uint8_t crc8(uint8_t *aa, size_t len){
return crc8_final(&a);
}
+common_hash_clone(crc32);
+common_hash_clone(crc16);
+common_hash_clone(crc8);
+
common_hash_init_update(crc32);
common_hash_init_update(crc16);
common_hash_init_update(crc8);