You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1701 lines
86 KiB

# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2015 - 2018 Intel Corporation
# Copyright (c) 2018 Fraunhofer SIT sponsored by Infineon Technologies AG
# All rights reserved.
TESTS_CFLAGS = $(AM_CFLAGS) $(LIBCRYPTO_CFLAGS) -I$(srcdir)/src/tss2-mu \
-I$(srcdir)/src/tss2-sys -I$(srcdir)/src/tss2-esys -I$(srcdir)/src/tss2-fapi \
-Wno-unused-parameter -Wno-missing-field-initializers
TESTS_LDADD = $(check_LTLIBRARIES) $(lib_LTLIBRARIES) \
$(LIBCRYPTO_LIBS) $(libutil)
check_LTLIBRARIES =
# test harness configuration
TEST_EXTENSIONS = .int
if TESTPTPM
INT_LOG_COMPILER = $(srcdir)/script/int-log-compiler-ptpm.sh
INT_LOG_FLAGS = --ptpm=$(PTPM)
else
INT_LOG_COMPILER = $(srcdir)/script/int-log-compiler.sh
endif
EXTRA_DIST += $(srcdir)/script/int-log-compiler.sh $(srcdir)/script/int-log-compiler-ptpm.sh \
$(srcdir)/script/ekca/create_ca.sh $(srcdir)/script/ekca/ek.cnf \
$(srcdir)/script/ekca/intermed-ca.cnf $(srcdir)/script/ekca/root-ca.cnf
AM_TESTS_ENVIRONMENT = PATH="$(PATH)"
check-programs: $(check_PROGRAMS)
check_PROGRAMS = $(TESTS_UNIT) $(TESTS_INTEGRATION)
TESTS = $(TESTS_UNIT) $(TESTS_INTEGRATION)
if ENABLE_INTEGRATION
check_PROGRAMS += test/helper/tpm_startup
test_helper_tpm_startup_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration
test_helper_tpm_startup_LDFLAGS = $(TESTS_LDFLAGS)
test_helper_tpm_startup_LDADD = $(TESTS_LDADD)
check_PROGRAMS += test/helper/tpm_transientempty
test_helper_tpm_transientempty_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration
test_helper_tpm_transientempty_LDFLAGS = $(TESTS_LDFLAGS)
test_helper_tpm_transientempty_LDADD = $(TESTS_LDADD)
check_PROGRAMS += test/helper/tpm_dumpstate
test_helper_tpm_dumpstate_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration
test_helper_tpm_dumpstate_LDFLAGS = $(TESTS_LDFLAGS)
test_helper_tpm_dumpstate_LDADD = $(TESTS_LDADD)
check_PROGRAMS += test/helper/tpm_getek
test_helper_tpm_getek_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration
test_helper_tpm_getek_LDFLAGS = $(TESTS_LDFLAGS) -lcrypto
test_helper_tpm_getek_LDADD = $(TESTS_LDADD)
check_PROGRAMS += test/helper/tpm_getek_ecc
test_helper_tpm_getek_ecc_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration
test_helper_tpm_getek_ecc_LDFLAGS = $(TESTS_LDFLAGS) -lcrypto
test_helper_tpm_getek_ecc_LDADD = $(TESTS_LDADD)
check_PROGRAMS += test/helper/tpm_writeekcert
test_helper_tpm_writeekcert_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration
test_helper_tpm_writeekcert_LDFLAGS = $(TESTS_LDFLAGS)
test_helper_tpm_writeekcert_LDADD = $(TESTS_LDADD)
endif #ENABLE_INTEGRATION
if UNIT
TESTS_UNIT = \
test/unit/CommonPreparePrologue \
test/unit/CopyCommandHeader \
test/unit/io \
test/unit/key-value-parse \
test/unit/log \
test/unit/tcti-device \
test/unit/tctildr \
test/unit/tctildr-dl \
test/unit/tctildr-nodl \
test/unit/tctildr-tcti \
test/unit/tctildr-getinfo \
test/unit/UINT8-marshal \
test/unit/UINT16-marshal \
test/unit/UINT32-marshal \
test/unit/UINT64-marshal \
test/unit/TPMA-marshal \
test/unit/TPM2B-marshal \
test/unit/TPMS-marshal \
test/unit/TPML-marshal \
test/unit/TPMT-marshal \
test/unit/TPMU-marshal \
test/unit/sys-execute \
test/unit/tss2_rc
if ENABLE_TCTI_MSSIM
TESTS_UNIT += test/unit/tcti-mssim
endif
if ESAPI
TESTS_UNIT += \
test/unit/esys-context-null \
test/unit/esys-resubmissions \
test/unit/esys-sequence-finish \
test/unit/esys-tcti-rcs \
test/unit/esys-tpm-rcs \
test/unit/esys-getpollhandles \
test/unit/esys-nulltcti \
test/unit/esys-crypto
endif ESAPI
if FAPI
fapiLDFLAGS = -ljson-c
TESTS_UNIT += \
test/unit/fapi-json
endif FAPI
endif #UNIT
if ENABLE_INTEGRATION
check_LTLIBRARIES += test/integration/libtest_utils.la
TESTS_INTEGRATION =
if !TESTPTPM
TESTS_INTEGRATION += \
test/integration/sapi-asymmetric-encrypt-decrypt.int \
test/integration/sapi-nv-policy-locality.int \
test/integration/sapi-nv-readwrite.int \
test/integration/sapi-hmac-auth.int \
test/integration/sapi-primary-rsa-2K-aes128cfb.int \
test/integration/sapi-create-keyedhash-sha1-hmac.int \
test/integration/sapi-encrypt-decrypt.int \
test/integration/sapi-encrypt-decrypt-2.int \
test/integration/sapi-evict-ctrl.int \
test/integration/sapi-get-random.int \
test/integration/sapi-stir-random.int \
test/integration/sapi-hierarchy-change-auth.int \
test/integration/sapi-abi-version.int \
test/integration/sapi-pcr-extension.int \
test/integration/sapi-self-test.int \
test/integration/sapi-start-auth-session.int \
test/integration/sapi-sys-initialize.int \
test/integration/sapi-tpm-properties.int \
test/integration/sapi-system-api.int \
test/integration/sapi-policy-template.int \
test/integration/sapi-create-loaded.int \
test/integration/sapi-policy-authorizeNV.int \
test/integration/sapi-command-cancel.int \
test/integration/sapi-param-encrypt-decrypt.int \
test/tpmclient/tpmclient.int
endif # !TESTPTPM
if ESAPI
ESYS_TESTS_INTEGRATION_DESTRUCTIVE = \
test/integration/esys-change-eps.int \
test/integration/esys-clear.int \
test/integration/esys-tpm-clear-auth.int \
test/integration/esys-clear-session.int \
test/integration/esys-field-upgrade.int \
test/integration/esys-firmware-read.int \
test/integration/esys-lock.int \
test/integration/esys-set-algorithm-set.int
ESYS_TESTS_INTEGRATION_MANDATORY = \
test/integration/esys-certify-creation.int \
test/integration/esys-certify.int \
test/integration/esys-clear-control.int \
test/integration/esys-clockset.int \
test/integration/esys-commit.int \
test/integration/esys-create-fail.int \
test/integration/esys-create-password-auth.int \
test/integration/esys-create-policy-auth.int \
test/integration/esys-create-primary-ecc-hmac.int \
test/integration/esys-create-primary-hmac.int \
test/integration/esys-create-session-auth-bound.int \
test/integration/esys-create-session-auth-ecc.int \
test/integration/esys-create-session-auth.int \
test/integration/esys-create-session-auth-xor.int \
test/integration/esys-ecc-parameters.int \
test/integration/esys-ecdh-zgen.int \
test/integration/esys-event-sequence-complete.int \
test/integration/esys-evict-control-serialization.int \
test/integration/esys-get-capability.int \
test/integration/esys-get-random.int \
test/integration/esys-hash.int \
test/integration/esys-hashsequencestart.int \
test/integration/esys-hashsequencestart-session.int \
test/integration/esys-hierarchychangeauth.int \
test/integration/esys-hmac.int \
test/integration/esys-hmacsequencestart.int \
test/integration/esys-hmacsequencestart-session.int \
test/integration/esys-import.int \
test/integration/esys-make-credential.int \
test/integration/esys-make-credential-session.int \
test/integration/esys-nv-ram-counter.int \
test/integration/esys-nv-ram-counter-session.int \
test/integration/esys-nv-ram-extend-index.int \
test/integration/esys-nv-ram-extend-index-session.int \
test/integration/esys-nv-ram-ordinary-index-rlock.int \
test/integration/esys-nv-ram-ordinary-index-rlock-session.int \
test/integration/esys-nv-ram-ordinary-index-wlock.int \
test/integration/esys-nv-ram-ordinary-index-wlock-session.int \
test/integration/esys-nv-ram-set-bits.int \
test/integration/esys-nv-ram-set-bits-session.int \
test/integration/esys-object-changeauth.int \
test/integration/esys-policy-authorize.int \
test/integration/esys-policy-nv-changeauth.int \
test/integration/esys-policy-nv-undefine-special.int \
test/integration/esys-policy-password.int \
test/integration/esys-policy-regression.int \
test/integration/esys-quote.int \
test/integration/esys-rsa-encrypt-decrypt.int \
test/integration/esys-save-and-load-context.int \
test/integration/esys-session-attributes.int \
test/integration/esys-stir-random.int \
test/integration/esys-testparms.int \
test/integration/esys-tpm-tests.int \
test/integration/esys-tr-fromTpmPublic-key.int \
test/integration/esys-tr-fromTpmPublic-nv.int \
test/integration/esys-tr-fromTpmPublic-session.int \
test/integration/esys-tr-getName-hierarchy.int \
test/integration/esys-tr-getTpmHandle-key.int \
test/integration/esys-tr-getTpmHandle-nv.int \
test/integration/esys-unseal-password-auth.int \
test/integration/esys-verify-signature.int \
test/integration/esys-ecdh-keygen.int \
test/integration/esys-policy-ticket.int
ESYS_TESTS_INTEGRATION_OPTIONAL = \
test/integration/esys-audit.int \
test/integration/esys-createloaded.int \
test/integration/esys-createloaded-session.int \
test/integration/esys-duplicate.int \
test/integration/esys-encrypt-decrypt.int \
test/integration/esys-get-time.int \
test/integration/esys-hierarchy-control.int \
test/integration/esys-nv-certify.int \
test/integration/esys-pcr-auth-value.int \
test/integration/esys-pcr-basic.int \
test/integration/esys-policy-authorize-nv-opt.int \
test/integration/esys-policy-physical-presence-opt.int \
test/integration/esys-policy-template-opt.int \
test/integration/esys-pp-commands.int \
test/integration/esys-zgen-2phase.int \
test/integration/esys-auto-session-flags.int
if TESTPTPM
if PTPMMANDATORY
TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_MANDATORY)
endif
if PTPMOPTIONAL
TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_OPTIONAL)
endif
if PTPMDESTRUCTIVE
TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_DESTRUCTIVE)
endif
else # TESTPTPM
TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_MANDATORY) $(ESYS_TESTS_INTEGRATION_OPTIONAL) $(ESYS_TESTS_INTEGRATION_DESTRUCTIVE)
endif # TESTPTPM
endif #ESAPI
if FAPI
TESTS_CFLAGS += -DTOP_SOURCEDIR"=\"$(top_srcdir)\""
FAPI_TESTS_INTEGRATION = \
test/integration/fapi-data-crypt.int \
test/integration/fapi-data-crypt-rsa.int \
test/integration/fapi-duplicate.int \
test/integration/fapi-ext-public-key.int \
test/integration/fapi-get-random.int \
test/integration/fapi-platform-certificates.int \
test/integration/fapi-key-create-sign.int \
test/integration/fapi-key-create-sign-password-provision.int \
test/integration/fapi-key-create-sign-rsa.int \
test/integration/fapi-key-create-policy-authorize-sign.int \
test/integration/fapi-key-create-policy-authorize-sign-rsa.int \
test/integration/fapi-key-create-policy-authorize-nv-sign.int \
test/integration/fapi-key-create-policy-secret-nv-sign.int \
test/integration/fapi-key-create-policy-pcr-sign.int \
test/integration/fapi-key-create-policy-signed.int \
test/integration/fapi-key-create-policy-signed-ecc.int \
test/integration/fapi-key-create-policy-nv-sign.int \
test/integration/fapi-key-create-policy-or-sign.int \
test/integration/fapi-key-create-policy-password-sign.int \
test/integration/fapi-key-create-policy-countertimer-sign.int \
test/integration/fapi-key-create-policy-physical-presence-sign.int \
test/integration/fapi-key-create-policy-locality-sign.int \
test/integration/fapi-key-create-policy-command-code-sign.int \
test/integration/fapi-key-create-policy-auth-value-sign.int \
test/integration/fapi-key-create-ckda-sign.int \
test/integration/fapi-key-change-auth.int \
test/integration/fapi-key-create-sign-persistent.int \
test/integration/fapi-key-create-sign-password.int \
test/integration/fapi-key-create-ckda-sign-password.int \
test/integration/fapi-key-create-sign-password-da.int \
test/integration/fapi-key-create-ckda-sign-password-da.int \
test/integration/fapi-nv-authorizenv-cphash.int \
test/integration/fapi-nv-ordinary.int \
test/integration/fapi-nv-written-policy.int \
test/integration/fapi-nv-extend.int \
test/integration/fapi-nv-increment.int \
test/integration/fapi-nv-set-bits.int \
test/integration/fapi-pcr-test.int \
test/integration/fapi-quote.int \
test/integration/fapi-quote-rsa.int \
test/integration/fapi-info.int \
test/integration/fapi-unseal.int
if TESTPTPM
if PTPMDESTRUCTIVE
FAPI_TESTS_INTEGRATION += test/integration/fapi-key-create-sign-policy-provision.int
endif #PTPMDESTRUCTIVE
endif #TESTPTPM
if !TESTPTPM
FAPI_TESTS_INTEGRATION += \
test/integration/fapi-key-create-sign-policy-provision.int \
test/integration/fapi-provision-fingerprint.int \
test/integration/fapi-provision-certificate.int \
test/integration/fapi-provision-fingerprint_ecc.int \
test/integration/fapi-provision-certificate_ecc.int
endif #!TESTPTPM
TESTS_INTEGRATION += $(FAPI_TESTS_INTEGRATION)
endif #FAPI
endif #ENABLE_INTEGRATION
CLEANFILES += \
test/integration/*.crt \
test/integration/*.crl \
test/integration/*.int_state* \
test/integration/*.log \
test/integration/*.int_ek* \
test/integration/*.int_*-ca.pem \
test/tpmclient/*.crt \
test/tpmclient/*.crl \
test/tpmclient/*.int_state* \
test/tpmclient/*.log \
test/tpmclient/*.int_ek* \
test/tpmclient/*.int_*-ca.pem \
test/unit/*.log
if UNIT
test_unit_tcti_device_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_tcti_device_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil)
test_unit_tcti_device_LDFLAGS = -Wl,--wrap=read -Wl,--wrap=write, -Wl,--wrap=poll \
-Wl,--wrap=open
test_unit_tcti_device_SOURCES = test/unit/tcti-device.c \
src/tss2-tcti/tcti-common.c \
src/tss2-tcti/tcti-device.c src/tss2-tcti/tcti-device.h
if ENABLE_TCTI_MSSIM
test_unit_tcti_mssim_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_tcti_mssim_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil)
test_unit_tcti_mssim_LDFLAGS = -Wl,--wrap=connect,--wrap=read,--wrap=select,--wrap=write
test_unit_tcti_mssim_SOURCES = test/unit/tcti-mssim.c \
src/tss2-tcti/tcti-common.c \
src/tss2-tcti/tcti-mssim.c src/tss2-tcti/tcti-mssim.h
endif
test_unit_tctildr_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_tctildr_LDADD = $(CMOCKA_LIBS) $(libutil)
test_unit_tctildr_LDFLAGS = -Wl,--wrap=calloc,--wrap=free \
-Wl,--wrap=tctildr_finalize_data,--wrap=tctildr_get_tcti \
-Wl,--wrap=tctildr_get_info
test_unit_tctildr_SOURCES = test/unit/tctildr.c \
src/tss2-tcti/tctildr.c
test_unit_tctildr_dl_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) \
-UESYS_TCTI_DEFAULT_MODULE -UESYS_TCTI_DEFAUT_CONFIG
test_unit_tctildr_dl_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_tctildr_dl_LDFLAGS = -Wl,--wrap=dlopen,--wrap=dlclose,--wrap=dlsym \
-Wl,--wrap=tcti_from_init,--wrap=tcti_from_info,--wrap=dlerror
test_unit_tctildr_dl_SOURCES = test/unit/tctildr-dl.c \
src/tss2-tcti/tctildr-dl.c
test_unit_tctildr_nodl_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) \
-UESYS_TCTI_DEFAULT_MODULE -UESYS_TCTI_DEFAUT_CONFIG
test_unit_tctildr_nodl_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_tctildr_nodl_LDFLAGS = -Wl,--wrap=Tss2_Tcti_Device_Init \
-Wl,--wrap=Tss2_Tcti_Mssim_Init,--wrap=tcti_from_init
test_unit_tctildr_nodl_SOURCES = test/unit/tctildr-nodl.c \
src/tss2-tcti/tctildr-nodl.c
test_unit_tctildr_tcti_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_tctildr_tcti_LDADD = $(CMOCKA_LIBS) $(libutil) \
$(libtss2_tcti_device) $(libtss2_tcti_mssim)
test_unit_tctildr_tcti_LDFLAGS = -Wl,--wrap=tctildr_get_info \
-Wl,--wrap=tctildr_get_tcti,--wrap=tctildr_finalize_data
test_unit_tctildr_tcti_SOURCES = test/unit/tctildr-tcti.c \
src/tss2-tcti/tctildr.c
test_unit_tctildr_getinfo_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_tctildr_getinfo_LDADD = $(CMOCKA_LIBS) $(libutil) \
$(libtss2_tcti_device) $(libtss2_tcti_mssim)
test_unit_tctildr_getinfo_LDFLAGS = -Wl,--wrap=strndup,--wrap=free \
-Wl,--wrap=calloc,--wrap=tctildr_finalize_data \
-Wl,--wrap=tctildr_get_info,--wrap=tctildr_get_tcti
test_unit_tctildr_getinfo_SOURCES = test/unit/tctildr-getinfo.c \
src/tss2-tcti/tctildr.c
test_unit_io_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_io_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil)
test_unit_io_LDFLAGS = -Wl,--wrap=connect,--wrap=read,--wrap=socket,--wrap=write
test_unit_key_value_parse_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_key_value_parse_LDADD = $(CMOCKA_LIBS) $(libutil)
test_unit_log_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_log_LDADD = $(CMOCKA_LIBS) $(libutil)
test_unit_CommonPreparePrologue_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_CommonPreparePrologue_LDADD = $(CMOCKA_LIBS) $(libtss2_sys) $(libtss2_mu)
test_unit_CommonPreparePrologue_SOURCES = test/unit/CommonPreparePrologue.c \
src/tss2-sys/sysapi_util.c
test_unit_CopyCommandHeader_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_CopyCommandHeader_LDADD = $(CMOCKA_LIBS) $(libtss2_sys) $(libtss2_mu)
test_unit_CopyCommandHeader_SOURCES = test/unit/CopyCommandHeader.c \
src/tss2-sys/sysapi_util.c
test_unit_UINT8_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_UINT8_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_UINT16_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_UINT16_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_UINT32_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_UINT32_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_UINT64_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_UINT64_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_TPMA_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_TPMA_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_TPM2B_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_TPM2B_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_TPMS_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_TPMS_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_TPML_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_TPML_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_TPMT_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_TPMT_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_TPMU_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_TPMU_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu)
test_unit_sys_execute_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_sys_execute_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libtss2_sys)
test_unit_sys_execute_SOURCES = test/unit/sys-execute.c \
src/tss2-tcti/tcti-common.c src/util/log.c
test_unit_tss2_rc_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_tss2_rc_LDADD = $(CMOCKA_LIBS) $(libtss2_rc) $(libtss2_sys)
test_unit_tss2_rc_SOURCES = test/unit/test_tss2_rc.c
if ESAPI
test_unit_esys_context_null_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_unit_esys_context_null_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_esys_context_null_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) -Wl,--wrap=tctildr_finalize_data,--wrap=tctildr_get_tcti
test_unit_esys_resubmissions_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_unit_esys_resubmissions_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_esys_resubmissions_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_unit_esys_resubmissions_SOURCES = test/unit/esys-resubmissions.c \
src/tss2-esys/esys_iutil.c \
src/tss2-esys/esys_crypto.c \
$(TSS2_ESYS_SRC_CRYPTO)
test_unit_esys_sequence_finish_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_esys_sequence_finish_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_esys_sequence_finish_LDFLAGS = $(TESTS_LDFLAGS)
test_unit_esys_tcti_rcs_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_unit_esys_tcti_rcs_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_esys_tcti_rcs_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_unit_esys_tcti_rcs_SOURCES = test/unit/esys-tcti-rcs.c \
src/tss2-esys/esys_iutil.c \
src/tss2-esys/esys_crypto.c \
$(TSS2_ESYS_SRC_CRYPTO)
test_unit_esys_tpm_rcs_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_unit_esys_tpm_rcs_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_esys_tpm_rcs_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_unit_esys_tpm_rcs_SOURCES = test/unit/esys-tpm-rcs.c \
src/tss2-esys/esys_iutil.c \
src/tss2-esys/esys_crypto.c \
$(TSS2_ESYS_SRC_CRYPTO)
test_unit_esys_getpollhandles_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_esys_getpollhandles_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_esys_getpollhandles_LDFLAGS = $(TESTS_LDFLAGS)
test_unit_esys_nulltcti_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_unit_esys_nulltcti_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) $(LIBADD_DL)
test_unit_esys_nulltcti_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) \
$(LIBDL_LDFLAGS) -Wl,--wrap=Tss2_TctiLdr_Initialize -Wl,--wrap=Tss2_TctiLdr_Finalize
test_unit_esys_nulltcti_SOURCES = test/unit/esys-nulltcti.c \
src/tss2-esys/esys_context.c \
src/tss2-esys/esys_iutil.c \
src/tss2-esys/esys_crypto.c \
$(TSS2_ESYS_SRC_CRYPTO)
test_unit_esys_crypto_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_unit_esys_crypto_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) $(LIBADD_DL)
test_unit_esys_crypto_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_unit_esys_crypto_SOURCES = test/unit/esys-crypto.c \
src/tss2-esys/esys_context.c \
src/tss2-esys/esys_iutil.c \
src/tss2-tcti/tctildr.c \
src/tss2-tcti/tctildr-dl.c \
src/tss2-esys/esys_crypto.c \
$(TSS2_ESYS_SRC_CRYPTO)
endif # ESAPI
if FAPI
test_unit_fapi_json_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS)
test_unit_fapi_json_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD)
test_unit_fapi_json_LDFLAGS = $(TESTS_LDFLAGS) -ljson-c
test_unit_fapi_json_SOURCES = test/unit/fapi-json.c \
src/tss2-fapi/ifapi_json_deserialize.c \
src/tss2-fapi/ifapi_json_serialize.c \
src/tss2-fapi/ifapi_policy_json_deserialize.c \
src/tss2-fapi/ifapi_policy_json_serialize.c \
src/tss2-fapi/tpm_json_deserialize.c \
src/tss2-fapi/tpm_json_serialize.c
endif # FAPI
endif # UNIT
if ENABLE_INTEGRATION
test_tpmclient_tpmclient_int_CFLAGS = $(AM_CFLAGS) -U_FORTIFY_SOURCE $(TESTS_CFLAGS)
test_tpmclient_tpmclient_int_LDADD = $(TESTS_LDADD)
test_tpmclient_tpmclient_int_SOURCES = \
test/tpmclient/tpmclient.int.c test/integration/main-sapi.c
test_integration_libtest_utils_la_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_libtest_utils_la_SOURCES = \
test/integration/sapi-context-util.c test/integration/context-util.h \
test/integration/sapi-util.c test/integration/sapi-util.h \
test/integration/sapi-session-util.c test/integration/session-util.h \
test/integration/sapi-test-options.c test/integration/test-options.h \
test/integration/sapi-entity-util.c test/integration/test.h \
src/util/log.c
test_integration_sapi_asymmetric_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_asymmetric_encrypt_decrypt_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_asymmetric_encrypt_decrypt_int_SOURCES = \
test/integration/sapi-asymmetric-encrypt-decrypt.int.c test/integration/main-sapi.c
test_integration_sapi_nv_policy_locality_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_nv_policy_locality_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_nv_policy_locality_int_SOURCES = \
test/integration/sapi-nv-policy-locality.int.c test/integration/main-sapi.c
test_integration_sapi_nv_readwrite_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_nv_readwrite_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_nv_readwrite_int_SOURCES = \
test/integration/sapi-nv-readwrite.int.c test/integration/main-sapi.c
test_integration_sapi_hmac_auth_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_hmac_auth_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_hmac_auth_int_SOURCES = \
test/integration/sapi-hmac-auth.int.c test/integration/main-sapi.c
test_integration_sapi_primary_rsa_2K_aes128cfb_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_primary_rsa_2K_aes128cfb_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_primary_rsa_2K_aes128cfb_int_SOURCES = \
test/integration/sapi-primary-rsa-2K-aes128cfb.int.c \
test/integration/main-sapi.c
test_integration_sapi_create_keyedhash_sha1_hmac_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_create_keyedhash_sha1_hmac_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_create_keyedhash_sha1_hmac_int_SOURCES = \
test/integration/sapi-create-keyedhash-sha1-hmac.int.c test/integration/main-sapi.c
test_integration_sapi_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_encrypt_decrypt_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_encrypt_decrypt_int_SOURCES = \
test/integration/sapi-encrypt-decrypt.int.c test/integration/main-sapi.c
test_integration_sapi_encrypt_decrypt_2_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_encrypt_decrypt_2_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_encrypt_decrypt_2_int_SOURCES = \
test/integration/sapi-encrypt-decrypt-2.int.c test/integration/main-sapi.c
test_integration_sapi_evict_ctrl_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_evict_ctrl_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_evict_ctrl_int_SOURCES = \
test/integration/sapi-evict-ctrl.int.c test/integration/main-sapi.c
test_integration_sapi_sys_initialize_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_sys_initialize_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_sys_initialize_int_SOURCES = test/integration/sapi-sys-initialize.int.c \
test/integration/main-sapi.c
test_integration_sapi_stir_random_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_stir_random_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_stir_random_int_SOURCES = test/integration/sapi-stir-random.int.c \
test/integration/main-sapi.c
test_integration_sapi_get_random_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_get_random_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_get_random_int_SOURCES = test/integration/sapi-get-random.int.c \
test/integration/main-sapi.c
test_integration_sapi_abi_version_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_abi_version_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_abi_version_int_SOURCES = test/integration/sapi-abi-version.int.c \
test/integration/main-sapi.c
test_integration_sapi_pcr_extension_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_pcr_extension_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_pcr_extension_int_SOURCES = test/integration/sapi-pcr-extension.int.c \
test/integration/main-sapi.c
test_integration_sapi_self_test_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_self_test_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_self_test_int_SOURCES = test/integration/sapi-self-test.int.c \
test/integration/main-sapi.c
test_integration_sapi_hierarchy_change_auth_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_hierarchy_change_auth_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_hierarchy_change_auth_int_SOURCES = \
test/integration/sapi-hierarchy-change-auth.int.c test/integration/main-sapi.c
test_integration_sapi_start_auth_session_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_start_auth_session_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_start_auth_session_int_SOURCES = test/integration/main-sapi.c \
test/integration/sapi-start-auth-session.int.c
test_integration_sapi_tpm_properties_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_tpm_properties_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_tpm_properties_int_SOURCES = test/integration/main-sapi.c \
test/integration/sapi-tpm-properties.int.c
test_integration_sapi_system_api_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_system_api_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_system_api_int_SOURCES = test/integration/main-sapi.c \
test/integration/sapi-system-api.int.c
test_integration_sapi_aram_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_sapi_param_encrypt_decrypt_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_param_encrypt_decrypt_int_SOURCES = \
test/integration/sapi-param-encrypt-decrypt.int.c test/integration/main-sapi.c
if ESAPI
ESYS_SRC_UTIL_CRYPTO_SRC = src/tss2-esys/esys_iutil.c \
src/tss2-esys/esys_crypto.c \
$(TSS2_ESYS_SRC_CRYPTO)
test_integration_esys_audit_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_audit_int_LDADD = $(TESTS_LDADD)
test_integration_esys_audit_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_audit_int_SOURCES = \
test/integration/esys-audit.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_certify_creation_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_certify_creation_int_LDADD = $(TESTS_LDADD)
test_integration_esys_certify_creation_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_certify_creation_int_SOURCES = \
test/integration/esys-certify-creation.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_certify_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_certify_int_LDADD = $(TESTS_LDADD)
test_integration_esys_certify_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_certify_int_SOURCES = \
test/integration/esys-certify.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_change_eps_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_change_eps_int_LDADD = $(TESTS_LDADD)
test_integration_esys_change_eps_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_change_eps_int_SOURCES = \
test/integration/esys-change-eps.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_clear_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_clear_int_LDADD = $(TESTS_LDADD)
test_integration_esys_clear_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_clear_int_SOURCES = \
test/integration/esys-clear.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_clear_control_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_clear_control_int_LDADD = $(TESTS_LDADD)
test_integration_esys_clear_control_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_clear_control_int_SOURCES = \
test/integration/esys-clear-control.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_clear_session_int_CFLAGS = $(TESTS_CFLAGS) -DTEST_SESSION
test_integration_esys_clear_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_clear_session_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_clear_session_int_SOURCES = \
test/integration/esys-clear.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_clockset_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_clockset_int_LDADD = $(TESTS_LDADD)
test_integration_esys_clockset_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_clockset_int_SOURCES = \
test/integration/esys-clockset.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_commit_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_commit_int_LDADD = $(TESTS_LDADD)
test_integration_esys_commit_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_commit_int_SOURCES = \
test/integration/esys-commit.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_fail_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_fail_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_fail_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_fail_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-fail.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_createloaded_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_createloaded_int_LDADD = $(TESTS_LDADD)
test_integration_esys_createloaded_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_createloaded_int_SOURCES = \
test/integration/esys-createloaded.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_createloaded_session_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_SESSION
test_integration_esys_createloaded_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_createloaded_session_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_createloaded_session_int_SOURCES = \
test/integration/esys-createloaded.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_password_auth_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_password_auth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_password_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_password_auth_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-password-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_policy_auth_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_policy_auth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_policy_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_policy_auth_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-policy-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_primary_ecc_hmac_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_primary_ecc_hmac_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_primary_ecc_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_primary_ecc_hmac_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-primary-hmac.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_primary_hmac_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_primary_hmac_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_primary_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_primary_hmac_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-primary-hmac.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_session_auth_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_AES_ENCRYPTION $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_session_auth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_session_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_session_auth_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-session-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_session_auth_bound_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_AES_ENCRYPTION -DTEST_BOUND_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_session_auth_bound_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_session_auth_bound_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_session_auth_bound_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-session-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_session_auth_ecc_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_AES_ENCRYPTION -DTEST_ECC $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_session_auth_ecc_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_session_auth_ecc_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_session_auth_ecc_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-session-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_create_session_auth_xor_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_XOR_OBFUSCATION $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_create_session_auth_xor_int_LDADD = $(TESTS_LDADD)
test_integration_esys_create_session_auth_xor_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_create_session_auth_xor_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-create-session-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_duplicate_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_duplicate_int_LDADD = $(TESTS_LDADD)
test_integration_esys_duplicate_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_duplicate_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-duplicate.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_ecc_parameters_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_ecc_parameters_int_LDADD = $(TESTS_LDADD)
test_integration_esys_ecc_parameters_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_ecc_parameters_int_SOURCES = \
test/integration/esys-ecc-parameters.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_ecdh_keygen_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_ecdh_keygen_int_LDADD = $(TESTS_LDADD)
test_integration_esys_ecdh_keygen_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_ecdh_keygen_int_SOURCES = \
test/integration/esys-ecdh-keygen.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_ecdh_zgen_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_ecdh_zgen_int_LDADD = $(TESTS_LDADD)
test_integration_esys_ecdh_zgen_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_ecdh_zgen_int_SOURCES = \
test/integration/esys-ecdh-zgen.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_encrypt_decrypt_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_encrypt_decrypt_int_LDADD = $(TESTS_LDADD)
test_integration_esys_encrypt_decrypt_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_encrypt_decrypt_int_SOURCES = \
test/integration/esys-encrypt-decrypt.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_event_sequence_complete_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_event_sequence_complete_int_LDADD = $(TESTS_LDADD)
test_integration_esys_event_sequence_complete_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_event_sequence_complete_int_SOURCES = \
test/integration/esys-event-sequence-complete.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_evict_control_serialization_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_evict_control_serialization_int_LDADD = $(TESTS_LDADD)
test_integration_esys_evict_control_serialization_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_evict_control_serialization_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-evict-control-serialization.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_field_upgrade_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_field_upgrade_int_LDADD = $(TESTS_LDADD)
test_integration_esys_field_upgrade_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_field_upgrade_int_SOURCES = \
test/integration/esys-field-upgrade.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_firmware_read_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_firmware_read_int_LDADD = $(TESTS_LDADD)
test_integration_esys_firmware_read_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_firmware_read_int_SOURCES = \
test/integration/esys-firmware-read.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_get_capability_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_get_capability_int_LDADD = $(TESTS_LDADD)
test_integration_esys_get_capability_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_get_capability_int_SOURCES = \
test/integration/esys-get-capability.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_get_random_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_get_random_int_LDADD = $(TESTS_LDADD)
test_integration_esys_get_random_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_get_random_int_SOURCES = \
test/integration/esys-get-random.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_get_time_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_get_time_int_LDADD = $(TESTS_LDADD)
test_integration_esys_get_time_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_get_time_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-get-time.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hash_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_hash_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hash_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hash_int_SOURCES = \
test/integration/esys-hash.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hashsequencestart_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_hashsequencestart_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hashsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hashsequencestart_int_SOURCES = \
test/integration/esys-hashsequencestart.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hashsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_SESSION
test_integration_esys_hashsequencestart_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hashsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hashsequencestart_session_int_SOURCES = \
test/integration/esys-hashsequencestart.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hierarchy_control_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_hierarchy_control_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hierarchy_control_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hierarchy_control_int_SOURCES = \
test/integration/esys-hierarchy-control.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hmac_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_hmac_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hmac_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hmac_int_SOURCES = \
test/integration/esys-hmac.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hmacsequencestart_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_hmacsequencestart_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hmacsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hmacsequencestart_int_SOURCES = \
test/integration/esys-hmacsequencestart.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hmacsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_SESSION
test_integration_esys_hmacsequencestart_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hmacsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hmacsequencestart_session_int_SOURCES = \
test/integration/esys-hmacsequencestart.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_hierarchychangeauth_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_hierarchychangeauth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_hierarchychangeauth_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_hierarchychangeauth_int_SOURCES = \
test/integration/esys-hierarchychangeauth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_import_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_import_int_LDADD = $(TESTS_LDADD)
test_integration_esys_import_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_import_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-import.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_lock_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_lock_int_LDADD = $(TESTS_LDADD)
test_integration_esys_lock_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_lock_int_SOURCES = \
test/integration/esys-lock.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_make_credential_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_make_credential_int_LDADD = $(TESTS_LDADD)
test_integration_esys_make_credential_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_make_credential_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-make-credential.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_make_credential_session_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_make_credential_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_make_credential_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_make_credential_session_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-make-credential.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_certify_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_nv_certify_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_certify_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_nv_certify_int_SOURCES = \
test/integration/esys-nv-certify.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_counter_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_counter_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_counter_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_counter_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-counter.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_counter_session_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_counter_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_counter_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_counter_session_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-counter.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_extend_index_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_extend_index_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_extend_index_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_extend_index_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-extend-index.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_extend_index_session_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_extend_index_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_extend_index_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_extend_index_session_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-extend-index.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_ordinary_index_rlock_int_CFLAGS = $(TESTS_CFLAGS) \
-I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/test/integration/ \
-I$(srcdir)/src/esapi/esapi_util -DTEST_READ_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_ordinary_index_rlock_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_ordinary_index_rlock_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_ordinary_index_rlock_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-ordinary-index.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_ordinary_index_rlock_session_int_CFLAGS = $(TESTS_CFLAGS) \
-I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \
-I$(srcdir)/src/esapi/esapi_util -DTEST_SESSION -DTEST_READ_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_ordinary_index_rlock_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_ordinary_index_rlock_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_ordinary_index_rlock_session_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-ordinary-index.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_ordinary_index_wlock_int_CFLAGS = $(TESTS_CFLAGS) \
-I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \
-I$(srcdir)/src/esapi/esapi_util -DTEST_WRITE_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_ordinary_index_wlock_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_ordinary_index_wlock_int_LDFLAGS = $(TESTS_LDFLAGS) \
$(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_ordinary_index_wlock_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-ordinary-index.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_ordinary_index_wlock_session_int_CFLAGS = $(TESTS_CFLAGS) \
-I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \
-I$(srcdir)/src/esapi/esapi_util -DTEST_SESSION -DTEST_WRITE_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_ordinary_index_wlock_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_ordinary_index_wlock_session_int_LDFLAGS = $(TESTS_LDFLAGS) \
$(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_ordinary_index_wlock_session_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-ordinary-index.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_set_bits_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_set_bits_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_set_bits_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_set_bits_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-set-bits.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_nv_ram_set_bits_session_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_nv_ram_set_bits_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_nv_ram_set_bits_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_nv_ram_set_bits_session_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-nv-ram-set-bits.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_object_changeauth_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_object_changeauth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_object_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_object_changeauth_int_SOURCES = \
test/integration/esys-object-changeauth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_authorize_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_policy_authorize_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_authorize_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_policy_authorize_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-policy-authorize.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_physical_presence_opt_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_policy_physical_presence_opt_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_physical_presence_opt_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_policy_physical_presence_opt_int_SOURCES = \
test/integration/esys-policy-physical-presence-opt.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_regression_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_policy_regression_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_regression_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_policy_regression_int_SOURCES = \
test/integration/esys-policy-regression.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_authorize_nv_opt_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_policy_authorize_nv_opt_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_authorize_nv_opt_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_policy_authorize_nv_opt_int_SOURCES = \
test/integration/esys-policy-authorize-nv-opt.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_template_opt_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_policy_template_opt_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_template_opt_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_policy_template_opt_int_SOURCES = \
test/integration/esys-policy-template-opt.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_ticket_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_policy_ticket_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_ticket_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_policy_ticket_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-policy-ticket.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_nv_changeauth_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_policy_nv_changeauth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_nv_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_policy_nv_changeauth_int_SOURCES = \
test/integration/esys-policy-nv-changeauth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_nv_undefine_special_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_policy_nv_undefine_special_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_nv_undefine_special_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_policy_nv_undefine_special_int_SOURCES = \
test/integration/esys-policy-nv-undefine-special.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_policy_password_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_policy_password_int_LDADD = $(TESTS_LDADD)
test_integration_esys_policy_password_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_policy_password_int_SOURCES = \
test/integration/esys-policy-password.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_pcr_basic_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_pcr_basic_int_LDADD = $(TESTS_LDADD)
test_integration_esys_pcr_basic_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_pcr_basic_int_SOURCES = \
test/integration/esys-pcr-basic.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_pcr_auth_value_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_pcr_auth_value_int_LDADD = $(TESTS_LDADD)
test_integration_esys_pcr_auth_value_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_pcr_auth_value_int_SOURCES = \
test/integration/esys-pcr-auth-value.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_pp_commands_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_pp_commands_int_LDADD = $(TESTS_LDADD)
test_integration_esys_pp_commands_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_pp_commands_int_SOURCES = \
test/integration/esys-pp-commands.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_quote_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_quote_int_LDADD = $(TESTS_LDADD)
test_integration_esys_quote_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_quote_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-quote.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_rsa_encrypt_decrypt_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_rsa_encrypt_decrypt_int_LDADD = $(TESTS_LDADD)
test_integration_esys_rsa_encrypt_decrypt_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_rsa_encrypt_decrypt_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-rsa-encrypt-decrypt.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_save_and_load_context_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_save_and_load_context_int_LDADD = $(TESTS_LDADD)
test_integration_esys_save_and_load_context_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_save_and_load_context_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-save-and-load-context.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_session_attributes_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_session_attributes_int_LDADD = $(TESTS_LDADD)
test_integration_esys_session_attributes_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_session_attributes_int_SOURCES = \
test/integration/esys-session-attributes.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_set_algorithm_set_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_set_algorithm_set_int_LDADD = $(TESTS_LDADD)
test_integration_esys_set_algorithm_set_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_set_algorithm_set_int_SOURCES = \
test/integration/esys-set-algorithm-set.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_stir_random_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_stir_random_int_LDADD = $(TESTS_LDADD)
test_integration_esys_stir_random_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_stir_random_int_SOURCES = \
test/integration/esys-stir-random.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_testparms_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_testparms_int_LDADD = $(TESTS_LDADD)
test_integration_esys_testparms_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_testparms_int_SOURCES = \
test/integration/esys-testparms.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tpm_tests_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tpm_tests_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tpm_tests_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tpm_tests_int_SOURCES = \
test/integration/esys-tpm-tests.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tr_fromTpmPublic_key_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tr_fromTpmPublic_key_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tr_fromTpmPublic_key_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tr_fromTpmPublic_key_int_SOURCES = \
test/integration/esys-tr-fromTpmPublic-key.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tr_fromTpmPublic_nv_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tr_fromTpmPublic_nv_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tr_fromTpmPublic_nv_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tr_fromTpmPublic_nv_int_SOURCES = \
test/integration/esys-tr-fromTpmPublic-nv.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tr_fromTpmPublic_session_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tr_fromTpmPublic_session_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tr_fromTpmPublic_session_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tr_fromTpmPublic_session_int_SOURCES = \
test/integration/esys-tr-fromTpmPublic-session.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tr_getName_hierarchy_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tr_getName_hierarchy_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tr_getName_hierarchy_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tr_getName_hierarchy_int_SOURCES = \
test/integration/esys-tr-getName-hierarchy.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tr_getTpmHandle_key_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tr_getTpmHandle_key_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tr_getTpmHandle_key_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tr_getTpmHandle_key_int_SOURCES = \
test/integration/esys-tr-getTpmHandle-key.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tr_getTpmHandle_nv_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tr_getTpmHandle_nv_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tr_getTpmHandle_nv_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tr_getTpmHandle_nv_int_SOURCES = \
test/integration/esys-tr-getTpmHandle-nv.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_unseal_password_auth_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO)
test_integration_esys_unseal_password_auth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_unseal_password_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS)
test_integration_esys_unseal_password_auth_int_SOURCES = \
$(ESYS_SRC_UTIL_CRYPTO_SRC) \
test/integration/esys-unseal-password-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_verify_signature_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_verify_signature_int_LDADD = $(TESTS_LDADD)
test_integration_esys_verify_signature_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_verify_signature_int_SOURCES = \
test/integration/esys-verify-signature.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_zgen_2phase_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_zgen_2phase_int_LDADD = $(TESTS_LDADD)
test_integration_esys_zgen_2phase_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_zgen_2phase_int_SOURCES = \
test/integration/esys-zgen-2phase.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_auto_session_flags_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_auto_session_flags_int_LDADD = $(TESTS_LDADD)
test_integration_esys_auto_session_flags_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_auto_session_flags_int_SOURCES = \
test/integration/esys-auto-session-flags.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
test_integration_esys_tpm_clear_auth_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_esys_tpm_clear_auth_int_LDADD = $(TESTS_LDADD)
test_integration_esys_tpm_clear_auth_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_esys_tpm_clear_auth_int_SOURCES = \
test/integration/esys-tpm-clear-auth.int.c \
test/integration/main-esapi.c test/integration/test-esapi.h
endif #ESAPI
test_integration_sapi_policy_template_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_sapi_policy_template_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_policy_template_int_SOURCES = test/integration/main-sapi.c \
test/integration/sapi-policy-template.int.c
test_integration_sapi_create_loaded_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_sapi_create_loaded_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_create_loaded_int_SOURCES = test/integration/main-sapi.c \
test/integration/sapi-create-loaded.int.c
test_integration_sapi_policy_authorizeNV_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_sapi_policy_authorizeNV_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_policy_authorizeNV_int_SOURCES = test/integration/main-sapi.c \
test/integration/sapi-policy-authorizeNV.int.c
test_integration_sapi_command_cancel_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_sapi_command_cancel_int_LDADD = $(TESTS_LDADD)
test_integration_sapi_command_cancel_int_SOURCES = test/integration/main-sapi.c \
test/integration/sapi-command-cancel.int.c src/util/log.c
if FAPI
test_integration_fapi_get_random_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_get_random_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_get_random_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_get_random_int_SOURCES = \
test/integration/fapi-get-random.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_platform_certificates_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_platform_certificates_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_platform_certificates_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_platform_certificates_int_SOURCES = \
test/integration/fapi-platform-certificates.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_sign_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_create_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_sign_int_SOURCES = \
test/integration/fapi-key-create-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_sign_password_provision_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_create_sign_password_provision_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_sign_password_provision_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_sign_password_provision_int_SOURCES = \
test/integration/fapi-key-create-sign-password-provision.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_sign_policy_provision_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA_sh_policy\" -DFAPI_TEST_EK_CERT_LESS
test_integration_fapi_key_create_sign_policy_provision_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_sign_policy_provision_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_sign_policy_provision_int_SOURCES = \
test/integration/fapi-key-create-sign-policy-provision.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_sign_rsa_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_key_create_sign_rsa_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_sign_rsa_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_sign_rsa_int_SOURCES = \
test/integration/fapi-key-create-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_sign_password_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PASSWORD
test_integration_fapi_key_create_sign_password_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_sign_password_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_sign_password_int_SOURCES = \
test/integration/fapi-key-create-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_sign_password_da_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PASSWORD -DFAPI_DA
test_integration_fapi_key_create_sign_password_da_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_sign_password_da_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_sign_password_da_int_SOURCES = \
test/integration/fapi-key-create-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_sign_persistent_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA_EK_persistent\" -DFAPI_TEST_EK_CERT_LESS
test_integration_fapi_key_create_sign_persistent_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_sign_persistent_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_sign_persistent_int_SOURCES = \
test/integration/fapi-key-create-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_authorize_sign_int_CFLAGS = $(TESTS_CFLAGS) -DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_key_create_policy_authorize_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_authorize_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_authorize_sign_int_SOURCES = \
test/integration/fapi-key-create-policy-authorize-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_authorize_sign_rsa_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA256\" -DFAPI_TEST_EK_CERT_LESS
test_integration_fapi_key_create_policy_authorize_sign_rsa_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_authorize_sign_rsa_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_authorize_sign_rsa_int_SOURCES = \
test/integration/fapi-key-create-policy-authorize-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_authorize_nv_sign_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_create_policy_authorize_nv_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_authorize_nv_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_authorize_nv_sign_int_SOURCES = \
test/integration/fapi-key-create-policy-authorize-nv-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_secret_nv_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA256\" -DFAPI_TEST_EK_CERT_LESS
test_integration_fapi_key_create_policy_secret_nv_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_secret_nv_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_secret_nv_sign_int_SOURCES = \
test/integration/fapi-key-create-policy-secret-nv-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_pcr_sign_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_create_policy_pcr_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_pcr_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_pcr_sign_int_SOURCES = \
test/integration/fapi-key-create-policy-pcr-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_signed_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_create_policy_signed_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_signed_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_signed_int_SOURCES = \
test/integration/fapi-key-create-policy-signed.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_signed_ecc_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_ECC
test_integration_fapi_key_create_policy_signed_ecc_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_signed_ecc_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_signed_ecc_int_SOURCES = \
test/integration/fapi-key-create-policy-signed.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_nv_sign_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_create_policy_nv_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_nv_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_nv_sign_int_SOURCES = \
test/integration/fapi-key-create-policy-nv-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_or_sign_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_create_policy_or_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_or_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_or_sign_int_SOURCES = \
test/integration/fapi-key-create-policy-or-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_password_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_POLICY_PASSWORD -DTEST_PASSWORD
test_integration_fapi_key_create_policy_password_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_password_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_password_sign_int_SOURCES = \
test/integration/fapi-key-create-policies-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_countertimer_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_POLICY_COUNTERTIMER
test_integration_fapi_key_create_policy_countertimer_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_countertimer_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_countertimer_sign_int_SOURCES = \
test/integration/fapi-key-create-policies-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_physical_presence_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_POLICY_PHYSICAL_PRESENCE
test_integration_fapi_key_create_policy_physical_presence_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_physical_presence_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_physical_presence_sign_int_SOURCES = \
test/integration/fapi-key-create-policies-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_locality_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_POLICY_LOCALITY
test_integration_fapi_key_create_policy_locality_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_locality_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_locality_sign_int_SOURCES = \
test/integration/fapi-key-create-policies-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_command_code_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_POLICY_COMMAND_CODE
test_integration_fapi_key_create_policy_command_code_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_command_code_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_command_code_sign_int_SOURCES = \
test/integration/fapi-key-create-policies-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_policy_auth_value_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DTEST_POLICY_AUTH_VALUE -DTEST_PASSWORD
test_integration_fapi_key_create_policy_auth_value_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_policy_auth_value_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_policy_auth_value_sign_int_SOURCES = \
test/integration/fapi-key-create-policies-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_ckda_sign_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_key_create_ckda_sign_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_ckda_sign_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_ckda_sign_int_SOURCES = \
test/integration/fapi-key-create-ckda-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_ckda_sign_password_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PASSWORD -DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_key_create_ckda_sign_password_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_ckda_sign_password_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_ckda_sign_password_int_SOURCES = \
test/integration/fapi-key-create-ckda-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_create_ckda_sign_password_da_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PASSWORD -DFAPI_DA -DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_key_create_ckda_sign_password_da_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_create_ckda_sign_password_da_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_create_ckda_sign_password_da_int_SOURCES = \
test/integration/fapi-key-create-ckda-sign.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_key_change_auth_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_key_change_auth_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_key_change_auth_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_key_change_auth_int_SOURCES = \
test/integration/fapi-key-change-auth.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_nv_ordinary_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_nv_ordinary_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_nv_ordinary_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_nv_ordinary_int_SOURCES = \
test/integration/fapi-nv-ordinary.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_nv_authorizenv_cphash_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_nv_authorizenv_cphash_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_nv_authorizenv_cphash_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_nv_authorizenv_cphash_int_SOURCES = \
test/integration/fapi-nv-authorizenv-cphash.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_nv_extend_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_nv_extend_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_nv_extend_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_nv_extend_int_SOURCES = \
test/integration/fapi-nv-extend.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_nv_increment_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_nv_increment_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_nv_increment_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_nv_increment_int_SOURCES = \
test/integration/fapi-nv-increment.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_nv_set_bits_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_nv_set_bits_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_nv_set_bits_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_nv_set_bits_int_SOURCES = \
test/integration/fapi-nv-set-bits.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_nv_written_policy_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_nv_written_policy_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_nv_written_policy_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_nv_written_policy_int_SOURCES = \
test/integration/fapi-nv-written-policy.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_ext_public_key_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_NONTPM
test_integration_fapi_ext_public_key_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_ext_public_key_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_ext_public_key_int_SOURCES = \
test/integration/fapi-ext-public-key.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_data_crypt_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_data_crypt_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_data_crypt_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_data_crypt_int_SOURCES = \
test/integration/fapi-data-crypt.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_data_crypt_rsa_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_data_crypt_rsa_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_data_crypt_rsa_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_data_crypt_rsa_int_SOURCES = \
test/integration/fapi-data-crypt.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_duplicate_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_duplicate_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_duplicate_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_duplicate_int_SOURCES = \
test/integration/fapi-duplicate.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_pcr_test_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_pcr_test_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_pcr_test_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_pcr_test_int_SOURCES = \
test/integration/fapi-pcr-test.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_quote_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_quote_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_quote_int_LDFLAGS = $(TESTS_LDFLAGS) -ljson-c
test_integration_fapi_quote_int_SOURCES = \
test/integration/fapi-quote.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_quote_rsa_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_quote_rsa_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_quote_rsa_int_LDFLAGS = $(TESTS_LDFLAGS) -ljson-c
test_integration_fapi_quote_rsa_int_SOURCES = \
test/integration/fapi-quote.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_info_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_info_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_info_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_info_int_SOURCES = \
test/integration/fapi-info.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_unseal_int_CFLAGS = $(TESTS_CFLAGS)
test_integration_fapi_unseal_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_unseal_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_unseal_int_SOURCES = \
test/integration/fapi-unseal.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_provision_fingerprint_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_TEST_FINGERPRINT -DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_provision_fingerprint_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_provision_fingerprint_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_provision_fingerprint_int_SOURCES = \
test/integration/fapi-get-random.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_provision_certificate_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_TEST_CERTIFICATE -DFAPI_PROFILE=\"P_RSA\"
test_integration_fapi_provision_certificate_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_provision_certificate_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_provision_certificate_int_SOURCES = \
test/integration/fapi-get-random.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_provision_fingerprint_ecc_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_TEST_FINGERPRINT_ECC -DFAPI_PROFILE=\"P_ECC\"
test_integration_fapi_provision_fingerprint_ecc_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_provision_fingerprint_ecc_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_provision_fingerprint_ecc_int_SOURCES = \
test/integration/fapi-get-random.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
test_integration_fapi_provision_certificate_ecc_int_CFLAGS = $(TESTS_CFLAGS) \
-DFAPI_TEST_CERTIFICATE_ECC -DFAPI_PROFILE=\"P_ECC\"
test_integration_fapi_provision_certificate_ecc_int_LDADD = $(TESTS_LDADD)
test_integration_fapi_provision_certificate_ecc_int_LDFLAGS = $(TESTS_LDFLAGS)
test_integration_fapi_provision_certificate_ecc_int_SOURCES = \
test/integration/fapi-get-random.int.c \
test/integration/main-fapi.c test/integration/test-fapi.h
endif #FAPI
endif #ENABLE_INTEGRATION
check-ptpm:
$(MAKE) -j1 check