Hi,
I am unable to build openssl with fips, please let me know what am I
missing.
Openssl version: openssl-SNAP-20131115
Below are the steps I followed.
./config fipscanisterbuild no-asm
make
make install
./config fips --with-fipslibdir=/tmp/foo/lib no-asm shared
make depend
make
At the final make I get the below error
gcc -I. -I.. -I../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DTERMIO -O3 -fomit-frame-pointer
-Wall -DHMAC_EXT=\"${HMAC_EXT:-sha1}\" -DFINGERPRINT_PREMAIN_DSO_LOAD -o
fips_premain_dso fips_premain.c \
/tmp/foo/lib/fipscanister.o ../libcrypto.a -ldl
/tmp/foo/lib/fipscanister.o: In function `AES_cfb128_encrypt':
(.text+0x1891): undefined reference to `AES_encrypt'
/tmp/foo/lib/fipscanister.o: In function `AES_cfb128_encrypt':
(.text+0x18d1): undefined reference to `CRYPTO_cfb128_encrypt'
/tmp/foo/lib/fipscanister.o: In function `AES_cfb1_encrypt':
(.text+0x18f1): undefined reference to `AES_encrypt'
/tmp/foo/lib/fipscanister.o: In function `AES_cfb1_encrypt':
(.text+0x1931): undefined reference to `CRYPTO_cfb128_1_encrypt'
/tmp/foo/lib/fipscanister.o: In function `AES_cfb8_encrypt':
(.text+0x1951): undefined reference to `AES_encrypt'
/tmp/foo/lib/fipscanister.o: In function `AES_cfb8_encrypt':
(.text+0x1991): undefined reference to `CRYPTO_cfb128_8_encrypt'
/tmp/foo/lib/fipscanister.o: In function `AES_ecb_encrypt':
(.text+0x19ce): undefined reference to `AES_decrypt'
With regards,
Nimit