RE: Generating a lot of randomness...

2005-06-25 Thread David Schwartz
I see things for adding entropy, loading files, etc. I don't see anything about generating random numbers. Am I missing something so obvious if it was a snake it would have bitten me by now? RAND_bytes DS

Re: Generating a lot of randomness...

2005-06-23 Thread Ken Goldman
Date: Thu, 23 Jun 2005 12:22:30 -0400 From: C Wegrzyn [EMAIL PROTECTED] I have to generate quite a few random keys (and iv's) during a days. It comes out to about 1 million keys (16 bytes each) and 1 million iv's (16 bytes each). I tried using /dev/random and /dev/urandom but in one case

Re: Generating a lot of randomness...

2005-06-23 Thread C Wegrzyn
I can't add anything beyond what is available on a AMD or Intel motherboard. So is there a built-in HRNG that I can get to (if so, where is the driver for it)? Thanks again, Chuck Wegrzyn Ken Goldman wrote: Date: Thu, 23 Jun 2005 12:22:30 -0400 From: C Wegrzyn [EMAIL PROTECTED] I have to

RE: Generating a lot of randomness...

2005-06-23 Thread David Schwartz
I can't add anything beyond what is available on a AMD or Intel motherboard. So is there a built-in HRNG that I can get to (if so, where is the driver for it)? Use /dev/urandom to seed your own PRNG. Or use it to seed OpenSSL's PRNG. Why are you asking on this list anyway?

Re: Generating a lot of randomness...

2005-06-23 Thread C Wegrzyn
Generating one or two random numbers over a period of time isn't a big deal. Generating 100,000+ 128 bit random numbers an hour taxes /dev/random and /dev/urandom. Even the use of EGAD doesn't help. If you re-read the thread you will see that I wrote what I thought was a reasonable approach and

RE: Generating a lot of randomness...

2005-06-23 Thread David Schwartz
Generating one or two random numbers over a period of time isn't a big deal. Generating 100,000+ 128 bit random numbers an hour taxes /dev/random and /dev/urandom. Even the use of EGAD doesn't help. Right. If you re-read the thread you will see that I wrote what I thought was a

Re: Generating a lot of randomness...

2005-06-23 Thread C Wegrzyn
I see things for adding entropy, loading files, etc. I don't see anything about generating random numbers. Am I missing something so obvious if it was a snake it would have bitten me by now? Chuck Wegrzyn David Schwartz wrote: Generating one or two random numbers over a period of time isn't a

Re: Generating a lot of randomness...

2005-06-23 Thread Michael Sierchio
C Wegrzyn wrote: I have to generate quite a few random keys (and iv's) during a days. It comes out to about 1 million keys (16 bytes each) and 1 million iv's (16 bytes each). I tried using /dev/random and /dev/urandom but in one case it blocks too much of the time and in the other seems to run

RE: Generating a lot of randomness...

2005-06-23 Thread Ted Mittelstaedt
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of C Wegrzyn Sent: Thursday, June 23, 2005 10:14 AM To: Ken Goldman Cc: openssl-users@openssl.org Subject: Re: Generating a lot of randomness... I can't add anything beyond what is available on a AMD or Intel

Re: Generating a lot of randomness...

2005-06-23 Thread C Wegrzyn
Linux (gentoo variant). C. Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of C Wegrzyn Sent: Thursday, June 23, 2005 10:14 AM To: Ken Goldman Cc: openssl-users@openssl.org Subject: Re: Generating a lot of randomness... I can't

Re: Generating a lot of randomness...

2005-06-23 Thread Michael Sierchio
This is a few years old, but may be useful. The code illustrates the use of the HMAC variant on ANSI X9.17 key generation as described in the paper, used to generate random byte strings. It uses the hash functions in the OpenSSL libraries. Paper:

RE: Generating a lot of randomness...

2005-06-23 Thread Ted Mittelstaedt
] [mailto:[EMAIL PROTECTED] Behalf Of C Wegrzyn Sent: Thursday, June 23, 2005 4:14 PM To: openssl-users@openssl.org Cc: Ken Goldman Subject: Re: Generating a lot of randomness... Linux (gentoo variant). C. Ted Mittelstaedt wrote: -Original Message- From: [EMAIL PROTECTED] [mailto