tpm2-tss icon indicating copy to clipboard operation
tpm2-tss copied to clipboard

Build Failure with openssl 3.2.0 and curl 8.5.0

Open Bab95 opened this issue 1 year ago • 1 comments

I am trying to build tpm2-tss with openssl 3.2.0 support along with libcurl version 8.5.0. Following are the details of OS and libs I am using

tpm2-tss version 4.0.1 openssl version 3.2.0 licurl version 8.5.0

OS: ubuntu 20.04

steps to build openssl 3.2.0

wget https://www.openssl.org/source/openssl-3.2.0.tar.gz &&
echo 14c826f07c7e433706fb5c69fa9e25dab95684844b4c962a2cf1bf183eb4690e openssl-3.2.0.tar.gz | sha256sum -c - &&
tar -C /tmp -xzf openssl-3.2.0.tar.gz &&
rm -rf openssl-3.2.0.tar.gz &&
cd /tmp/openssl-3.2.0 &&
./config --prefix=/usr/local/openssl &&
make &&
make install &&
ln -s /usr/local/openssl/lib64/libssl.so /usr/lib/x86_64-linux-gnu/libssl.so.3 &&
ln -s /usr/local/openssl/lib64/libcrypto.so /usr/lib/x86_64-linux-gnu/libcrypto.so.3 &&
ldconfig

steps to build libcurl

export LDFLAGS="-L/usr/local/openssl/lib64" && \ export CPPFLAGS="-I/usr/local/openssl/include" && \ wget --quiet https://curl.se/download/curl-8.5.0.tar.gz &&
tar -C /tmp -xzf curl-8.5.0.tar.gz &&
rm -rf curl-8.5.0.tar.gz && cd /tmp/curl-8.5.0 &&
./configure --with-ss --prefix=/usr/local/curls &&
make && make install

steps to build tpm2-tss

export CC=gcc && export CXX=g++ &&
export CURL_LIBS=-L/usr/local/curls/lib && export CURL_CFLAGS=-I/usr/local/curls/include &&
export CRYPTO_LIBS=-L/usr/local/openssl/lib64 && export CRYPTO_CFLAGS=-I/usr/local/openssl/include &&
# Download tpm2-tss mkdir -p /usr/src/tpm2-tss &&
git clone https://github.com/tpm2-software/tpm2-tss.git /usr/src/tpm2-tss &&
cd /usr/src/tpm2-tss &&
git checkout 8b404ee7e5886c71aa53accb4ad38823724f7b13 &&
./bootstrap &&
./configure &&
make -j$(nproc) check &&
make install &&
ldconfig

following are the build logs:

