Hi,

 

I am new to OpenSSL, and am using an AMCC Sequoia target with a PPC440EPx on
it, and ELDK 4.2 (containing OpenSSL 9.8b). Various functions such as
PEM_read_PUBKEY() fail, and I see:

 

Trace/breakpoint trap

 

This same error message is printed if I run various commands at the
"OpenSSL>" prompt on the target. For instance, gendh, dsaparam, and crl all
print the same message above.

 

I noticed that PEM_read_PUBKEY() and other functions are implemented as:

 

stwu r1, -16(r1)

trap

 

When I cross-compile OpenSSL 9.8b for PPC I get (in both the static and
shared library) the same result - functions which are stubs for a number of
the PEM_* functions.

 

Native compilation of 9.8b results in function sizes greater than 8 bytes
(as seen by using the readelf utility), so it would appear that the native
Intel implementation is a working one.

 

Can anyone tell me why this is happening, and what I can do about it?

 

Thanks,

Tim

 

p.s. I build OpenSSL as follows:

 

cd /test_ssl.src/openssl-0.9.8b

./Configure linux-ppc shared --prefix=/test_ssl.src
--openssldir=/test_ssl.src/openssl-0.9.8b

 

I then edit /test_ssl.src/openssl-0.9.8b/Makefile and set:

CC= /eldk4.2/usr/bin/ppc_4xx-gcc

 

make

 

 

Reply via email to