Fix unitialized use of W[16]. (#1662)

Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
Toni
2022-07-15 14:15:37 +02:00
committed by GitHub
parent b80218a0e4
commit be1ac1b430
+1 -1
View File
@@ -130,7 +130,7 @@ sha256_init(sha256_t *p)
static void
sha256_transform(uint32_t *state, const uint32_t *data)
{
uint32_t W[16];
uint32_t W[16] = {};
unsigned j;
#ifdef _SHA256_UNROLL2
uint32_t a,b,c,d,e,f,g,h;