Messages in this thread | | | Date | Mon, 3 Feb 2014 13:48:57 -0500 | From | Jörn Engel <> | Subject | Re: [PATCH,RFC] random: collect cpu randomness |
| |
On Mon, 3 February 2014 11:37:29 -0500, Theodore Ts'o wrote: > > So we could take the struct pt_regs which we get from get_irq_regs(), > XOR them together and use them to feed into input[2] amd input[3] in > add_interrupt_randomness(). Or some other way of distributing the > values of all of the irq registers into the __u32 input[4] array. > > That would probably be a good and useful thing to do. Was that > basically what you were suggesting?
Yes.
Jörn
-- When you copy some code, you are supposed to read it. If nothing else, there's a chance to spot and fix an obvious bug instead of sharing it... -- Al Viro -- 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/
| |