Generating file lists: src_vars.mk aclocal: installing 'm4/ax_ac_append_to_file.m4' from '/usr/share/aclocal/ax_ac_append_to_file.m4' aclocal: installing 'm4/ax_ac_print_to_file.m4' from '/usr/share/aclocal/ax_ac_print_to_file.m4' aclocal: installing 'm4/ax_add_am_macro_static.m4' from '/usr/share/aclocal/ax_add_am_macro_static.m4' aclocal: installing 'm4/ax_add_fortify_source.m4' from '/usr/share/aclocal/ax_add_fortify_source.m4' aclocal: installing 'm4/ax_am_macros_static.m4' from '/usr/share/aclocal/ax_am_macros_static.m4' aclocal: installing 'm4/ax_check_compile_flag.m4' from '/usr/share/aclocal/ax_check_compile_flag.m4' aclocal: installing 'm4/ax_check_enable_debug.m4' from '/usr/share/aclocal/ax_check_enable_debug.m4' aclocal: installing 'm4/ax_check_gnu_make.m4' from '/usr/share/aclocal/ax_check_gnu_make.m4' aclocal: installing 'm4/ax_check_link_flag.m4' from '/usr/share/aclocal/ax_check_link_flag.m4' aclocal: installing 'm4/ax_code_coverage.m4' from '/usr/share/aclocal/ax_code_coverage.m4' aclocal: installing 'm4/ax_file_escapes.m4' from '/usr/share/aclocal/ax_file_escapes.m4' aclocal: installing 'm4/ax_is_release.m4' from '/usr/share/aclocal/ax_is_release.m4' aclocal: installing 'm4/ax_normalize_path.m4' from '/usr/share/aclocal/ax_normalize_path.m4' aclocal: installing 'm4/ax_prog_doxygen.m4' from '/usr/share/aclocal/ax_prog_doxygen.m4' aclocal: installing 'm4/ax_recursive_eval.m4' from '/usr/share/aclocal/ax_recursive_eval.m4' aclocal: installing 'm4/ax_valgrind_check.m4' from '/usr/share/aclocal/ax_valgrind_check.m4' aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4' aclocal: installing 'm4/ltdl.m4' from '/usr/share/aclocal/ltdl.m4' aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4' aclocal: installing 'm4/ltsugar.m4' from '/usr/share/aclocal/ltsugar.m4' aclocal: installing 'm4/ltversion.m4' from '/usr/share/aclocal/ltversion.m4' aclocal: installing 'm4/lt~obsolete.m4' from '/usr/share/aclocal/lt~obsolete.m4' aclocal: installing 'm4/pkg.m4' from '/usr/share/aclocal/pkg.m4' libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' configure.ac:28: installing './compile' configure.ac:23: installing './config.guess' configure.ac:23: installing './config.sub' configure.ac:12: installing './install-sh' configure.ac:12: installing './missing' aminclude_static.am:63: warning: GITIGNOREFILES was already defined in condition TRUE, which includes condition AUTOCONF_CODE_COVERAGE_2019_01_06 and CODE_COVERAGE_ENABLED ... Makefile.am:56: 'aminclude_static.am' included from here Makefile.am:52: ... 'GITIGNOREFILES' previously defined here Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' root@bab-ub-fresh3:/usr/src/tpm2-tss# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether to enable debugging... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nmchecking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dld_link in -ldld... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for strndup... yes checking for reallocarray... yes checking for CRYPTO... yes checking for EVP_sm3 in -lcrypto... yes checking for JSONC... yes checking for CURL... yes checking for curl_url_strerror in -lcurl... no checking for UUID... yes checking libtpms/tpm_library.h usability... no checking libtpms/tpm_library.h presence... no checking for libtpms/tpm_library.h... no configure: WARNING: library libtpms missing checking for valgrind... no checking if LD -Wl,--version-script works... yes checking whether C compiler accepts -O2... yes checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... yes checking whether C compiler accepts -std=c99... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -fstack-protector-all... yes checking whether C compiler accepts -fpic... yes checking whether C compiler accepts -fPIC... yes checking whether C compiler accepts -Wno-missing-braces... yes checking whether C compiler accepts -Wstrict-overflow=5... yes checking whether the linker accepts -Wl,--no-undefined... yeschecking whether the linker accepts -Wl,-z,noexecstack... yeschecking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,relro... yes checking for systemd-sysusers... yes checking for systemd-tmpfiles... yes checking for doxygen... /usr/bin/doxygen checking for perl... /usr/bin/perl checking whether to build with code coverage support... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating lib/tss2-sys.pc config.status: creating lib/tss2-esys.pc config.status: creating lib/tss2-mu.pc config.status: creating lib/tss2-tcti-device.pc config.status: creating lib/tss2-tcti-mssim.pc config.status: creating lib/tss2-tcti-swtpm.pc config.status: creating lib/tss2-tcti-pcap.pc config.status: creating lib/tss2-tcti-libtpms.pc config.status: creating lib/tss2-rc.pc config.status: creating lib/tss2-tctildr.pc config.status: creating lib/tss2-fapi.pc config.status: creating lib/tss2-tcti-cmd.pc config.status: creating lib/tss2-policy.pc config.status: creating lib/tss2-tcti-spi-helper.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands

tpm2-tss 4.0.1
esys:               yes
fapi:               yes
policy:             yes
tctidefaultmodule:  libtss2-tcti-default.so
tctidefaultconfig:
unit:               no
integration:        no
testing backend:
fapi test profile:  P_ECC
fuzzing:            none
debug:              no
maxloglevel:        trace
doxygen:            1
crypto backend:     ossl
sysconfdir:         ${prefix}/etc
localstatedir:      ${prefix}/var
runstatedir:        ${localstatedir}/run
sysusersdir:        ${prefix}/etc/sysusers.d
tmpfilesdir:        ${prefix}/etc/tmpfiles.d
userstatedir:       $HOME/.local/share
sysmeasurements:    /sys/kernel/security/tpm0/binary_bios_measurements
imameasurements:    /sys/kernel/security/ima/binary_runtime_measurements

