From: Nikos Mavrogiannopoulos Date: Wed, 12 Aug 2015 14:17:17 +0000 (+0200) Subject: sha3: modified to the FIPS202 final version X-Git-Tag: nettle_3.2_release_20160128~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351f01269450b8b48752580255acc7ce36563136;p=thirdparty%2Fnettle.git sha3: modified to the FIPS202 final version --- diff --git a/sha3.c b/sha3.c index 84bc7ea4..24581db2 100644 --- a/sha3.c +++ b/sha3.c @@ -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;