Messages in this thread | ![/](/images/icornerl.gif) | | From | "Jason A. Donenfeld" <> | Date | Thu, 22 Dec 2016 16:53:20 +0100 | Subject | Re: [kernel-hardening] Re: [PATCH v7 3/6] random: use SipHash in place of MD5 |
| |
On Thu, Dec 22, 2016 at 4:51 PM, Hannes Frederic Sowa <hannes@stressinduktion.org> wrote: > This algorithm should be a non-seeded algorithm, because the hashes > should be stable and verifiable by user space tooling. Thus this would > need a hashing algorithm that is hardened against pre-image > attacks/collision resistance, which siphash is not. I would prefer some > higher order SHA algorithm for that actually.
Right. SHA-256, SHA-512/256, Blake2s, or Blake2b would probably be good candidates for this.
| ![\](/images/icornerr.gif) |