CC src/util/tss2_sys_libtss2_sys_la-log.lo CC src/tss2-tcti/tss2_esys_libtss2_esys_la-tctildr.lo CC src/tss2-tcti/tss2_esys_libtss2_esys_la-tctildr-dl.lo CC src/tss2-fapi/libtss2_fapi_la-fapi_crypto.lo CC src/tss2-fapi/libtss2_fapi_la-fapi_util.lo In file included from /usr/local/openssl/include/openssl/evp.h:30, from src/tss2-fapi/fapi_crypto.c:13: src/tss2-fapi/fapi_crypto.c: In function ‘ifapi_base64encode’: /usr/local/openssl/include/openssl/bio.h:632:34: warning: value computed is not used [-Wunused-value] 632 | # define BIO_flush(b) (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tss2-fapi/fapi_crypto.c:2084:5: note: in expansion of macro ‘BIO_flush’ 2084 | BIO_flush(bio); | ^~~~~~~~~ CC src/tss2-fapi/libtss2_fapi_la-ifapi_config.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_curl.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_eventlog.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_eventlog_system.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_get_intl_cert.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_helpers.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_ima_eventlog.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_io.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_json_deserialize.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_json_eventlog_serialize.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_json_serialize.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_keystore.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy_calculate.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy_callbacks.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy_execute.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy_instantiate.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy_json_deserialize.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy_json_serialize.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policy_store.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_policyutil_execute.lo CC src/tss2-fapi/libtss2_fapi_la-ifapi_profiles.lo CC src/tss2-fapi/libtss2_fapi_la-tpm_json_deserialize.lo CC src/tss2-fapi/libtss2_fapi_la-tpm_json_serialize.lo GEN man/man3/Tss2_Tcti_Cmd_Init.3 GEN man/man3/Tss2_Tcti_Device_Init.3 GEN man/man3/Tss2_Tcti_Mssim_Init.3 GEN man/man3/Tss2_TctiLdr_Finalize.3 GEN man/man3/Tss2_TctiLdr_FreeInfo.3 GEN man/man3/Tss2_TctiLdr_GetInfo.3 GEN man/man3/Tss2_TctiLdr_Initialize.3 DXGEN Doxyfile GEN man/man5/fapi-config.5 GEN man/man5/fapi-profile.5 GEN man/man7/tss2-tcti-device.7 warning: Tag 'PERL_PATH' at line 2220 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 2242 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" GEN man/man7/tss2-tcti-swtpm.7 GEN man/man7/tss2-tcti-mssim.7 GEN man/man7/tss2-tcti-cmd.7 GEN man/man7/tss2-tctildr.7 GEN fapi-config.json GEN tpm2-tss-fapi.conf CC src/tss2-mu/base-types.lo CC src/tss2-mu/tpm2b-types.lo /usr/src/tpm2-tss/README.md:47: warning: unable to resolve reference to 'INSTALL.md' for \ref command /usr/src/tpm2-tss/README.md:58: warning: unable to resolve reference to 'CONTRIBUTING.md' for \ref command /usr/src/tpm2-tss/README.md:61: warning: unable to resolve reference to 'INSTALL.md' for \ref command /usr/src/tpm2-tss/README.md:94: warning: unable to resolve reference to 'INSTALL.md' for \ref command /usr/src/tpm2-tss/README.md:204: warning: unable to resolve reference to 'doc/fuzzing.md' for \ref command /usr/src/tpm2-tss/README.md:47: warning: unable to resolve reference to 'INSTALL.md' for \ref command /usr/src/tpm2-tss/README.md:58: warning: unable to resolve reference to 'CONTRIBUTING.md' for \ref command /usr/src/tpm2-tss/README.md:61: warning: unable to resolve reference to 'INSTALL.md' for \ref command /usr/src/tpm2-tss/README.md:94: warning: unable to resolve reference to 'INSTALL.md' for \ref command /usr/src/tpm2-tss/README.md:204: warning: unable to resolve reference to 'doc/fuzzing.md' for \ref command CC src/tss2-mu/tpma-types.lo CC src/tss2-mu/tpml-types.lo CC src/tss2-mu/tpms-types.lo CC src/tss2-mu/tpmt-types.lo CC src/tss2-mu/tpmu-types.lo CC src/util/io.lo CC src/util/key-value-parse.lo CC src/util/log.lo CC src/tss2-tcti/libtss2_tctildr_la-tctildr.lo CC src/tss2-tcti/libtss2_tctildr_la-tctildr-dl.lo CC src/tss2-tcti/tcti-common.lo CC src/tss2-tcti/tcti-device.lo CC src/tss2-tcti/tcti-swtpm.lo CC src/tss2-tcti/tcti-mssim.lo CC src/tss2-tcti/tcti-pcap-builder.lo CC src/tss2-tcti/tcti-pcap.lo CC src/tss2-tcti/tcti-cmd.lo CC src/tss2-tcti/tcti-spi-helper.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ACT_SetTimeout.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_AC_GetCapability.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_AC_Send.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ActivateCredential.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Certify.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_CertifyCreation.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_CertifyX509.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ChangeEPS.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ChangePPS.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Clear.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ClearControl.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ClockRateAdjust.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ClockSet.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Commit.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ContextLoad.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ContextSave.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Create.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_CreateLoaded.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_CreatePrimary.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_DictionaryAttackLockReset.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_DictionaryAttackParameters.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Duplicate.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ECC_Parameters.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ECDH_KeyGen.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ECDH_ZGen.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_EC_Ephemeral.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_EncryptDecrypt.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_EncryptDecrypt2.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_EventSequenceComplete.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_EvictControl.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Execute.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_FieldUpgradeData.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_FieldUpgradeStart.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Finalize.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_FirmwareRead.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_FlushContext.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetCapability.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetCommandAuditDigest.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetCommandCode.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetContextSize.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetCpBuffer.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetDecryptParam.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetEncryptParam.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetRandom.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetRpBuffer.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetRspAuths.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetSessionAuditDigest.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetTctiContext.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetTestResult.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_GetTime.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_HMAC.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_HMAC_Start.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Hash.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_HashSequenceStart.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_HierarchyChangeAuth.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_HierarchyControl.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Import.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_IncrementalSelfTest.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Initialize.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Load.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_LoadExternal.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_MAC.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_MAC_Start.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_MakeCredential.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_Certify.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_ChangeAuth.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_DefineSpace.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_Extend.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_GlobalWriteLock.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_Increment.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_Read.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_ReadLock.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_ReadPublic.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_SetBits.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_UndefineSpace.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_UndefineSpaceSpecial.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_Write.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_NV_WriteLock.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ObjectChangeAuth.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PCR_Allocate.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PCR_Event.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PCR_Extend.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PCR_Read.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PCR_Reset.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PCR_SetAuthPolicy.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PCR_SetAuthValue.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PP_Commands.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyAuthValue.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyAuthorize.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyAuthorizeNV.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyCommandCode.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyCounterTimer.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyCpHash.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyDuplicationSelect.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyGetDigest.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyLocality.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyNV.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyNameHash.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyNvWritten.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyOR.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyPCR.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyPassword.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyPhysicalPresence.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyRestart.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicySecret.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicySigned.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyTemplate.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_PolicyTicket.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Policy_AC_SendSelect.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Quote.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_RSA_Decrypt.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_RSA_Encrypt.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ReadClock.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ReadPublic.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Rewrap.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SelfTest.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SequenceComplete.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SequenceUpdate.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SetAlgorithmSet.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SetCmdAuths.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SetCommandCodeAuditStatus.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SetDecryptParam.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SetEncryptParam.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_SetPrimaryPolicy.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Shutdown.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Sign.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_StartAuthSession.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Startup.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_StirRandom.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_TestParms.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Unseal.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_Vendor_TCG_Test.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_VerifySignature.lo CC src/tss2-sys/api/libtss2_sys_la-Tss2_Sys_ZGen_2Phase.lo CC src/tss2-sys/libtss2_sys_la-sysapi_util.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ACT_SetTimeout.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_AC_GetCapability.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_AC_Send.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ActivateCredential.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Certify.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_CertifyCreation.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_CertifyX509.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ChangeEPS.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ChangePPS.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Clear.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ClearControl.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ClockRateAdjust.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ClockSet.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Commit.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ContextLoad.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ContextSave.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Create.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_CreateLoaded.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_CreatePrimary.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_DictionaryAttackLockReset.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_DictionaryAttackParameters.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Duplicate.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ECC_Parameters.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ECDH_KeyGen.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ECDH_ZGen.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_EC_Ephemeral.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_EncryptDecrypt.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_EncryptDecrypt2.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_EventSequenceComplete.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_EvictControl.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_FieldUpgradeData.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_FieldUpgradeStart.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_FirmwareRead.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_FlushContext.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_GetCapability.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_GetCommandAuditDigest.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_GetRandom.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_GetSessionAuditDigest.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_GetTestResult.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_GetTime.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_HMAC.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_HMAC_Start.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Hash.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_HashSequenceStart.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_HierarchyChangeAuth.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_HierarchyControl.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Import.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_IncrementalSelfTest.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Load.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_LoadExternal.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_MAC.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_MAC_Start.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_MakeCredential.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_Certify.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_ChangeAuth.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_DefineSpace.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_Extend.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_GlobalWriteLock.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_Increment.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_Read.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_ReadLock.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_ReadPublic.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_SetBits.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_UndefineSpace.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_UndefineSpaceSpecial.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_Write.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_NV_WriteLock.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ObjectChangeAuth.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PCR_Allocate.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PCR_Event.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PCR_Extend.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PCR_Read.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PCR_Reset.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PCR_SetAuthPolicy.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PCR_SetAuthValue.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PP_Commands.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyAuthValue.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyAuthorize.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyAuthorizeNV.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyCommandCode.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyCounterTimer.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyCpHash.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyDuplicationSelect.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyGetDigest.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyLocality.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyNV.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyNameHash.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyNvWritten.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyOR.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyPCR.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyPassword.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyPhysicalPresence.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyRestart.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicySecret.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicySigned.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyTemplate.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_PolicyTicket.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Policy_AC_SendSelect.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Quote.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_RSA_Decrypt.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_RSA_Encrypt.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ReadClock.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ReadPublic.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Rewrap.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_SelfTest.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_SequenceComplete.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_SequenceUpdate.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_SetAlgorithmSet.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_SetCommandCodeAuditStatus.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_SetPrimaryPolicy.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Shutdown.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Sign.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_StartAuthSession.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Startup.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_StirRandom.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_TestParms.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Unseal.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_Vendor_TCG_Test.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_VerifySignature.lo CC src/tss2-esys/api/libtss2_esys_la-Esys_ZGen_2Phase.lo CC src/tss2-esys/libtss2_esys_la-esys_context.lo CC src/tss2-esys/libtss2_esys_la-esys_crypto.lo CC src/tss2-esys/libtss2_esys_la-esys_free.lo CC src/tss2-esys/libtss2_esys_la-esys_iutil.lo CC src/tss2-esys/libtss2_esys_la-esys_mu.lo CC src/tss2-esys/libtss2_esys_la-esys_tr.lo CC src/tss2-esys/libtss2_esys_la-esys_crypto_ossl.lo CC src/tss2-rc/tss2_rc.lo CC src/tss2-policy/libtss2_policy_la-tss2_policy.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-fapi_crypto.lo In file included from /usr/local/openssl/include/openssl/evp.h:30, from src/tss2-fapi/fapi_crypto.c:13: src/tss2-fapi/fapi_crypto.c: In function ‘ifapi_base64encode’: /usr/local/openssl/include/openssl/bio.h:632:34: warning: value computed is not used [-Wunused-value] 632 | # define BIO_flush(b) (int)BIO_ctrl(b,BIO_CTRL_FLUSH,0,NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tss2-fapi/fapi_crypto.c:2084:5: note: in expansion of macro ‘BIO_flush’ 2084 | BIO_flush(bio); | ^~~~~~~~~ CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_eventlog.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_ima_eventlog.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_eventlog_system.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_helpers.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_io.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_json_deserialize.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_json_serialize.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-tpm_json_deserialize.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-tpm_json_serialize.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_json_eventlog_serialize.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_policy.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_policy_calculate.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_policy_execute.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_policy_instantiate.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_policy_json_deserialize.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_policy_json_serialize.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_keystore.lo CC src/tss2-fapi/tss2_policy_libtss2_policy_la-ifapi_policy_store.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_AuthorizePolicy.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_ChangeAuth.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_CreateKey.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_CreateNv.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_CreateSeal.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Decrypt.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Delete.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Encrypt.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_ExportKey.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_ExportPolicy.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Finalize.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Free.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetAppData.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetCertificate.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetDescription.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetEsysBlob.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetInfo.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetPlatformCertificates.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetPollHandles.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetRandom.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetTcti.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_GetTpmBlobs.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Import.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Initialize.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_List.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_NvExtend.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_NvIncrement.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_NvRead.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_NvSetBits.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_NvWrite.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_PcrExtend.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_PcrRead.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Provision.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Quote.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_SetAppData.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_SetCertificate.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_SetDescription.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Sign.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_Unseal.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_VerifyQuote.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_VerifySignature.lo CC src/tss2-fapi/api/libtss2_fapi_la-Fapi_WriteAuthorizeNV.lo CC src/tss2-fapi/api/libtss2_fapi_la-fapi_callback.lo CCLD libutil.la CCLD src/tss2-rc/libtss2-rc.la CCLD src/tss2-mu/libtss2-mu.la CCLD src/tss2-tcti/libtss2-tctildr.la CCLD src/tss2-tcti/libtss2-tcti-device.la CCLD src/tss2-tcti/libtss2-tcti-swtpm.la CCLD src/tss2-tcti/libtss2-tcti-mssim.la CCLD src/tss2-tcti/libtss2-tcti-pcap.la CCLD src/tss2-tcti/libtss2-tcti-cmd.la CCLD src/tss2-tcti/libtss2-tcti-spi-helper.la CCLD src/tss2-sys/libtss2-sys.la CCLD src/tss2-esys/libtss2-esys.la /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_context_new': esys_crypto_ossl.c:(.text+0x2e): undefined reference to OSSL_LIB_CTX_new' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_context_set_hash_md': esys_crypto_ossl.c:(.text+0xde): undefined reference to EVP_MD_fetch' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_bn2binpad': esys_crypto_ossl.c:(.text+0x161): undefined reference to BN_num_bits' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x18c): undefined reference to BN_bn2bin' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_context_free.part.0': esys_crypto_ossl.c:(.text+0x1dd): undefined reference to EVP_MD_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1e6): undefined reference to EVP_MD_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1ef): undefined reference to OSSL_LIB_CTX_free' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_hash_start': esys_crypto_ossl.c:(.text+0x2cf): undefined reference to EVP_MD_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2e8): undefined reference to EVP_DigestInit' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_hash_update': esys_crypto_ossl.c:(.text+0x5c9): undefined reference to EVP_DigestUpdate' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_hash_finish': esys_crypto_ossl.c:(.text+0x77f): undefined reference to EVP_DigestFinal' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_hmac_start': esys_crypto_ossl.c:(.text+0xbae): undefined reference to EVP_MD_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0xbcd): undefined reference to EVP_PKEY_new_raw_private_key' /usr/bin/ld: esys_crypto_ossl.c:(.text+0xbed): undefined reference to EVP_DigestSignInit' /usr/bin/ld: esys_crypto_ossl.c:(.text+0xc5b): undefined reference to EVP_PKEY_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0xd6f): undefined reference to EVP_PKEY_free' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_hmac_update': esys_crypto_ossl.c:(.text+0xf6d): undefined reference to EVP_DigestSignUpdate' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_hmac_finish': esys_crypto_ossl.c:(.text+0x1163): undefined reference to EVP_DigestSignFinal' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_random2b': esys_crypto_ossl.c:(.text+0x1483): undefined reference to OSSL_LIB_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x14a8): undefined reference to RAND_bytes_ex' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x14b2): undefined reference to OSSL_LIB_CTX_free' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_pk_encrypt': esys_crypto_ossl.c:(.text+0x15bf): undefined reference to OSSL_LIB_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1600): undefined reference to EVP_MD_fetch' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x169b): undefined reference to EVP_PKEY_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x16ac): undefined reference to EVP_MD_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x16b4): undefined reference to OSSL_LIB_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1752): undefined reference to BN_bin2bn' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1763): undefined reference to OSSL_PARAM_BLD_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1781): undefined reference to OSSL_PARAM_BLD_push_BN' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x179a): undefined reference to OSSL_PARAM_BLD_push_uint32' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x17aa): undefined reference to OSSL_PARAM_BLD_to_param' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x17c7): undefined reference to EVP_PKEY_CTX_new_from_name' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x17dd): undefined reference to EVP_PKEY_fromdata_init' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x17ff): undefined reference to EVP_PKEY_fromdata' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x181d): undefined reference to EVP_PKEY_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x183f): undefined reference to EVP_PKEY_encrypt_init' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x18bb): undefined reference to EVP_PKEY_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x18c5): undefined reference to EVP_PKEY_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x193a): undefined reference to EVP_PKEY_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1952): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1964): undefined reference to OSSL_PARAM_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1975): undefined reference to OSSL_PARAM_BLD_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x19ee): undefined reference to EVP_PKEY_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x19ff): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1aba): undefined reference to OSSL_LIB_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1b14): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1b2c): undefined reference to EVP_PKEY_CTX_set_rsa_padding' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1b7e): undefined reference to CRYPTO_strdup' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1bac): undefined reference to EVP_PKEY_CTX_set0_rsa_oaep_label' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1bce): undefined reference to CRYPTO_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1c3a): undefined reference to EVP_PKEY_CTX_set_rsa_oaep_md' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1c8f): undefined reference to EVP_PKEY_encrypt' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1cd0): undefined reference to EVP_PKEY_encrypt' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_get_ecdh_point': esys_crypto_ossl.c:(.text+0x1f63): undefined reference to EC_GROUP_new_by_curve_name' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1f7b): undefined reference to EVP_PKEY_CTX_new_id' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1f8f): undefined reference to EVP_PKEY_keygen_init' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1fa2): undefined reference to EVP_PKEY_CTX_set_ec_paramgen_curve_nid' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1fb7): undefined reference to EVP_PKEY_keygen' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1fd5): undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x1fef): undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x205c): undefined reference to EC_GROUP_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2064): undefined reference to EVP_PKEY_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2073): undefined reference to EVP_PKEY_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x208b): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x20a3): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x20bf): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x20e3): undefined reference to EC_GROUP_new_by_curve_name' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2239): undefined reference to EC_GROUP_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x225a): undefined reference to EVP_PKEY_get_bn_param' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x232a): undefined reference to BN_bin2bn' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x234d): undefined reference to BN_bin2bn' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2361): undefined reference to EC_POINT_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2383): undefined reference to EC_POINT_set_affine_coordinates' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x23a2): undefined reference to EC_POINT_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x23f7): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x23ff): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x245c): undefined reference to EC_GROUP_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2471): undefined reference to EC_POINT_is_on_curve' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2484): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x248c): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2494): undefined reference to EC_POINT_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x24bd): undefined reference to EC_POINT_mul' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2535): undefined reference to EC_POINT_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x253d): undefined reference to EC_POINT_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x255f): undefined reference to EC_POINT_get_affine_coordinates' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x272d): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2792): undefined reference to BN_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x279a): undefined reference to BN_free' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_sym_aes_encrypt': esys_crypto_ossl.c:(.text+0x296c): undefined reference to EVP_aes_256_cfb128' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2a01): undefined reference to EVP_aes_128_cfb128' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2a19): undefined reference to EVP_CIPHER_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2a38): undefined reference to EVP_EncryptInit' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2a5a): undefined reference to EVP_EncryptUpdate' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2acb): undefined reference to EVP_CIPHER_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2b79): undefined reference to EVP_aes_192_cfb128' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2b92): undefined reference to EVP_EncryptFinal' /usr/bin/ld: src/tss2-esys/.libs/libtss2_esys_la-esys_crypto_ossl.o: in function iesys_cryptossl_sym_aes_decrypt': esys_crypto_ossl.c:(.text+0x2d2f): undefined reference to EVP_aes_128_cfb128' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2d37): undefined reference to EVP_CIPHER_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2d94): undefined reference to EVP_DecryptInit' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2e02): undefined reference to EVP_CIPHER_CTX_free' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2e53): undefined reference to EVP_aes_256_cfb128' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2e5b): undefined reference to EVP_CIPHER_CTX_new' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2ee5): undefined reference to EVP_DecryptUpdate' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2ef8): undefined reference to EVP_DecryptFinal' /usr/bin/ld: esys_crypto_ossl.c:(.text+0x2f31): undefined reference to EVP_aes_192_cfb128' collect2: error: ld returned 1 exit status make: *** [Makefile:12327: src/tss2-esys/libtss2-esys.la] Error 1

Bab95 avatar Jan 15 '24 20:01 Bab95

Does it work with? make -j LDFLAGS="-lcrypto -lcurl"

JuergenReppSIT avatar Jan 16 '24 13:01 JuergenReppSIT