On Sat, Jun 22, 2013, Jeffrey Walton wrote: > Hi All, > > I'm using openssl-fips-2.0.4 and openssl-1.0.1e. I'm working in an > Android environment with cross compilation. Both the FIPS Object > Module and FIPS Capable library built and installed without much > effort. > > I'm trying to build a simple command line application which statically > links to the OpenSSL library (libcrypto.a). The application builds > fine from the command line, and calls FIPS_mode() and FIPS_mode_set() > (with some printf's) to exercise the OpenSSL library: > > $ arm-linux-androideabi-gcc -Os -g2 --sysroot="$ANDROID_SYSROOT" > -I/usr/local/ssl/android-14/include fips-test.c -o fips-test.exe > /usr/local/ssl/android-14/lib/libcrypto.a >
You use the fipsld script to link the application. If you set FIPS_CC and FIPS_SIG appropriately it should just work. 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