lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 0/3] add %pX specifier
    Hi Linus,

    On Wed, Oct 11, 2017 at 1:15 AM, Linus Torvalds
    <torvalds@linux-foundation.org> wrote:
    > (NOTE! Using jhash here is not acceptable, since it's not
    > cryptographically safe, but think of it as an example of a hash that
    > takes 32-bit input).

    Ahh, yes, I should have continued to read the thread before replying
    my first reply.

    Indeed the correct functions to use would be siphash_1u32 or
    siphash_1u64, depending. Depending on the popularity of that, we might
    even consider making a siphash_1ulong helper, I suppose.

    Jason

    \
     
     \ /
      Last update: 2017-10-11 22:12    [W:3.250 / U:0.768 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site