Create the FIPS library from the openssl-fips package, then build a release 
openssl package with the FIPS library you built.

You appear to not be building the release package, but I could be wrong. You 
shouldn't ever use the .a files from the openssl-fips package directly.

-Kyle H

On September 2, 2014 2:22:16 AM PST, Or Barak <tur...@gmail.com> wrote:
>I'm using the libcrypo.a and libssl.a static libraries in a JNI shared
>library (*.so).
>
>
>runtime  log prints:
>
>OPENSSL_VERSION_TEXT
>OpenSSL 1.0.1h-fips 5 Jun 2014
>
>SSLeay_version(SSLEAY_CFLAGS)
>arm-linux-androideabi-gcc
>--sysroot=/Users/orbarak/android-ndk-r9d/platforms/android-14/arch-arm
>-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
>-Wa,--noexecstack
>-march=armv7-a -mandroid
>-I/Users/orbarak/android-ndk-r9d/platforms//arch-arm/usr/include
>-B/Users/orbarak/android-ndk-r9d/platforms//arch-arm/usr/lib -O3
>-fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
>-I/usr/local/ssl/android-14/fips-2.0//include -DSHA1_ASM -DSHA256_ASM
>-DSHA512_ASM -DAES_ASM -DGHASH_ASM
>
>SSLeay_version(SSLEAY_PLATFORM)
>SSLeay platform: android-armv7
>
>
>Sources used:
>FIPS: openssl-fips-2.0.3-pl2 (purchased by the company i work in)
>OpenSSL: openssl-1.0.1h (from the web)
>
>
>Compiled on: MacOSX 10.9
>
>
>I was wondering what might cause this error and what further
>investigation/steps i need to take in order to resolve this issue.
>
>
>thanks,
>Or Barak

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to