aboutsummaryrefslogtreecommitdiff
path: root/src/hash/sha2-256.c
diff options
context:
space:
mode:
authorame <[email protected]>2025-07-24 02:32:37 -0500
committerame <[email protected]>2025-07-24 02:32:37 -0500
commited2dd6874a905769c5cfc080333ab0b12f9a9fe8 (patch)
tree60e29dbb01635dc9a94e02709520baea1b63d5fe /src/hash/sha2-256.c
parentb392bec30ebdd4c84446623193b82531b8001b88 (diff)
errors and then,, yknow fix them
Diffstat (limited to 'src/hash/sha2-256.c')
-rw-r--r--src/hash/sha2-256.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hash/sha2-256.c b/src/hash/sha2-256.c
index de79d3f..3c33948 100644
--- a/src/hash/sha2-256.c
+++ b/src/hash/sha2-256.c
@@ -243,7 +243,6 @@ struct iv sha_iv_gen(int i){
.h3 = sha512_iv.h3 ^ 0xa5a5a5a5a5a5a5a5, .h4 = sha512_iv.h4 ^ 0xa5a5a5a5a5a5a5a5, .h5 = sha512_iv.h5 ^ 0xa5a5a5a5a5a5a5a5,
.h6 = sha512_iv.h6 ^ 0xa5a5a5a5a5a5a5a5, .h7 = sha512_iv.h7 ^ 0xa5a5a5a5a5a5a5a5};
- uint8_t nh[512] = {0};
uint8_t in[12];
sprintf((char*)in, "SHA-512/%i", i);
struct sha512_hash a = sha512_t_init(oh);
@@ -310,7 +309,6 @@ lua_common_hash_meta(sha512_t);
int l_sha512_t_init(lua_State* L){
int tt = luaL_checkinteger(L, -1);
lua_newtable(L);
- int t = lua_gettop(L);
struct sha512_hash* a = (struct sha512_hash*)lua_newuserdata(L, sizeof * a);\
int ud = lua_gettop(L);