aboutsummaryrefslogtreecommitdiff
path: root/src/hash/xor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash/xor.c')
-rw-r--r--src/hash/xor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hash/xor.c b/src/hash/xor.c
index fab17d7..bca4d5b 100644
--- a/src/hash/xor.c
+++ b/src/hash/xor.c
@@ -6,6 +6,10 @@ struct xor8_hash xor8_init(){
return (struct xor8_hash){.a = 0};
}
+int xor8_free_l(lua_State* L){
+ return 0;
+}
+
void xor8_update(uint8_t* aa, size_t len, struct xor8_hash* hash){
for(int i = 0; i != len; i++)
hash->a += aa[i] & 0xff;