[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110816.020935.717525957035990843.davem@davemloft.net>
Date: Tue, 16 Aug 2011 02:09:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: linux@...izon.com
Cc: netdev@...r.kernel.org
Subject: Re: get_random_int() should use hash[1]
From: "George Spelvin" <linux@...izon.com>
Date: 16 Aug 2011 05:07:23 -0400
> Re: commit e997d47bff5a467262ef224b4cf8cbba2d3eceea
>
> As long as you're using MD5, you should know that each round only
> modifies one word of the state. The order is [0], [3], [2], [1],
> repeating 64 times. Thus, on output, word [1] is the "most hashed"
> word. If you really wanted word [0], you could just skip the last
> 3 rounds.
>
> It's not really critical, but as long as you're performing the
> rounds, you might as well use them...
Please provide a proper signoff with your change and properly
"-p1" base your patch.
Thanks.
--
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