Re: Where exactly will arch_fast_hash be used

From: Herbert Xu
Date: Tue Dec 09 2014 - 09:25:52 EST

On Sun, Dec 07, 2014 at 08:23:05AM -0500, George Spelvin wrote:
> Okay, I'm confused. *What* scheme? The arch_fast_hash interface doesn't
> have any provision for a secret. Because there's no point to having one;

It does actually, in the form of the seed parameter. That's why
it's so bad: it pretends to be a semi-secure hash function that
people will use in hash tables.

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at