Thread (15 messages) 15 messages, 3 authors, 2014-12-09

Re: Where exactly will arch_fast_hash be used

From: George Spelvin <hidden>
Date: 2014-12-07 13:30:59
Also in: lkml

Thanks for the encouragement!
Please consider xfs, too.
AFAIK xfs doesn't seed their hashing so far and the hashing function is
pretty weak. One example:
http://marc.info/?l=linux-xfs&m=139590613002926&w=2
Is that something that *can* be changed without breaking the
disk format?  SipHash is explicitly *not* designed to be secure as
an unkeyed hash in the way that SHA-type algorithms are.

What it's designed to do is provide second preimage resistance
of its output, or a function (like modular reduction) of its output,
against an attacker who doesn't know the secret seed.
Ack. If we want to use it in the networking stack we should be able to
use it without a dependency to the crypto framework.
Already understood.  My big question is whether a single function call
is okay or we need something inlinable.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help