Commit 38d2fe6c authored by Youness Alaoui's avatar Youness Alaoui

Fix the prvious bug.. the SHA1 algorithms should be in HANDSOFF mode so it doesn't modify our data

parent d0c9d579
......@@ -141,7 +141,6 @@ static void SHA1Transform(uint32_t state[5], const unsigned char buffer[64])
uint32_t workspace[16];
block = (CHAR64LONG16 *) workspace;
memcpy(block, buffer, 64);
block = (CHAR64LONG16 *) buffer;
/* Copy context->state[] to working vars */
a = state[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment