lkml.org 
[lkml]   [2016]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function
    Jason A. Donenfeld <Jason@zx2c4.com> wrote:
    >
    > Siphash needs a random secret key, yes. The point is that the hash
    > function remains secure so long as the secret key is kept secret.
    > Other functions can't make the same guarantee, and so nervous periodic
    > key rotation is necessary, but in most cases nothing is done, and so
    > things just leak over time.

    Actually those users that use rhashtable now have a much more
    sophisticated defence against these attacks, dyanmic rehashing
    when bucket length exceeds a preset limit.

    Cheers,
    --
    Email: Herbert Xu <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

    \
     
     \ /
      Last update: 2016-12-15 08:59    [W:4.477 / U:0.260 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site