mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/hashes: change SHA2 PAD type to const
This commit is contained in:
parent
266a8405e9
commit
7efb4d9fb6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user