Re: Is ansi_cprng.c supposed to implement X9.17/X9.31's RNG?

2014-11-29 Thread Neil Horman
On Sat, Nov 29, 2014 at 12:26:49PM -0500, George Spelvin wrote: > Sorry for the duplicate; I had a crash and I thought the mail was lost. > First message was not quite finished, second is a rewrite from scratch. > -- > To unsubscribe from this list: send the line "unsubscribe linux-crypto" in > the

Re: Is ansi_cprng.c supposed to implement X9.17/X9.31's RNG?

2014-11-29 Thread George Spelvin
Sorry for the duplicate; I had a crash and I thought the mail was lost. First message was not quite finished, second is a rewrite from scratch. -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info at ht

Is ansi_cprng.c supposed to implement X9.17/X9.31's RNG?

2014-11-28 Thread George Spelvin
I'm trying to understand the Linux crypto layer, and a lot of the code I read for guidance I instead end up wanting to fix. My current itch to scratch is crypto/ansi_cprng.c. There is a lot of questionable code I'll submit patches for, particularly: - The "rand_data_valid" variable, which is act