lkml.org 
[lkml]   [2001]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] random.c bugfix
    Date
    From
    Andreas Dilger <adilger@turbolabs.com> said:

    [...]

    > (*) I don't know enough about the hash functions to know how to add a
    > few odd bytes into the store in a useful and safe way. We don't
    > really want to discard them either - think if a user-space random
    > daemon on an otherwise entropy-free system only writes one byte at
    > a time...

    I'm no expert either, but padding with anything (zeroes?) to get the right
    length should be safe, no?
    --
    Dr. Horst H. von Brand Usuario #22616 counter.li.org
    Departamento de Informatica Fono: +56 32 654431
    Universidad Tecnica Federico Santa Maria +56 32 654239
    Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
    -
    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: 2005-03-22 13:11    [W:0.023 / U:0.996 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site