SHA3/Keccak FIPS202 one-liner fixup

116 views
Skip to first unread message

Jeff Marrison

unread,
Oct 19, 2015, 5:43:45 PM10/19/15
to Crypto++ Users
The change to the padding in the final release of FIPS202 requires this one-liner change to sha3.cpp:

diff sha3.cpp ../cryptopp_563_rc4/sha3.cpp:
277c277
< m_state.BytePtr()[m_counter] ^= 6;
---
> m_state.BytePtr()[m_counter] ^= 1;

Cheers,
--Jeff

Jeffrey Walton

unread,
Oct 19, 2015, 6:41:23 PM10/19/15
to Crypto++ Users

Thanks Jeff.

We are trying to determine the impact of a change now. If its minimal, then we can include the change in RC5. RC5 is being worked on as we speak.

The info was added to https://cryptopp.com/wiki/Sha, so it should be available for those who need it.

Jeff
Reply all
Reply to author
Forward
0 new messages