Re: [PATCH 1/2] RNG: Add Pseudo Random Number Generator to kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 03, 2008 at 04:21:02PM -0400, Neil Horman wrote:
>> +	/*
> +	 * Now update our DT value
> +	 */
> +	for (i=DEFAULT_BLK_SZ-1;i>0;i--) {
> +		ctx->DT[i] = ctx->DT[i-1];
> +	}
> +	ctx->DT[0] += 1;

Is there any reason behind using this algorithm as opposed to
a simple counter?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux