aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/hashes.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-src/hashes.c')
-rw-r--r--util-src/hashes.c8
1 files changed, 0 insertions, 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;