diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-08-12 16:17:17 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2015-08-24 22:17:49 +0200 |
commit | 351f01269450b8b48752580255acc7ce36563136 (patch) | |
tree | 6ab5a0b257a7175cc0e3e5dcef2a230a3664e413 | |
parent | 61870a818b64b966d457d2fd1a3525fce715e066 (diff) | |
download | nettle-351f01269450b8b48752580255acc7ce36563136.tar.gz |
sha3: modified to the FIPS202 final version
-rw-r--r-- | sha3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ _sha3_pad (struct sha3_state *state, unsigned block_size, uint8_t *block, unsigned pos) { assert (pos < block_size); - block[pos++] = 1; + block[pos++] = 6; memset (block + pos, 0, block_size - pos); block[block_size - 1] |= 0x80; |