Android内核中的openssl-fips-2.0故障

Android内核中的openssl-fips-2.0故障,android,android-ndk,openssl,fips,Android,Android Ndk,Openssl,Fips,我已经使用ndk-r8为Android成功构建了openssl-fips-2.0+openssl-1.0.1c。 我正在MacOSX上进行交叉编译 但是,我无法通过FIPS_mode_set(1)。 我得到以下错误:“FIPS例程:FIPS\u检查\u核心\u指纹:指纹不匹配” 我正在使用openssl-fips-2.0/util/incore提供的incore脚本 我的设置如下: # Edit this to wherever you unpacked the NDK export ANDRO

我已经使用ndk-r8为Android成功构建了openssl-fips-2.0+openssl-1.0.1c。
我正在MacOSX上进行交叉编译

但是,我无法通过FIPS_mode_set(1)。 我得到以下错误:“FIPS例程:FIPS\u检查\u核心\u指纹:指纹不匹配”

我正在使用openssl-fips-2.0/util/incore提供的incore脚本

我的设置如下:

# Edit this to wherever you unpacked the NDK
export ANDROID_NDK=/home/android-ndk-r8

# Edit to wherever you put incore script
export FIPS_SIG=$PWD/openssl-fips-2.0/util/incore

PATH=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin:$PATH; export PATH
export MACHINE=armv7l
export RELEASE=2.6.32.GMU
export SYSTEM=android
export ARCH=arm
export CROSS_COMPILE="arm-linux-androideabi-"
export ANDROID_DEV="$ANDROID_NDK/platforms/android-14/arch-arm/usr"
export HOSTCC=gcc

知道我为什么不能通过incore指纹验证吗?交叉编译时是否需要特殊的wrt incore?

如果进行静态库构建,需要运行fipsld工具在链接时添加正确的指纹

如果进行共享库构建,则会在后台自动完成