diff --git a/sys/hashes/sha2xx_common.c b/sys/hashes/sha2xx_common.c index 4931312a15..be1f182175 100644 --- a/sys/hashes/sha2xx_common.c +++ b/sys/hashes/sha2xx_common.c @@ -168,7 +168,7 @@ static void sha2xx_transform(uint32_t *state, const unsigned char block[64]) } } -static unsigned char PAD[64] = { +static const unsigned char PAD[64] = { 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,