Hi,
I have run into a problem with one of the OpenSSL Apps.
When attempting to run the Speed App with the RSA4096 option,
I ran into a PRNG not seeded error (see log below). I have setup a
RANDFILE and it is pointed to be a system-wide logical. I also setup
a .RND in my SYS$LOGIN directory and ran Speed from there.
Neither random file made a difference.
The other thing that I can't explain is why when I just use
$ OPENSSL SPEED or $ OPENSSL SPEED RSA, it does attempt
the RSA4096 option. I'm sure it is because the code is smarter
than I am. ;-)
I am running this on a VMS machine, AlphaStation400,
running VMS V7.2. I am using OpenSSL 0.9.5A which was
compiled with DEC C V6.2-008. BSAFE is patched in, and it
happens if the /POINTER_SIZE is equal to 32 bits or 64 bits.
Any help will be greatly appreciated.
Thank you.
Kevin.
$ openssl speed rsa4096
First we calculate the approximate speed ...
Doing 1 4096 bit private rsa's: RSA private encrypt failure
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not
seeded:MD_RAND:546:
580911271:error:27067215::lib(39) :func(103) :reason(533):BSAFE:388:
1 4096 bit private RSA's in 0.50s
Doing 20 4096 bit public rsa's: RSA verify failure
580911271:error:04077077:rsa routines:RSA_verify:wrong signature
length:RSA_SIGN:149:
580911271:error:04077077:rsa routines:RSA_verify:wrong signature
length:RSA_SIGN:149:
1 4096 bit public RSA's in 0.00s
OpenSSL 0.9.5a 1 Apr 2000
built on: 14-FEB-2001 09:20:32.26
options:bn(64,64) md2(int) des(ptr,risc1,16,long) blowfish(idx)
compiler:
sign verify sign/s verify/s
rsa 4096 bits 0.0500s 0.0010s 20.0 1000.0
$
$
$ openssl speed rsa
First we calculate the approximate speed ...
Doing 327 512 bit private rsa's: 327 512 bit private RSA's in 15.20s
Doing 1638 512 bit public rsa's: 1638 512 bit public RSA's in 6.72s
Doing 40 1024 bit private rsa's: 40 1024 bit private RSA's in 9.34s
Doing 409 1024 bit public rsa's: 409 1024 bit public RSA's in 5.38s
Doing 5 2048 bit private rsa's: 5 2048 bit private RSA's in 8.18s
Doing 102 2048 bit public rsa's: 102 2048 bit public RSA's in 4.89s
OpenSSL 0.9.5a 1 Apr 2000
built on: 14-FEB-2001 09:20:32.26
options:bn(64,64) md2(int) des(ptr,risc1,16,long) blowfish(idx)
compiler:
sign verify sign/s verify/s
rsa 512 bits 0.0465s 0.0041s 21.5 243.8
rsa 1024 bits 0.2335s 0.0132s 4.3 76.0
rsa 2048 bits 1.6360s 0.0479s 0.6 20.9
$
$
$
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]