> 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
___
l Message-
>From: [EMAIL PROTECTED]
>[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.
>
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:
http://www.tenebras.com/papers/SecureR
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@open
>-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 anythin
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 p
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
> 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
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 l
> 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?
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 hav
> 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
12 matches
Mail list logo