Changeset

12566:91e5cb295ba3

util.hashes: Remove unused struct Unused since 9f1c5ae8d70b
author Kim Alvefur <zash@zash.se>
date Fri, 24 Jun 2022 16:12:11 +0200 (2022-06-24)
parents 12565:2e0c7f5cd8f8
children 12567:96871ee6e26c
files util-src/hashes.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/hashes.c	Fri Jun 24 15:33:04 2022 +0200
+++ b/util-src/hashes.c	Fri Jun 24 16:12:11 2022 +0200
@@ -129,14 +129,6 @@
 	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;