Bernd Nies wrote:
> I tried to compile OpenSSL 0.9.4 under HP-UX 11.00
> on a 64bit PA-RISC 2.0 architecture (R class server).
> Compiler: gcc 2.95.2

> It compiled without errors and warnings but when
> testing it with "make test" the test aborts at the
> BN (big number) test. I installed it, hoping that
> it would work anyway. But when typing the command
> 
>   openssl speed
> 
> after a while these error messages appear:
> 
> Doing 512 bit private rsa's for 10s: 283 512 bit private RSA's in 8.49s
> Doing 512 bit public rsa's for 10s: RSA public encrypt failure
> 16993:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 
>01:rsa_pk1.c:100:
> 16993:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check 
>failed:rsa_eay.c:394:
> 16993:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 
>01:rsa_pk1.c:100:
> 16993:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check 
>failed:rsa_eay.c:394:
> 1 512 bit public RSA's in 0.01s

>                               I think it has something to do
> with the 64bit architecture.

I get the same errors on Solaris 2.6, but only for 4096 bit RSA (and the
number 16993 is changed to 28112), so I don't think that it's related to
the 64 bit architecture.
-- 
Karsten Spang
Senior Software Developer, Ph.D.
Belle Systems A/S
Tel.:   +45 59 44 25 00
Fax.:   +45 59 44 25 88
E-mail: [EMAIL PROTECTED]
Web:    http://www.bellesystems.com/
......................Defining the Future of IP Services.......................
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to