lkml.org 
[lkml]   [2007]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] get_random_long() and AT_ENTROPY for auxv, kernel 2.6.21.5
    On Wed, Jun 20, 2007 at 05:34:13PM +0200, Alexander Gabert wrote:
    > Hi,
    >
    > http://dev.gentoo.org/~pappy/kernel/linux-2.6.21.5-get_urandom_long-AT_ENTROPY.patch
    >
    > this patch adds the function drivers/char/random.c:get_random_long()
    > and adds an AT_ENTROPY field in the auxv without config option
    > (the config option was removed as suggested by Arjan on LKML).

    One ought to cc: the /dev/random maintainer.

    > /*
    > + * get_random_long() returns a randomized unsigned long word.
    > + * It recycles it's entropy cache for a given time period and
    > + * uses half_md4_transform to generate a unique return value.
    > + * Every REKEY_INTERVAL the cache is reloaded with fresh
    > + * randomization data using get_random_bytes().
    > + * This function is not intended for strong cryptographic routines.
    > + */

    What's the point of this?

    --
    Mathematics is the supreme nostalgia of our time.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-06-20 22:33    [W:0.026 / U:3.088 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site