[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL1RGDUzN_B0of0Ly6PxxaHM+A+E_1ZA0NTcC6jMmcrcoy0DxQ@mail.gmail.com>
Date: Fri, 8 Jul 2011 16:11:00 -0700
From: Roland Dreier <roland@...estorage.com>
To: David Miller <davem@...emloft.net>
Cc: johnwheffner@...il.com, mj@....cz, netdev@...r.kernel.org
Subject: Re: ipv4: Simplify ARP hash function.
On Fri, Jul 8, 2011 at 3:32 PM, David Miller <davem@...emloft.net> wrote:
> So what is the cheapest non-linear function we could use?
I'm not comfortable giving cryptographic advice, but even + (addition
with carry) is nonlinear when combined with ^. However that seems
like the low-order bits might be too predictable.
Maybe * of hash key with a random odd value is good enough?
- R.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists