Sorry, i forgot that part.
I am running 0.9.7b on Solaris 7 64-bit. And that makes sense about AES requiring 32 bytes. My 32-bit version was an older version, 0.9.6e i think. So it would still only use the128 bits.
Thanks for clearing that up.
-----Original Message-----
From: Lutz Jaenicke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 10, 2003 4:04 AM
To: [EMAIL PROTECTED]
Subject: Re: possible problems with RAND_seed()
On Mon, Jun 09, 2003 at 04:41:01PM -0400, [EMAIL PROTECTED] wrote:
> I had a 32-bit application that was working fine, but when i compiled it as
> 64-bit, it started to fail. I was getting this error: "PRNG not seeded".
>
> I read the documents and FAQ, and it states that the library needs to be
> seed with at least 128 bits (16 bytes?). I was seeding it with a 22 byte
> string. Like i said, this was fine in 32-bit mode, but not in 64-bit mode.
> I started using the RAND_status() function to check this out.
>
> I ended up just seeding it with twice the amount (32 bytes of data) and that
> was enough for the library. I didn't bother trying to find any bounds for
> it.
>
> Anyway, i thought you people might like to konw about this. Maybe the
> document doesn't properly reflect the implementation.
Can you give more information about versions, platform etc?
(As of 0.9.7, 32byte are required because AES with 256bit=32byte is integrated)
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]