Re: RFC v3: Another proposed hash function transition plan
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Sep 13, 2017, 23:30 UTC
- Message-ID
- <CA+55aFwUn0KibpDQK2ZrxzXKOk8-aAub2nJZQqKCpq1ddhDcMQ@mail.gmail.com>
- In-Reply-To
- <CANgJU+Wv1nx79DJTDmYE=O7LUNA3LuRTJhXJn+y0L0C3R+YDEA@mail.gmail.com>
On Wed, Sep 13, 2017 at 6:43 AM, demerphq <demerphq@gmail.com> wrote:
> > SHA3 however uses a completely different design where it mixes a 1088 > bit block into a 1600 bit state, for a leverage of 2:3, and the excess > is *preserved between each block*.
Yes. And considering that the SHA1 attack was actually predicated on the fact that each block was independent (no extra state between), I do think SHA3 is a better model.
So I'd rather see SHA3-256 than SHA256.
Linus