From 452f9e4e2b04982a5222312602f710e28e8f41fb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 24 Jun 2022 16:12:11 +0200 Subject: util.hashes: Remove unused struct Unused since 9f1c5ae8d70b --- util-src/hashes.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/util-src/hashes.c b/util-src/hashes.c index de802db0..b302d8eb 100644 --- a/util-src/hashes.c +++ b/util-src/hashes.c @@ -129,14 +129,6 @@ static int Lsha3_512(lua_State *L) { return Levp_hash(L, EVP_sha3_512()); } -struct hash_desc { - int (*Init)(void *); - int (*Update)(void *, const void *, size_t); - int (*Final)(unsigned char *, void *); - size_t digestLength; - void *ctx, *ctxo; -}; - static int Levp_hmac(lua_State *L, const EVP_MD *evp) { unsigned char hash[EVP_MAX_MD_SIZE], result[EVP_MAX_MD_SIZE * 2]; size_t key_len, msg_len; -- cgit v1.2.3