cross-compiled binary with fips only generates encrypted string output

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cross-compiled binary with fips only generates encrypted string output

Karyn Ulriksen

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


--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users