Re: [PATCH v3] siphash: add cryptographically secure hashtable function

From: Andi Kleen
Date: Mon Dec 12 2016 - 18:01:05 EST


> Dozens of languages are already using this internally for their hash
> tables. Some of the BSDs already use this in their kernels. SipHash is
> a widely known high-speed solution to a widely known problem, and it's
> time we catch-up.

It would be nice if the network code could be converted to use siphash
for the secure sequence numbers. Right now it pulls in a lot of code
for bigger secure hashes just for that, which is a problem for tiny
kernels.

-Andi