23 Feb
2004
23 Feb
'04
7:23 p.m.
On Monday, February 23, 2004, at 02:09 PM, Eugene Salamin wrote:
Does Intel explain how to use their random number generator? Can I do something like:
#define RANDOM 0xFEDCBA98 // internal register int MyRandomNumber; MyRandomNumber = *((int *)RANDOM);
It's (only a little) more involved than that -- you need to check that a new random byte is available before you read it each time, for example. Their web site has pseudocode and links to an API to access it, though. Check out http://developer.intel.com/design/security/rng/rngres.htm and related pages. --Michael Kleber kleber@brandeis.edu