Steve, After compiling fips module with original incore, I could run tests on the target script. Thanks a lot.
Basker Dr. Stephen Henson wrote: > > On Mon, May 16, 2011, openssl-fips-1.2.2 wrote: > >> >> 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. >> > > The "incore2" script only works with the unvalidated FIPS 2.0 module. You > need > the original incore script for the 1.2.2 module. > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org > > -- View this message in context: http://old.nabble.com/Cross-compile-openssl-fips-1.2.2-for-arm-linux-tp31632691p31647475.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