Hi, 

I am trying to cross-compile openssl-fip-1.2.2 for arm-linux on a Linux
x86-host system. The compilation goes through, but the tests fail to run on
the target with errors as shown below.

1. This is how I compiled the library.
   
   # setting environment variables;
   export CROSS_COMPILE=/usr/bin/armv4-uclibc-
   export HOSTCC=/usr/lib/ccache/gcc
   export FIPS-SIG=/home/test/openssl-fips-1.2.2/incore2

   ./Configure linux-generic32 fipscanisterbuild
   NOTE: Since the Configure did not allow me to choose ARCH as linux-arm I
choose linux-generic32 

   make

Compilation completes without errors.

2. Run tests on the target
   # ./fips_shatest
   ERROR:2d06906e:lib=45,func=105,reason=110:file=fips.c:line=238:
   # ./fips_dsatest
   ERROR:2d06906e:lib=45,func=105,reason=110:file=fips.c:line=238:

Can anyone please tell me if there is anything wrong in the steps that I
followed to compile openssl-fips module.

Thanks,
Basker

-- 
View this message in context: 
http://old.nabble.com/Cross-compile-openssl-fips-1.2.2-for-arm-linux-tp31632691p31632691.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to