[openssl-users] cross-compiled binary with fips only generates encrypted string output

Karyn Ulriksen Karyn.Ulriksen at riverbed.com
Tue Oct 31 00:20:27 UTC 2017


I'm trying to figure out what I have done wrong here...


Using openssl-fips-2.0.16  and openssl 1.0.2l  (please let me know if there is a newer/better combo to use)


Openssl-fips config is:

./Configure linux-generic64 --prefix=/usr/openssl --openssldir=/usr/openssl --cross-compile-prefix=XYZ-

Openssl config is:


export FIPSDIR=/xyz-cross-compiled-image-dir/usr/openssl
FIPS_OBJECT_MODULE=/xyz-cross-compiled-image-dir/usr/openssl/lib/fipscanister.o
./Configure linux-generic64 shared fips --prefix=/usr/openssl --openssldir=/usr/openssl --with-fipsdir=/xyz-cross-compiled-image-dir/usr/openssl



There are no complaints while compiling, but when I load it onto the embedded linux device that it is targeted for and run simple version or invoke CLI, i see:


# ./openssl version
878ea783d20992bcfcad2d1c474bfc01cc80d831
# ./openssl
878ea783d20992bcfcad2d1c474bfc01cc80d831

Can anyone throw me a bone?

Thanks!
K

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20171031/cc9f2d72/attachment.html>


More information about the openssl-users mailing list