Hello,

I have generated the fipscanister.o and all associated files as described in 
the user guide. All the checks ran ok. I have created an application using the 
fipscanister.o which works fine. When I create the shared library the run time 
check called when FIPS_mode_set() is called fails. I have found that depending 
on where I am loading the library in my code the signature generated is 
different.

Hence my question, Is it really possible to create a shared library, and not an 
application, using the FIPS module?

The make file for the shared lib looks like this:

CC = gcc
LIBOBJS= $(BIN)/fipsShared.o

libfipsShared.so: fipsShared.o
 FIPSLD_CC=$(CC) /openssl-fips-1.2/fips/fipsld -shared -o $@ $^ 
-DDEBUG_FINGERPRINT_PREMAIN /openssl-fips-1.2/libcrypto.a

The build platform is a native MIPS, gcc-3.4.4, make 3.81, uclibc.0.9.28.

Regards,

Matt Bancroft

[email protected]<mailto:[email protected]>

Reply via email to