X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fsilcrng.h;h=d8eacad21005ae1b6c8497d27f206e233800d4f6;hb=c826b9841053da3f00e2c531b25bb22aa49255d5;hp=f0666aaf160b7f8a54964d8c544b91fc3682dd7d;hpb=c0d9618972274f56277acab0c124cd30c52d2953;p=silc.git diff --git a/lib/silccrypt/silcrng.h b/lib/silccrypt/silcrng.h index f0666aaf..d8eacad2 100644 --- a/lib/silccrypt/silcrng.h +++ b/lib/silccrypt/silcrng.h @@ -57,10 +57,10 @@ * Every time data is acquired from any source, the pool is stirred. The * stirring process performs an CFB (cipher feedback) encryption with SHA1 * algorithm to the entire random pool. First it acquires an IV (Initial - * Vector) from the constant location of the pool and performs the first CFB - * pass. Then it acquires a new encryption key from variable location of the - * pool and performs the second CFB pass. The encryption key thus is always - * acquired from unguessable data. + * Vector) from the constant (random) location of the pool and performs + * the first CFB pass. Then it acquires a new encryption key from variable + * location of the pool and performs the second CFB pass. The encryption + * key thus is always acquired from unguessable data. * * The encryption process to the entire random pool assures that it is * impossible to learn the input data to the random pool without breaking the @@ -89,7 +89,7 @@ * * The second threshhold gets hard noise from system and stirs the random * pool. The threshhold is reached after 160 bits of random output. After the - * noise is acquired (from /dev/random) the random pool is stirred and the + * noise is acquired (from /dev/urandom) the random pool is stirred and the * threshholds are set to zero. The process is repeated again after 64 bits of * output for first threshhold and after 160 bits of output for the second * threshhold.