From ff2e560a2cb9b7d1f992cfb5138701820e11c6a7 Mon Sep 17 00:00:00 2001 From: Robin Malley Date: Sat, 16 Jan 2021 20:58:57 +0000 Subject: [PATCH] Remove debug prints from hash function --- src/libcrypto.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libcrypto.c b/src/libcrypto.c index 6679138..207b2d7 100644 --- a/src/libcrypto.c +++ b/src/libcrypto.c @@ -19,11 +19,8 @@ lsha3(lua_State *L){ unsigned char out[64]; const unsigned char *data = (const unsigned char*)luaL_checklstring(L,-1,&len); lua_pop(L,1); - printf("All data gotten, about to hash\n"); FIPS202_SHA3_512(data, len, out); - printf("Finished hashing\n"); lua_pushlstring(L,(char*)out,64); - printf("Finished pushing string to lua\n"); return 1; }