Peter Huewe | 9f7cc08 | 2019-05-02 18:16:28 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: BSD-2-Clause |
Philip Tricca | 49635f4 | 2018-03-10 19:19:58 -0800 | [diff] [blame] | 2 | # Copyright (c) 2015 - 2018 Intel Corporation |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 3 | # Copyright (c) 2018 Fraunhofer SIT sponsored by Infineon Technologies AG |
| 4 | # All rights reserved. |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 5 | |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 6 | TESTS_CFLAGS = $(AM_CFLAGS) $(LIBCRYPTO_CFLAGS) -I$(srcdir)/src/tss2-mu \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 7 | -I$(srcdir)/src/tss2-sys -I$(srcdir)/src/tss2-esys -I$(srcdir)/src/tss2-fapi \ |
Andreas Fuchs | 1c4a811 | 2018-03-29 16:58:07 +0200 | [diff] [blame] | 8 | -Wno-unused-parameter -Wno-missing-field-initializers |
Дилян Палаузов | 83f8981 | 2019-03-22 10:42:42 +0000 | [diff] [blame] | 9 | TESTS_LDADD = $(check_LTLIBRARIES) $(lib_LTLIBRARIES) \ |
Дилян Палаузов | 9ef74e9 | 2019-03-21 15:45:49 +0000 | [diff] [blame] | 10 | $(LIBCRYPTO_LIBS) $(libutil) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 11 | |
Дилян Палаузов | 83f8981 | 2019-03-22 10:42:42 +0000 | [diff] [blame] | 12 | check_LTLIBRARIES = |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 13 | # test harness configuration |
| 14 | TEST_EXTENSIONS = .int |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 15 | if TESTPTPM |
| 16 | INT_LOG_COMPILER = $(srcdir)/script/int-log-compiler-ptpm.sh |
| 17 | INT_LOG_FLAGS = --ptpm=$(PTPM) |
| 18 | else |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 19 | INT_LOG_COMPILER = $(srcdir)/script/int-log-compiler.sh |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 20 | endif |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 21 | EXTRA_DIST += $(srcdir)/script/int-log-compiler.sh $(srcdir)/script/int-log-compiler-ptpm.sh \ |
| 22 | $(srcdir)/script/ekca/create_ca.sh $(srcdir)/script/ekca/ek.cnf \ |
| 23 | $(srcdir)/script/ekca/intermed-ca.cnf $(srcdir)/script/ekca/root-ca.cnf |
Philip Tricca | 9907543 | 2018-04-25 19:02:05 -0700 | [diff] [blame] | 24 | AM_TESTS_ENVIRONMENT = PATH="$(PATH)" |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 25 | |
| 26 | check-programs: $(check_PROGRAMS) |
| 27 | |
| 28 | check_PROGRAMS = $(TESTS_UNIT) $(TESTS_INTEGRATION) |
Дилян Палаузов | 83f8981 | 2019-03-22 10:42:42 +0000 | [diff] [blame] | 29 | TESTS = $(TESTS_UNIT) $(TESTS_INTEGRATION) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 30 | |
Philip Tricca | 9907543 | 2018-04-25 19:02:05 -0700 | [diff] [blame] | 31 | if ENABLE_INTEGRATION |
Дилян Палаузов | 9ef74e9 | 2019-03-21 15:45:49 +0000 | [diff] [blame] | 32 | check_PROGRAMS += test/helper/tpm_startup |
Andreas Fuchs | a0eda36 | 2018-03-28 11:56:42 +0200 | [diff] [blame] | 33 | test_helper_tpm_startup_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 34 | test_helper_tpm_startup_LDFLAGS = $(TESTS_LDFLAGS) |
| 35 | test_helper_tpm_startup_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0eda36 | 2018-03-28 11:56:42 +0200 | [diff] [blame] | 36 | |
Дилян Палаузов | 9ef74e9 | 2019-03-21 15:45:49 +0000 | [diff] [blame] | 37 | check_PROGRAMS += test/helper/tpm_transientempty |
Andreas Fuchs | 6ab3fd8 | 2018-03-28 12:23:19 +0200 | [diff] [blame] | 38 | test_helper_tpm_transientempty_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 39 | test_helper_tpm_transientempty_LDFLAGS = $(TESTS_LDFLAGS) |
| 40 | test_helper_tpm_transientempty_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | 8194dc7 | 2019-03-27 15:08:22 +0100 | [diff] [blame] | 41 | |
| 42 | check_PROGRAMS += test/helper/tpm_dumpstate |
| 43 | test_helper_tpm_dumpstate_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 44 | test_helper_tpm_dumpstate_LDFLAGS = $(TESTS_LDFLAGS) |
| 45 | test_helper_tpm_dumpstate_LDADD = $(TESTS_LDADD) |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 46 | |
| 47 | check_PROGRAMS += test/helper/tpm_getek |
| 48 | test_helper_tpm_getek_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 49 | test_helper_tpm_getek_LDFLAGS = $(TESTS_LDFLAGS) -lcrypto |
| 50 | test_helper_tpm_getek_LDADD = $(TESTS_LDADD) |
| 51 | |
| 52 | check_PROGRAMS += test/helper/tpm_getek_ecc |
| 53 | test_helper_tpm_getek_ecc_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 54 | test_helper_tpm_getek_ecc_LDFLAGS = $(TESTS_LDFLAGS) -lcrypto |
| 55 | test_helper_tpm_getek_ecc_LDADD = $(TESTS_LDADD) |
| 56 | |
| 57 | |
| 58 | check_PROGRAMS += test/helper/tpm_writeekcert |
| 59 | test_helper_tpm_writeekcert_CFLAGS = $(TESTS_CFLAGS) -I$(srcdir)/test/integration |
| 60 | test_helper_tpm_writeekcert_LDFLAGS = $(TESTS_LDFLAGS) |
| 61 | test_helper_tpm_writeekcert_LDADD = $(TESTS_LDADD) |
Philip Tricca | 9907543 | 2018-04-25 19:02:05 -0700 | [diff] [blame] | 62 | endif #ENABLE_INTEGRATION |
Andreas Fuchs | 6ab3fd8 | 2018-03-28 12:23:19 +0200 | [diff] [blame] | 63 | |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 64 | if UNIT |
| 65 | TESTS_UNIT = \ |
| 66 | test/unit/CommonPreparePrologue \ |
| 67 | test/unit/CopyCommandHeader \ |
Philip Tricca | 88ced72 | 2018-03-14 15:24:20 -0700 | [diff] [blame] | 68 | test/unit/io \ |
Philip Tricca | e394cff | 2018-04-18 08:36:06 -0700 | [diff] [blame] | 69 | test/unit/key-value-parse \ |
Peter Huewe | 0b96cac | 2019-04-16 15:06:07 +0200 | [diff] [blame] | 70 | test/unit/log \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 71 | test/unit/tcti-device \ |
Philip Tricca | b258ab9 | 2019-06-28 13:52:14 -0700 | [diff] [blame] | 72 | test/unit/tctildr \ |
| 73 | test/unit/tctildr-dl \ |
| 74 | test/unit/tctildr-nodl \ |
Philip Tricca | be79645 | 2019-07-09 16:13:19 -0700 | [diff] [blame] | 75 | test/unit/tctildr-tcti \ |
Philip Tricca | 24014ec | 2019-06-21 19:27:18 -0700 | [diff] [blame] | 76 | test/unit/tctildr-getinfo \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 77 | test/unit/UINT8-marshal \ |
| 78 | test/unit/UINT16-marshal \ |
| 79 | test/unit/UINT32-marshal \ |
| 80 | test/unit/UINT64-marshal \ |
| 81 | test/unit/TPMA-marshal \ |
| 82 | test/unit/TPM2B-marshal \ |
| 83 | test/unit/TPMS-marshal \ |
| 84 | test/unit/TPML-marshal \ |
| 85 | test/unit/TPMT-marshal \ |
Tadeusz Struk | e341d5d | 2019-04-08 15:53:27 -0700 | [diff] [blame] | 86 | test/unit/TPMU-marshal \ |
William Roberts | bc76d5a | 2019-07-10 14:04:06 -0500 | [diff] [blame] | 87 | test/unit/sys-execute \ |
| 88 | test/unit/tss2_rc |
Tadeusz Struk | 41f555a | 2020-01-27 12:13:03 -0800 | [diff] [blame] | 89 | if ENABLE_TCTI_MSSIM |
| 90 | TESTS_UNIT += test/unit/tcti-mssim |
| 91 | endif |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 92 | if ESAPI |
| 93 | TESTS_UNIT += \ |
Andreas Fuchs | 88ac7d7 | 2018-03-16 13:20:54 +0100 | [diff] [blame] | 94 | test/unit/esys-context-null \ |
Juergen Repp | 2018151 | 2018-03-20 16:14:28 +0100 | [diff] [blame] | 95 | test/unit/esys-resubmissions \ |
Andreas Fuchs | 4879ad3 | 2018-04-12 14:48:06 +0200 | [diff] [blame] | 96 | test/unit/esys-sequence-finish \ |
Andreas Fuchs | 72227dc | 2018-04-12 14:54:07 +0200 | [diff] [blame] | 97 | test/unit/esys-tcti-rcs \ |
Andreas Fuchs | c3cc36e | 2018-04-26 19:22:02 +0200 | [diff] [blame] | 98 | test/unit/esys-tpm-rcs \ |
Andreas Fuchs | 296c281 | 2018-05-02 11:43:11 +0200 | [diff] [blame] | 99 | test/unit/esys-getpollhandles \ |
Juergen Repp | 52ceb8c | 2018-08-22 18:30:12 +0200 | [diff] [blame] | 100 | test/unit/esys-nulltcti \ |
Tadeusz Struk | 9cf80dc | 2019-03-01 09:51:09 -0800 | [diff] [blame] | 101 | test/unit/esys-crypto |
| 102 | |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 103 | endif ESAPI |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 104 | if FAPI |
| 105 | fapiLDFLAGS = -ljson-c |
| 106 | TESTS_UNIT += \ |
| 107 | test/unit/fapi-json |
| 108 | endif FAPI |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 109 | endif #UNIT |
| 110 | |
Philip Tricca | 9907543 | 2018-04-25 19:02:05 -0700 | [diff] [blame] | 111 | if ENABLE_INTEGRATION |
Дилян Палаузов | 83f8981 | 2019-03-22 10:42:42 +0000 | [diff] [blame] | 112 | check_LTLIBRARIES += test/integration/libtest_utils.la |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 113 | |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 114 | TESTS_INTEGRATION = |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 115 | if !TESTPTPM |
Дилян Палаузов | 2a3c59c | 2019-03-18 18:16:19 +0000 | [diff] [blame] | 116 | TESTS_INTEGRATION += \ |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 117 | test/integration/sapi-asymmetric-encrypt-decrypt.int \ |
Philip Tricca | a5ccce5 | 2019-03-23 14:50:16 -0700 | [diff] [blame] | 118 | test/integration/sapi-nv-policy-locality.int \ |
Philip Tricca | 53c3a99 | 2019-03-19 15:53:45 -0700 | [diff] [blame] | 119 | test/integration/sapi-nv-readwrite.int \ |
Philip Tricca | 802ba56 | 2019-03-25 08:57:53 -0700 | [diff] [blame] | 120 | test/integration/sapi-hmac-auth.int \ |
Tadeusz Struk | 6c45cbd | 2018-05-01 11:10:45 -0700 | [diff] [blame] | 121 | test/integration/sapi-primary-rsa-2K-aes128cfb.int \ |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 122 | test/integration/sapi-create-keyedhash-sha1-hmac.int \ |
| 123 | test/integration/sapi-encrypt-decrypt.int \ |
| 124 | test/integration/sapi-encrypt-decrypt-2.int \ |
| 125 | test/integration/sapi-evict-ctrl.int \ |
| 126 | test/integration/sapi-get-random.int \ |
Peter Huewe | 378e802 | 2018-09-29 22:49:09 +0200 | [diff] [blame] | 127 | test/integration/sapi-stir-random.int \ |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 128 | test/integration/sapi-hierarchy-change-auth.int \ |
| 129 | test/integration/sapi-abi-version.int \ |
| 130 | test/integration/sapi-pcr-extension.int \ |
| 131 | test/integration/sapi-self-test.int \ |
| 132 | test/integration/sapi-start-auth-session.int \ |
| 133 | test/integration/sapi-sys-initialize.int \ |
| 134 | test/integration/sapi-tpm-properties.int \ |
| 135 | test/integration/sapi-system-api.int \ |
| 136 | test/integration/sapi-policy-template.int \ |
| 137 | test/integration/sapi-create-loaded.int \ |
| 138 | test/integration/sapi-policy-authorizeNV.int \ |
| 139 | test/integration/sapi-command-cancel.int \ |
Tadeusz Struk | 5c9c192 | 2018-05-01 09:52:46 -0700 | [diff] [blame] | 140 | test/integration/sapi-param-encrypt-decrypt.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 141 | test/tpmclient/tpmclient.int |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 142 | endif # !TESTPTPM |
| 143 | |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 144 | if ESAPI |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 145 | ESYS_TESTS_INTEGRATION_DESTRUCTIVE = \ |
Andreas Fuchs | 46bc794 | 2020-01-20 10:06:43 +0100 | [diff] [blame] | 146 | test/integration/esys-change-eps.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 147 | test/integration/esys-clear.int \ |
Tadeusz Struk | 23a264b | 2020-03-03 09:36:27 -0800 | [diff] [blame] | 148 | test/integration/esys-tpm-clear-auth.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 149 | test/integration/esys-clear-session.int \ |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 150 | test/integration/esys-field-upgrade.int \ |
| 151 | test/integration/esys-firmware-read.int \ |
| 152 | test/integration/esys-lock.int \ |
| 153 | test/integration/esys-set-algorithm-set.int |
| 154 | |
| 155 | ESYS_TESTS_INTEGRATION_MANDATORY = \ |
| 156 | test/integration/esys-certify-creation.int \ |
| 157 | test/integration/esys-certify.int \ |
| 158 | test/integration/esys-clear-control.int \ |
Juergen Repp | 3ca3726 | 2018-08-02 17:41:32 +0200 | [diff] [blame] | 159 | test/integration/esys-clockset.int \ |
Juergen Repp | 0c2d853 | 2018-04-12 10:46:57 +0200 | [diff] [blame] | 160 | test/integration/esys-commit.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 161 | test/integration/esys-create-fail.int \ |
| 162 | test/integration/esys-create-password-auth.int \ |
Jeffrey Ferreira | 13d757a | 2019-08-26 10:44:01 -0700 | [diff] [blame] | 163 | test/integration/esys-create-policy-auth.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 164 | test/integration/esys-create-primary-ecc-hmac.int \ |
| 165 | test/integration/esys-create-primary-hmac.int \ |
Juergen Repp | 84db399 | 2018-05-02 11:14:22 +0200 | [diff] [blame] | 166 | test/integration/esys-create-session-auth-bound.int \ |
Juergen Repp | fd9ad1b | 2018-04-24 12:06:32 +0200 | [diff] [blame] | 167 | test/integration/esys-create-session-auth-ecc.int \ |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 168 | test/integration/esys-create-session-auth.int \ |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 169 | test/integration/esys-create-session-auth-xor.int \ |
Juergen Repp | 0d884d5 | 2018-04-12 10:48:07 +0200 | [diff] [blame] | 170 | test/integration/esys-ecc-parameters.int \ |
Juergen Repp | 73461b4 | 2018-04-12 10:49:10 +0200 | [diff] [blame] | 171 | test/integration/esys-ecdh-zgen.int \ |
Juergen Repp | 7de9fbf | 2018-04-12 10:50:57 +0200 | [diff] [blame] | 172 | test/integration/esys-event-sequence-complete.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 173 | test/integration/esys-evict-control-serialization.int \ |
| 174 | test/integration/esys-get-capability.int \ |
| 175 | test/integration/esys-get-random.int \ |
Juergen Repp | 3ca3726 | 2018-08-02 17:41:32 +0200 | [diff] [blame] | 176 | test/integration/esys-hash.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 177 | test/integration/esys-hashsequencestart.int \ |
| 178 | test/integration/esys-hashsequencestart-session.int \ |
| 179 | test/integration/esys-hierarchychangeauth.int \ |
Juergen Repp | 3ca3726 | 2018-08-02 17:41:32 +0200 | [diff] [blame] | 180 | test/integration/esys-hmac.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 181 | test/integration/esys-hmacsequencestart.int \ |
| 182 | test/integration/esys-hmacsequencestart-session.int \ |
Juergen Repp | efacad1 | 2018-04-12 10:53:12 +0200 | [diff] [blame] | 183 | test/integration/esys-import.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 184 | test/integration/esys-make-credential.int \ |
| 185 | test/integration/esys-make-credential-session.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 186 | test/integration/esys-nv-ram-counter.int \ |
| 187 | test/integration/esys-nv-ram-counter-session.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 188 | test/integration/esys-nv-ram-extend-index.int \ |
| 189 | test/integration/esys-nv-ram-extend-index-session.int \ |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 190 | test/integration/esys-nv-ram-ordinary-index-rlock.int \ |
| 191 | test/integration/esys-nv-ram-ordinary-index-rlock-session.int \ |
| 192 | test/integration/esys-nv-ram-ordinary-index-wlock.int \ |
| 193 | test/integration/esys-nv-ram-ordinary-index-wlock-session.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 194 | test/integration/esys-nv-ram-set-bits.int \ |
| 195 | test/integration/esys-nv-ram-set-bits-session.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 196 | test/integration/esys-object-changeauth.int \ |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 197 | test/integration/esys-policy-authorize.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 198 | test/integration/esys-policy-nv-changeauth.int \ |
Juergen Repp | 4cac282 | 2018-04-12 10:58:39 +0200 | [diff] [blame] | 199 | test/integration/esys-policy-nv-undefine-special.int \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 200 | test/integration/esys-policy-password.int \ |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 201 | test/integration/esys-policy-regression.int \ |
Juergen Repp | 91ed3de | 2018-04-12 11:01:30 +0200 | [diff] [blame] | 202 | test/integration/esys-quote.int \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 203 | test/integration/esys-rsa-encrypt-decrypt.int \ |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 204 | test/integration/esys-save-and-load-context.int \ |
Andreas Fuchs | fc19305 | 2019-03-13 12:21:17 +0100 | [diff] [blame] | 205 | test/integration/esys-session-attributes.int \ |
Juergen Repp | a3c6e2d | 2018-04-12 11:03:30 +0200 | [diff] [blame] | 206 | test/integration/esys-stir-random.int \ |
Juergen Repp | cd6c1a1 | 2018-04-12 11:04:06 +0200 | [diff] [blame] | 207 | test/integration/esys-testparms.int \ |
Juergen Repp | 24f4acb | 2018-04-12 11:04:27 +0200 | [diff] [blame] | 208 | test/integration/esys-tpm-tests.int \ |
Andreas Fuchs | 722d85f | 2018-04-12 14:05:40 +0200 | [diff] [blame] | 209 | test/integration/esys-tr-fromTpmPublic-key.int \ |
Andreas Fuchs | 95809e2 | 2018-04-12 12:21:06 +0200 | [diff] [blame] | 210 | test/integration/esys-tr-fromTpmPublic-nv.int \ |
William Roberts | d50f314 | 2019-06-13 00:26:25 -0700 | [diff] [blame] | 211 | test/integration/esys-tr-fromTpmPublic-session.int \ |
Andreas Fuchs | e4af3a6 | 2018-04-12 14:20:37 +0200 | [diff] [blame] | 212 | test/integration/esys-tr-getName-hierarchy.int \ |
William Roberts | 0447559 | 2019-11-18 08:35:02 -0600 | [diff] [blame] | 213 | test/integration/esys-tr-getTpmHandle-key.int \ |
| 214 | test/integration/esys-tr-getTpmHandle-nv.int \ |
Juergen Repp | 0a3c1bb | 2018-04-12 11:02:34 +0200 | [diff] [blame] | 215 | test/integration/esys-unseal-password-auth.int \ |
Juergen Repp | 2e662d7 | 2018-04-12 11:05:05 +0200 | [diff] [blame] | 216 | test/integration/esys-verify-signature.int \ |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 217 | test/integration/esys-ecdh-keygen.int \ |
| 218 | test/integration/esys-policy-ticket.int |
| 219 | |
| 220 | ESYS_TESTS_INTEGRATION_OPTIONAL = \ |
| 221 | test/integration/esys-audit.int \ |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 222 | test/integration/esys-createloaded.int \ |
| 223 | test/integration/esys-createloaded-session.int \ |
| 224 | test/integration/esys-duplicate.int \ |
| 225 | test/integration/esys-encrypt-decrypt.int \ |
| 226 | test/integration/esys-get-time.int \ |
| 227 | test/integration/esys-hierarchy-control.int \ |
| 228 | test/integration/esys-nv-certify.int \ |
| 229 | test/integration/esys-pcr-auth-value.int \ |
| 230 | test/integration/esys-pcr-basic.int \ |
Juergen Repp | 882b9e4 | 2018-11-13 11:34:09 +0100 | [diff] [blame] | 231 | test/integration/esys-policy-authorize-nv-opt.int \ |
| 232 | test/integration/esys-policy-physical-presence-opt.int \ |
| 233 | test/integration/esys-policy-template-opt.int \ |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 234 | test/integration/esys-pp-commands.int \ |
Tadeusz Struk | 1d57398 | 2019-02-20 14:57:21 -0800 | [diff] [blame] | 235 | test/integration/esys-zgen-2phase.int \ |
| 236 | test/integration/esys-auto-session-flags.int |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 237 | |
| 238 | if TESTPTPM |
| 239 | |
| 240 | if PTPMMANDATORY |
| 241 | TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_MANDATORY) |
| 242 | endif |
| 243 | |
| 244 | if PTPMOPTIONAL |
| 245 | TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_OPTIONAL) |
| 246 | endif |
| 247 | |
| 248 | if PTPMDESTRUCTIVE |
| 249 | TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_DESTRUCTIVE) |
| 250 | endif |
| 251 | |
Дилян Палаузов | 2a3c59c | 2019-03-18 18:16:19 +0000 | [diff] [blame] | 252 | else # TESTPTPM |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 253 | TESTS_INTEGRATION += $(ESYS_TESTS_INTEGRATION_MANDATORY) $(ESYS_TESTS_INTEGRATION_OPTIONAL) $(ESYS_TESTS_INTEGRATION_DESTRUCTIVE) |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 254 | |
Дилян Палаузов | 2a3c59c | 2019-03-18 18:16:19 +0000 | [diff] [blame] | 255 | endif # TESTPTPM |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 256 | |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 257 | endif #ESAPI |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 258 | |
| 259 | if FAPI |
| 260 | TESTS_CFLAGS += -DTOP_SOURCEDIR"=\"$(top_srcdir)\"" |
| 261 | FAPI_TESTS_INTEGRATION = \ |
Juergen Repp | 935509d | 2020-01-02 15:33:03 +0100 | [diff] [blame] | 262 | test/integration/fapi-data-crypt.int \ |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 263 | test/integration/fapi-data-crypt-rsa.int \ |
Juergen Repp | 401e2f2 | 2020-01-29 13:11:17 +0100 | [diff] [blame] | 264 | test/integration/fapi-duplicate.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 265 | test/integration/fapi-ext-public-key.int \ |
| 266 | test/integration/fapi-get-random.int \ |
| 267 | test/integration/fapi-platform-certificates.int \ |
| 268 | test/integration/fapi-key-create-sign.int \ |
| 269 | test/integration/fapi-key-create-sign-password-provision.int \ |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 270 | test/integration/fapi-key-create-sign-rsa.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 271 | test/integration/fapi-key-create-policy-authorize-sign.int \ |
Juergen Repp | d63711c | 2020-01-07 17:45:31 +0100 | [diff] [blame] | 272 | test/integration/fapi-key-create-policy-authorize-sign-rsa.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 273 | test/integration/fapi-key-create-policy-authorize-nv-sign.int \ |
| 274 | test/integration/fapi-key-create-policy-secret-nv-sign.int \ |
| 275 | test/integration/fapi-key-create-policy-pcr-sign.int \ |
| 276 | test/integration/fapi-key-create-policy-signed.int \ |
Juergen Repp | e41a692 | 2020-01-07 16:58:14 +0100 | [diff] [blame] | 277 | test/integration/fapi-key-create-policy-signed-ecc.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 278 | test/integration/fapi-key-create-policy-nv-sign.int \ |
| 279 | test/integration/fapi-key-create-policy-or-sign.int \ |
| 280 | test/integration/fapi-key-create-policy-password-sign.int \ |
| 281 | test/integration/fapi-key-create-policy-countertimer-sign.int \ |
| 282 | test/integration/fapi-key-create-policy-physical-presence-sign.int \ |
| 283 | test/integration/fapi-key-create-policy-locality-sign.int \ |
| 284 | test/integration/fapi-key-create-policy-command-code-sign.int \ |
| 285 | test/integration/fapi-key-create-policy-auth-value-sign.int \ |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 286 | test/integration/fapi-key-create-ckda-sign.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 287 | test/integration/fapi-key-change-auth.int \ |
| 288 | test/integration/fapi-key-create-sign-persistent.int \ |
| 289 | test/integration/fapi-key-create-sign-password.int \ |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 290 | test/integration/fapi-key-create-ckda-sign-password.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 291 | test/integration/fapi-key-create-sign-password-da.int \ |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 292 | test/integration/fapi-key-create-ckda-sign-password-da.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 293 | test/integration/fapi-nv-authorizenv-cphash.int \ |
| 294 | test/integration/fapi-nv-ordinary.int \ |
| 295 | test/integration/fapi-nv-written-policy.int \ |
| 296 | test/integration/fapi-nv-extend.int \ |
| 297 | test/integration/fapi-nv-increment.int \ |
| 298 | test/integration/fapi-nv-set-bits.int \ |
| 299 | test/integration/fapi-pcr-test.int \ |
| 300 | test/integration/fapi-quote.int \ |
Juergen Repp | 28faf04 | 2020-01-06 14:43:20 +0100 | [diff] [blame] | 301 | test/integration/fapi-quote-rsa.int \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 302 | test/integration/fapi-info.int \ |
| 303 | test/integration/fapi-unseal.int |
| 304 | |
| 305 | if TESTPTPM |
| 306 | if PTPMDESTRUCTIVE |
| 307 | FAPI_TESTS_INTEGRATION += test/integration/fapi-key-create-sign-policy-provision.int |
Andreas Fuchs | 7bb7a57 | 2020-01-30 17:35:11 +0100 | [diff] [blame] | 308 | endif #PTPMDESTRUCTIVE |
| 309 | endif #TESTPTPM |
| 310 | |
| 311 | if !TESTPTPM |
Juergen Repp | 81c66f3 | 2020-01-14 22:57:24 +0100 | [diff] [blame] | 312 | FAPI_TESTS_INTEGRATION += \ |
Andreas Fuchs | db52757 | 2020-01-30 17:34:16 +0100 | [diff] [blame] | 313 | test/integration/fapi-key-create-sign-policy-provision.int \ |
Juergen Repp | 81c66f3 | 2020-01-14 22:57:24 +0100 | [diff] [blame] | 314 | test/integration/fapi-provision-fingerprint.int \ |
| 315 | test/integration/fapi-provision-certificate.int \ |
| 316 | test/integration/fapi-provision-fingerprint_ecc.int \ |
| 317 | test/integration/fapi-provision-certificate_ecc.int |
Andreas Fuchs | 7bb7a57 | 2020-01-30 17:35:11 +0100 | [diff] [blame] | 318 | endif #!TESTPTPM |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 319 | |
| 320 | TESTS_INTEGRATION += $(FAPI_TESTS_INTEGRATION) |
| 321 | |
| 322 | endif #FAPI |
| 323 | |
Philip Tricca | 9907543 | 2018-04-25 19:02:05 -0700 | [diff] [blame] | 324 | endif #ENABLE_INTEGRATION |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 325 | |
| 326 | CLEANFILES += \ |
Juergen Repp | afc9856 | 2020-01-09 14:55:46 +0100 | [diff] [blame] | 327 | test/integration/*.crt \ |
| 328 | test/integration/*.crl \ |
Andreas Fuchs | 8194dc7 | 2019-03-27 15:08:22 +0100 | [diff] [blame] | 329 | test/integration/*.int_state* \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 330 | test/integration/*.log \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 331 | test/integration/*.int_ek* \ |
| 332 | test/integration/*.int_*-ca.pem \ |
Juergen Repp | afc9856 | 2020-01-09 14:55:46 +0100 | [diff] [blame] | 333 | test/tpmclient/*.crt \ |
| 334 | test/tpmclient/*.crl \ |
Andreas Fuchs | 8194dc7 | 2019-03-27 15:08:22 +0100 | [diff] [blame] | 335 | test/tpmclient/*.int_state* \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 336 | test/tpmclient/*.log \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 337 | test/tpmclient/*.int_ek* \ |
| 338 | test/tpmclient/*.int_*-ca.pem \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 339 | test/unit/*.log |
| 340 | |
| 341 | if UNIT |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 342 | test_unit_tcti_device_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 343 | test_unit_tcti_device_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil) |
Johannes Holland | ae7599e | 2019-12-14 23:07:40 +0100 | [diff] [blame] | 344 | test_unit_tcti_device_LDFLAGS = -Wl,--wrap=read -Wl,--wrap=write, -Wl,--wrap=poll \ |
| 345 | -Wl,--wrap=open |
Philip Tricca | b8584ac | 2018-03-10 17:02:30 -0800 | [diff] [blame] | 346 | test_unit_tcti_device_SOURCES = test/unit/tcti-device.c \ |
Дилян Палаузов | 18a1111 | 2019-03-22 20:56:30 +0000 | [diff] [blame] | 347 | src/tss2-tcti/tcti-common.c \ |
Philip Tricca | 850bb59 | 2018-04-03 09:29:22 -0700 | [diff] [blame] | 348 | src/tss2-tcti/tcti-device.c src/tss2-tcti/tcti-device.h |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 349 | |
Tadeusz Struk | 41f555a | 2020-01-27 12:13:03 -0800 | [diff] [blame] | 350 | if ENABLE_TCTI_MSSIM |
Jonas Witschel | 17a670d | 2019-01-13 12:52:48 +0100 | [diff] [blame] | 351 | test_unit_tcti_mssim_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 352 | test_unit_tcti_mssim_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil) |
Philip Tricca | addad78 | 2018-03-09 11:42:05 -0800 | [diff] [blame] | 353 | test_unit_tcti_mssim_LDFLAGS = -Wl,--wrap=connect,--wrap=read,--wrap=select,--wrap=write |
Philip Tricca | 850bb59 | 2018-04-03 09:29:22 -0700 | [diff] [blame] | 354 | test_unit_tcti_mssim_SOURCES = test/unit/tcti-mssim.c \ |
Дилян Палаузов | 18a1111 | 2019-03-22 20:56:30 +0000 | [diff] [blame] | 355 | src/tss2-tcti/tcti-common.c \ |
Philip Tricca | 850bb59 | 2018-04-03 09:29:22 -0700 | [diff] [blame] | 356 | src/tss2-tcti/tcti-mssim.c src/tss2-tcti/tcti-mssim.h |
Tadeusz Struk | 41f555a | 2020-01-27 12:13:03 -0800 | [diff] [blame] | 357 | endif |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 358 | |
Philip Tricca | b258ab9 | 2019-06-28 13:52:14 -0700 | [diff] [blame] | 359 | test_unit_tctildr_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 360 | test_unit_tctildr_LDADD = $(CMOCKA_LIBS) $(libutil) |
Philip Tricca | be79645 | 2019-07-09 16:13:19 -0700 | [diff] [blame] | 361 | test_unit_tctildr_LDFLAGS = -Wl,--wrap=calloc,--wrap=free \ |
Philip Tricca | ebb398e | 2019-07-15 22:05:12 -0700 | [diff] [blame] | 362 | -Wl,--wrap=tctildr_finalize_data,--wrap=tctildr_get_tcti \ |
Mario Limonciello | 1c99117 | 2019-11-14 09:48:43 -0600 | [diff] [blame] | 363 | -Wl,--wrap=tctildr_get_info |
Philip Tricca | b258ab9 | 2019-06-28 13:52:14 -0700 | [diff] [blame] | 364 | test_unit_tctildr_SOURCES = test/unit/tctildr.c \ |
| 365 | src/tss2-tcti/tctildr.c |
| 366 | |
| 367 | test_unit_tctildr_dl_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) \ |
| 368 | -UESYS_TCTI_DEFAULT_MODULE -UESYS_TCTI_DEFAUT_CONFIG |
| 369 | test_unit_tctildr_dl_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 370 | test_unit_tctildr_dl_LDFLAGS = -Wl,--wrap=dlopen,--wrap=dlclose,--wrap=dlsym \ |
Philip Tricca | 0638906 | 2019-06-21 14:19:51 -0700 | [diff] [blame] | 371 | -Wl,--wrap=tcti_from_init,--wrap=tcti_from_info,--wrap=dlerror |
Philip Tricca | b258ab9 | 2019-06-28 13:52:14 -0700 | [diff] [blame] | 372 | test_unit_tctildr_dl_SOURCES = test/unit/tctildr-dl.c \ |
Philip Tricca | 59e8eef | 2019-07-15 09:34:35 -0700 | [diff] [blame] | 373 | src/tss2-tcti/tctildr-dl.c |
Philip Tricca | b258ab9 | 2019-06-28 13:52:14 -0700 | [diff] [blame] | 374 | |
| 375 | test_unit_tctildr_nodl_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) \ |
| 376 | -UESYS_TCTI_DEFAULT_MODULE -UESYS_TCTI_DEFAUT_CONFIG |
| 377 | test_unit_tctildr_nodl_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 378 | test_unit_tctildr_nodl_LDFLAGS = -Wl,--wrap=Tss2_Tcti_Device_Init \ |
| 379 | -Wl,--wrap=Tss2_Tcti_Mssim_Init,--wrap=tcti_from_init |
| 380 | test_unit_tctildr_nodl_SOURCES = test/unit/tctildr-nodl.c \ |
Philip Tricca | 59e8eef | 2019-07-15 09:34:35 -0700 | [diff] [blame] | 381 | src/tss2-tcti/tctildr-nodl.c |
Philip Tricca | b258ab9 | 2019-06-28 13:52:14 -0700 | [diff] [blame] | 382 | |
Philip Tricca | be79645 | 2019-07-09 16:13:19 -0700 | [diff] [blame] | 383 | test_unit_tctildr_tcti_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 384 | test_unit_tctildr_tcti_LDADD = $(CMOCKA_LIBS) $(libutil) \ |
| 385 | $(libtss2_tcti_device) $(libtss2_tcti_mssim) |
Philip Tricca | 24014ec | 2019-06-21 19:27:18 -0700 | [diff] [blame] | 386 | test_unit_tctildr_tcti_LDFLAGS = -Wl,--wrap=tctildr_get_info \ |
Philip Tricca | be79645 | 2019-07-09 16:13:19 -0700 | [diff] [blame] | 387 | -Wl,--wrap=tctildr_get_tcti,--wrap=tctildr_finalize_data |
| 388 | test_unit_tctildr_tcti_SOURCES = test/unit/tctildr-tcti.c \ |
| 389 | src/tss2-tcti/tctildr.c |
| 390 | |
Philip Tricca | 24014ec | 2019-06-21 19:27:18 -0700 | [diff] [blame] | 391 | test_unit_tctildr_getinfo_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 392 | test_unit_tctildr_getinfo_LDADD = $(CMOCKA_LIBS) $(libutil) \ |
| 393 | $(libtss2_tcti_device) $(libtss2_tcti_mssim) |
| 394 | test_unit_tctildr_getinfo_LDFLAGS = -Wl,--wrap=strndup,--wrap=free \ |
| 395 | -Wl,--wrap=calloc,--wrap=tctildr_finalize_data \ |
| 396 | -Wl,--wrap=tctildr_get_info,--wrap=tctildr_get_tcti |
| 397 | test_unit_tctildr_getinfo_SOURCES = test/unit/tctildr-getinfo.c \ |
| 398 | src/tss2-tcti/tctildr.c |
| 399 | |
Philip Tricca | 88ced72 | 2018-03-14 15:24:20 -0700 | [diff] [blame] | 400 | test_unit_io_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | 097cae6 | 2018-04-08 13:42:29 -0700 | [diff] [blame] | 401 | test_unit_io_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libutil) |
| 402 | test_unit_io_LDFLAGS = -Wl,--wrap=connect,--wrap=read,--wrap=socket,--wrap=write |
Philip Tricca | 2bec2a8 | 2018-03-04 21:27:30 -0800 | [diff] [blame] | 403 | |
Philip Tricca | e394cff | 2018-04-18 08:36:06 -0700 | [diff] [blame] | 404 | test_unit_key_value_parse_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 405 | test_unit_key_value_parse_LDADD = $(CMOCKA_LIBS) $(libutil) |
Philip Tricca | e394cff | 2018-04-18 08:36:06 -0700 | [diff] [blame] | 406 | |
Peter Huewe | 0b96cac | 2019-04-16 15:06:07 +0200 | [diff] [blame] | 407 | test_unit_log_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 408 | test_unit_log_LDADD = $(CMOCKA_LIBS) $(libutil) |
| 409 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 410 | test_unit_CommonPreparePrologue_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 411 | test_unit_CommonPreparePrologue_LDADD = $(CMOCKA_LIBS) $(libtss2_sys) $(libtss2_mu) |
| 412 | test_unit_CommonPreparePrologue_SOURCES = test/unit/CommonPreparePrologue.c \ |
| 413 | src/tss2-sys/sysapi_util.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 414 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 415 | test_unit_CopyCommandHeader_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 416 | test_unit_CopyCommandHeader_LDADD = $(CMOCKA_LIBS) $(libtss2_sys) $(libtss2_mu) |
| 417 | test_unit_CopyCommandHeader_SOURCES = test/unit/CopyCommandHeader.c \ |
| 418 | src/tss2-sys/sysapi_util.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 419 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 420 | test_unit_UINT8_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 421 | test_unit_UINT8_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 422 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 423 | test_unit_UINT16_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 424 | test_unit_UINT16_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 425 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 426 | test_unit_UINT32_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 427 | test_unit_UINT32_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 428 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 429 | test_unit_UINT64_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 430 | test_unit_UINT64_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 431 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 432 | test_unit_TPMA_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 433 | test_unit_TPMA_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 434 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 435 | test_unit_TPM2B_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 436 | test_unit_TPM2B_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 437 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 438 | test_unit_TPMS_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 439 | test_unit_TPMS_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 440 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 441 | test_unit_TPML_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 442 | test_unit_TPML_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 443 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 444 | test_unit_TPMT_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 445 | test_unit_TPMT_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 446 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 447 | test_unit_TPMU_marshal_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
Philip Tricca | ee73062 | 2018-03-10 16:40:41 -0800 | [diff] [blame] | 448 | test_unit_TPMU_marshal_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 449 | |
Tadeusz Struk | e341d5d | 2019-04-08 15:53:27 -0700 | [diff] [blame] | 450 | test_unit_sys_execute_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 451 | test_unit_sys_execute_LDADD = $(CMOCKA_LIBS) $(libtss2_mu) $(libtss2_sys) |
Tadeusz Struk | 101b07a | 2019-04-12 18:10:05 -0700 | [diff] [blame] | 452 | test_unit_sys_execute_SOURCES = test/unit/sys-execute.c \ |
| 453 | src/tss2-tcti/tcti-common.c src/util/log.c |
Tadeusz Struk | e341d5d | 2019-04-08 15:53:27 -0700 | [diff] [blame] | 454 | |
William Roberts | bc76d5a | 2019-07-10 14:04:06 -0500 | [diff] [blame] | 455 | test_unit_tss2_rc_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 456 | test_unit_tss2_rc_LDADD = $(CMOCKA_LIBS) $(libtss2_rc) $(libtss2_sys) |
| 457 | test_unit_tss2_rc_SOURCES = test/unit/test_tss2_rc.c |
| 458 | |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 459 | if ESAPI |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 460 | test_unit_esys_context_null_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 461 | test_unit_esys_context_null_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
Philip Tricca | be79645 | 2019-07-09 16:13:19 -0700 | [diff] [blame] | 462 | test_unit_esys_context_null_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) -Wl,--wrap=tctildr_finalize_data,--wrap=tctildr_get_tcti |
Andreas Fuchs | 88ac7d7 | 2018-03-16 13:20:54 +0100 | [diff] [blame] | 463 | |
Andreas Fuchs | 5d9ce58 | 2018-03-21 19:05:47 +0100 | [diff] [blame] | 464 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 465 | test_unit_esys_resubmissions_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 88ac7d7 | 2018-03-16 13:20:54 +0100 | [diff] [blame] | 466 | test_unit_esys_resubmissions_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 467 | test_unit_esys_resubmissions_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 468 | test_unit_esys_resubmissions_SOURCES = test/unit/esys-resubmissions.c \ |
| 469 | src/tss2-esys/esys_iutil.c \ |
| 470 | src/tss2-esys/esys_crypto.c \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 471 | $(TSS2_ESYS_SRC_CRYPTO) |
Juergen Repp | 2018151 | 2018-03-20 16:14:28 +0100 | [diff] [blame] | 472 | |
| 473 | test_unit_esys_sequence_finish_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 474 | test_unit_esys_sequence_finish_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 475 | test_unit_esys_sequence_finish_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | 4879ad3 | 2018-04-12 14:48:06 +0200 | [diff] [blame] | 476 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 477 | test_unit_esys_tcti_rcs_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 478 | test_unit_esys_tcti_rcs_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 479 | test_unit_esys_tcti_rcs_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 480 | test_unit_esys_tcti_rcs_SOURCES = test/unit/esys-tcti-rcs.c \ |
| 481 | src/tss2-esys/esys_iutil.c \ |
| 482 | src/tss2-esys/esys_crypto.c \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 483 | $(TSS2_ESYS_SRC_CRYPTO) |
Andreas Fuchs | 72227dc | 2018-04-12 14:54:07 +0200 | [diff] [blame] | 484 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 485 | test_unit_esys_tpm_rcs_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 486 | test_unit_esys_tpm_rcs_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 487 | test_unit_esys_tpm_rcs_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 488 | test_unit_esys_tpm_rcs_SOURCES = test/unit/esys-tpm-rcs.c \ |
| 489 | src/tss2-esys/esys_iutil.c \ |
| 490 | src/tss2-esys/esys_crypto.c \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 491 | $(TSS2_ESYS_SRC_CRYPTO) |
Andreas Fuchs | c3cc36e | 2018-04-26 19:22:02 +0200 | [diff] [blame] | 492 | |
| 493 | test_unit_esys_getpollhandles_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 494 | test_unit_esys_getpollhandles_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 495 | test_unit_esys_getpollhandles_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | 296c281 | 2018-05-02 11:43:11 +0200 | [diff] [blame] | 496 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 497 | test_unit_esys_nulltcti_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Philip Tricca | 0590c2e | 2019-06-28 10:20:02 -0700 | [diff] [blame] | 498 | test_unit_esys_nulltcti_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) $(LIBADD_DL) |
Philip Tricca | be79645 | 2019-07-09 16:13:19 -0700 | [diff] [blame] | 499 | test_unit_esys_nulltcti_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 500 | $(LIBDL_LDFLAGS) -Wl,--wrap=Tss2_TctiLdr_Initialize -Wl,--wrap=Tss2_TctiLdr_Finalize |
Andreas Fuchs | 296c281 | 2018-05-02 11:43:11 +0200 | [diff] [blame] | 501 | test_unit_esys_nulltcti_SOURCES = test/unit/esys-nulltcti.c \ |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 502 | src/tss2-esys/esys_context.c \ |
| 503 | src/tss2-esys/esys_iutil.c \ |
| 504 | src/tss2-esys/esys_crypto.c \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 505 | $(TSS2_ESYS_SRC_CRYPTO) |
Juergen Repp | 52ceb8c | 2018-08-22 18:30:12 +0200 | [diff] [blame] | 506 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 507 | test_unit_esys_crypto_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Philip Tricca | 0590c2e | 2019-06-28 10:20:02 -0700 | [diff] [blame] | 508 | test_unit_esys_crypto_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) $(LIBADD_DL) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 509 | test_unit_esys_crypto_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 52ceb8c | 2018-08-22 18:30:12 +0200 | [diff] [blame] | 510 | test_unit_esys_crypto_SOURCES = test/unit/esys-crypto.c \ |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 511 | src/tss2-esys/esys_context.c \ |
| 512 | src/tss2-esys/esys_iutil.c \ |
Philip Tricca | b258ab9 | 2019-06-28 13:52:14 -0700 | [diff] [blame] | 513 | src/tss2-tcti/tctildr.c \ |
| 514 | src/tss2-tcti/tctildr-dl.c \ |
Tadeusz Struk | 8d3c346 | 2019-04-15 09:23:29 -0700 | [diff] [blame] | 515 | src/tss2-esys/esys_crypto.c \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 516 | $(TSS2_ESYS_SRC_CRYPTO) |
Juergen Repp | d947f13 | 2018-03-16 13:15:10 +0100 | [diff] [blame] | 517 | endif # ESAPI |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 518 | |
| 519 | if FAPI |
| 520 | |
| 521 | test_unit_fapi_json_CFLAGS = $(CMOCKA_CFLAGS) $(TESTS_CFLAGS) |
| 522 | test_unit_fapi_json_LDADD = $(CMOCKA_LIBS) $(TESTS_LDADD) |
| 523 | test_unit_fapi_json_LDFLAGS = $(TESTS_LDFLAGS) -ljson-c |
| 524 | test_unit_fapi_json_SOURCES = test/unit/fapi-json.c \ |
| 525 | src/tss2-fapi/ifapi_json_deserialize.c \ |
| 526 | src/tss2-fapi/ifapi_json_serialize.c \ |
| 527 | src/tss2-fapi/ifapi_policy_json_deserialize.c \ |
| 528 | src/tss2-fapi/ifapi_policy_json_serialize.c \ |
| 529 | src/tss2-fapi/tpm_json_deserialize.c \ |
| 530 | src/tss2-fapi/tpm_json_serialize.c |
| 531 | |
| 532 | endif # FAPI |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 533 | endif # UNIT |
| 534 | |
Philip Tricca | 9907543 | 2018-04-25 19:02:05 -0700 | [diff] [blame] | 535 | if ENABLE_INTEGRATION |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 536 | test_tpmclient_tpmclient_int_CFLAGS = $(AM_CFLAGS) -U_FORTIFY_SOURCE $(TESTS_CFLAGS) |
| 537 | test_tpmclient_tpmclient_int_LDADD = $(TESTS_LDADD) |
| 538 | test_tpmclient_tpmclient_int_SOURCES = \ |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 539 | test/tpmclient/tpmclient.int.c test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 540 | |
Andreas Fuchs | 1c4a811 | 2018-03-29 16:58:07 +0200 | [diff] [blame] | 541 | test_integration_libtest_utils_la_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 542 | test_integration_libtest_utils_la_SOURCES = \ |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 543 | test/integration/sapi-context-util.c test/integration/context-util.h \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 544 | test/integration/sapi-util.c test/integration/sapi-util.h \ |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 545 | test/integration/sapi-session-util.c test/integration/session-util.h \ |
| 546 | test/integration/sapi-test-options.c test/integration/test-options.h \ |
Tadeusz Struk | 101b07a | 2019-04-12 18:10:05 -0700 | [diff] [blame] | 547 | test/integration/sapi-entity-util.c test/integration/test.h \ |
| 548 | src/util/log.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 549 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 550 | test_integration_sapi_asymmetric_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 551 | test_integration_sapi_asymmetric_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 552 | test_integration_sapi_asymmetric_encrypt_decrypt_int_SOURCES = \ |
| 553 | test/integration/sapi-asymmetric-encrypt-decrypt.int.c test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 554 | |
Philip Tricca | a5ccce5 | 2019-03-23 14:50:16 -0700 | [diff] [blame] | 555 | test_integration_sapi_nv_policy_locality_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 556 | test_integration_sapi_nv_policy_locality_int_LDADD = $(TESTS_LDADD) |
| 557 | test_integration_sapi_nv_policy_locality_int_SOURCES = \ |
| 558 | test/integration/sapi-nv-policy-locality.int.c test/integration/main-sapi.c |
| 559 | |
Philip Tricca | 53c3a99 | 2019-03-19 15:53:45 -0700 | [diff] [blame] | 560 | test_integration_sapi_nv_readwrite_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 561 | test_integration_sapi_nv_readwrite_int_LDADD = $(TESTS_LDADD) |
| 562 | test_integration_sapi_nv_readwrite_int_SOURCES = \ |
| 563 | test/integration/sapi-nv-readwrite.int.c test/integration/main-sapi.c |
| 564 | |
Philip Tricca | 802ba56 | 2019-03-25 08:57:53 -0700 | [diff] [blame] | 565 | test_integration_sapi_hmac_auth_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 566 | test_integration_sapi_hmac_auth_int_LDADD = $(TESTS_LDADD) |
| 567 | test_integration_sapi_hmac_auth_int_SOURCES = \ |
| 568 | test/integration/sapi-hmac-auth.int.c test/integration/main-sapi.c |
| 569 | |
Tadeusz Struk | 6c45cbd | 2018-05-01 11:10:45 -0700 | [diff] [blame] | 570 | test_integration_sapi_primary_rsa_2K_aes128cfb_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 571 | test_integration_sapi_primary_rsa_2K_aes128cfb_int_LDADD = $(TESTS_LDADD) |
| 572 | test_integration_sapi_primary_rsa_2K_aes128cfb_int_SOURCES = \ |
| 573 | test/integration/sapi-primary-rsa-2K-aes128cfb.int.c \ |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 574 | test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 575 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 576 | test_integration_sapi_create_keyedhash_sha1_hmac_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 577 | test_integration_sapi_create_keyedhash_sha1_hmac_int_LDADD = $(TESTS_LDADD) |
| 578 | test_integration_sapi_create_keyedhash_sha1_hmac_int_SOURCES = \ |
| 579 | test/integration/sapi-create-keyedhash-sha1-hmac.int.c test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 580 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 581 | test_integration_sapi_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 582 | test_integration_sapi_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 583 | test_integration_sapi_encrypt_decrypt_int_SOURCES = \ |
| 584 | test/integration/sapi-encrypt-decrypt.int.c test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 585 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 586 | test_integration_sapi_encrypt_decrypt_2_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 587 | test_integration_sapi_encrypt_decrypt_2_int_LDADD = $(TESTS_LDADD) |
| 588 | test_integration_sapi_encrypt_decrypt_2_int_SOURCES = \ |
| 589 | test/integration/sapi-encrypt-decrypt-2.int.c test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 590 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 591 | test_integration_sapi_evict_ctrl_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 592 | test_integration_sapi_evict_ctrl_int_LDADD = $(TESTS_LDADD) |
| 593 | test_integration_sapi_evict_ctrl_int_SOURCES = \ |
| 594 | test/integration/sapi-evict-ctrl.int.c test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 595 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 596 | test_integration_sapi_sys_initialize_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 597 | test_integration_sapi_sys_initialize_int_LDADD = $(TESTS_LDADD) |
| 598 | test_integration_sapi_sys_initialize_int_SOURCES = test/integration/sapi-sys-initialize.int.c \ |
| 599 | test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 600 | |
Peter Huewe | 378e802 | 2018-09-29 22:49:09 +0200 | [diff] [blame] | 601 | test_integration_sapi_stir_random_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 602 | test_integration_sapi_stir_random_int_LDADD = $(TESTS_LDADD) |
| 603 | test_integration_sapi_stir_random_int_SOURCES = test/integration/sapi-stir-random.int.c \ |
| 604 | test/integration/main-sapi.c |
| 605 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 606 | test_integration_sapi_get_random_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 607 | test_integration_sapi_get_random_int_LDADD = $(TESTS_LDADD) |
| 608 | test_integration_sapi_get_random_int_SOURCES = test/integration/sapi-get-random.int.c \ |
| 609 | test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 610 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 611 | test_integration_sapi_abi_version_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 612 | test_integration_sapi_abi_version_int_LDADD = $(TESTS_LDADD) |
| 613 | test_integration_sapi_abi_version_int_SOURCES = test/integration/sapi-abi-version.int.c \ |
| 614 | test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 615 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 616 | test_integration_sapi_pcr_extension_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 617 | test_integration_sapi_pcr_extension_int_LDADD = $(TESTS_LDADD) |
| 618 | test_integration_sapi_pcr_extension_int_SOURCES = test/integration/sapi-pcr-extension.int.c \ |
| 619 | test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 620 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 621 | test_integration_sapi_self_test_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 622 | test_integration_sapi_self_test_int_LDADD = $(TESTS_LDADD) |
| 623 | test_integration_sapi_self_test_int_SOURCES = test/integration/sapi-self-test.int.c \ |
| 624 | test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 625 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 626 | test_integration_sapi_hierarchy_change_auth_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 627 | test_integration_sapi_hierarchy_change_auth_int_LDADD = $(TESTS_LDADD) |
| 628 | test_integration_sapi_hierarchy_change_auth_int_SOURCES = \ |
| 629 | test/integration/sapi-hierarchy-change-auth.int.c test/integration/main-sapi.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 630 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 631 | test_integration_sapi_start_auth_session_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 632 | test_integration_sapi_start_auth_session_int_LDADD = $(TESTS_LDADD) |
| 633 | test_integration_sapi_start_auth_session_int_SOURCES = test/integration/main-sapi.c \ |
| 634 | test/integration/sapi-start-auth-session.int.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 635 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 636 | test_integration_sapi_tpm_properties_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 637 | test_integration_sapi_tpm_properties_int_LDADD = $(TESTS_LDADD) |
| 638 | test_integration_sapi_tpm_properties_int_SOURCES = test/integration/main-sapi.c \ |
| 639 | test/integration/sapi-tpm-properties.int.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 640 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 641 | test_integration_sapi_system_api_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 642 | test_integration_sapi_system_api_int_LDADD = $(TESTS_LDADD) |
| 643 | test_integration_sapi_system_api_int_SOURCES = test/integration/main-sapi.c \ |
| 644 | test/integration/sapi-system-api.int.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 645 | |
Tadeusz Struk | 5c9c192 | 2018-05-01 09:52:46 -0700 | [diff] [blame] | 646 | test_integration_sapi_aram_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS) |
| 647 | test_integration_sapi_param_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
| 648 | test_integration_sapi_param_encrypt_decrypt_int_SOURCES = \ |
| 649 | test/integration/sapi-param-encrypt-decrypt.int.c test/integration/main-sapi.c |
| 650 | |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 651 | if ESAPI |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 652 | ESYS_SRC_UTIL_CRYPTO_SRC = src/tss2-esys/esys_iutil.c \ |
| 653 | src/tss2-esys/esys_crypto.c \ |
| 654 | $(TSS2_ESYS_SRC_CRYPTO) |
| 655 | |
Juergen Repp | 607317b | 2018-04-12 10:34:57 +0200 | [diff] [blame] | 656 | test_integration_esys_audit_int_CFLAGS = $(TESTS_CFLAGS) |
| 657 | test_integration_esys_audit_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 658 | test_integration_esys_audit_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 607317b | 2018-04-12 10:34:57 +0200 | [diff] [blame] | 659 | test_integration_esys_audit_int_SOURCES = \ |
| 660 | test/integration/esys-audit.int.c \ |
| 661 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 662 | |
Juergen Repp | 43966fc | 2018-04-12 10:44:53 +0200 | [diff] [blame] | 663 | test_integration_esys_certify_creation_int_CFLAGS = $(TESTS_CFLAGS) |
| 664 | test_integration_esys_certify_creation_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 665 | test_integration_esys_certify_creation_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 43966fc | 2018-04-12 10:44:53 +0200 | [diff] [blame] | 666 | test_integration_esys_certify_creation_int_SOURCES = \ |
| 667 | test/integration/esys-certify-creation.int.c \ |
| 668 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 669 | |
Juergen Repp | 77b9a0e | 2018-04-12 10:45:15 +0200 | [diff] [blame] | 670 | test_integration_esys_certify_int_CFLAGS = $(TESTS_CFLAGS) |
| 671 | test_integration_esys_certify_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 672 | test_integration_esys_certify_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 77b9a0e | 2018-04-12 10:45:15 +0200 | [diff] [blame] | 673 | test_integration_esys_certify_int_SOURCES = \ |
| 674 | test/integration/esys-certify.int.c \ |
| 675 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 676 | |
Juergen Repp | 1645570 | 2018-04-12 10:45:49 +0200 | [diff] [blame] | 677 | test_integration_esys_change_eps_int_CFLAGS = $(TESTS_CFLAGS) |
| 678 | test_integration_esys_change_eps_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 679 | test_integration_esys_change_eps_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 1645570 | 2018-04-12 10:45:49 +0200 | [diff] [blame] | 680 | test_integration_esys_change_eps_int_SOURCES = \ |
| 681 | test/integration/esys-change-eps.int.c \ |
| 682 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 683 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 684 | test_integration_esys_clear_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 685 | test_integration_esys_clear_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 686 | test_integration_esys_clear_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 687 | test_integration_esys_clear_int_SOURCES = \ |
| 688 | test/integration/esys-clear.int.c \ |
| 689 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 690 | |
Juergen Repp | 658cd7d | 2018-04-12 10:46:25 +0200 | [diff] [blame] | 691 | test_integration_esys_clear_control_int_CFLAGS = $(TESTS_CFLAGS) |
| 692 | test_integration_esys_clear_control_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 693 | test_integration_esys_clear_control_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 658cd7d | 2018-04-12 10:46:25 +0200 | [diff] [blame] | 694 | test_integration_esys_clear_control_int_SOURCES = \ |
| 695 | test/integration/esys-clear-control.int.c \ |
| 696 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 697 | |
| 698 | test_integration_esys_clear_session_int_CFLAGS = $(TESTS_CFLAGS) -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 699 | test_integration_esys_clear_session_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 700 | test_integration_esys_clear_session_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 701 | test_integration_esys_clear_session_int_SOURCES = \ |
| 702 | test/integration/esys-clear.int.c \ |
| 703 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 704 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 705 | test_integration_esys_clockset_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 706 | test_integration_esys_clockset_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 707 | test_integration_esys_clockset_int_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 708 | test_integration_esys_clockset_int_SOURCES = \ |
| 709 | test/integration/esys-clockset.int.c \ |
| 710 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 711 | |
Juergen Repp | 0c2d853 | 2018-04-12 10:46:57 +0200 | [diff] [blame] | 712 | test_integration_esys_commit_int_CFLAGS = $(TESTS_CFLAGS) |
| 713 | test_integration_esys_commit_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 714 | test_integration_esys_commit_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 0c2d853 | 2018-04-12 10:46:57 +0200 | [diff] [blame] | 715 | test_integration_esys_commit_int_SOURCES = \ |
| 716 | test/integration/esys-commit.int.c \ |
| 717 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 718 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 719 | test_integration_esys_create_fail_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 720 | test_integration_esys_create_fail_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 721 | test_integration_esys_create_fail_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 722 | test_integration_esys_create_fail_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 723 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 724 | test/integration/esys-create-fail.int.c \ |
| 725 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 726 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 727 | test_integration_esys_createloaded_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 728 | test_integration_esys_createloaded_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 729 | test_integration_esys_createloaded_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 730 | test_integration_esys_createloaded_int_SOURCES = \ |
| 731 | test/integration/esys-createloaded.int.c \ |
| 732 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 733 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 734 | test_integration_esys_createloaded_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 735 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 736 | test_integration_esys_createloaded_session_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 737 | test_integration_esys_createloaded_session_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 738 | test_integration_esys_createloaded_session_int_SOURCES = \ |
| 739 | test/integration/esys-createloaded.int.c \ |
| 740 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 741 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 742 | test_integration_esys_create_password_auth_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 743 | test_integration_esys_create_password_auth_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 744 | test_integration_esys_create_password_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 745 | test_integration_esys_create_password_auth_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 746 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 747 | test/integration/esys-create-password-auth.int.c \ |
| 748 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 749 | |
Jeffrey Ferreira | 13d757a | 2019-08-26 10:44:01 -0700 | [diff] [blame] | 750 | test_integration_esys_create_policy_auth_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
| 751 | test_integration_esys_create_policy_auth_int_LDADD = $(TESTS_LDADD) |
| 752 | test_integration_esys_create_policy_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
| 753 | test_integration_esys_create_policy_auth_int_SOURCES = \ |
| 754 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
| 755 | test/integration/esys-create-policy-auth.int.c \ |
| 756 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 757 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 758 | test_integration_esys_create_primary_ecc_hmac_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 759 | test_integration_esys_create_primary_ecc_hmac_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 760 | test_integration_esys_create_primary_ecc_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 761 | test_integration_esys_create_primary_ecc_hmac_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 762 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 763 | test/integration/esys-create-primary-hmac.int.c \ |
| 764 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 765 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 766 | test_integration_esys_create_primary_hmac_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 767 | test_integration_esys_create_primary_hmac_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 768 | test_integration_esys_create_primary_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 769 | test_integration_esys_create_primary_hmac_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 770 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 771 | test/integration/esys-create-primary-hmac.int.c \ |
| 772 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 773 | |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 774 | test_integration_esys_create_session_auth_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 775 | -DTEST_AES_ENCRYPTION $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 776 | test_integration_esys_create_session_auth_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 777 | test_integration_esys_create_session_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 778 | test_integration_esys_create_session_auth_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 779 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 780 | test/integration/esys-create-session-auth.int.c \ |
| 781 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 782 | |
Juergen Repp | 84db399 | 2018-05-02 11:14:22 +0200 | [diff] [blame] | 783 | test_integration_esys_create_session_auth_bound_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 784 | -DTEST_AES_ENCRYPTION -DTEST_BOUND_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 84db399 | 2018-05-02 11:14:22 +0200 | [diff] [blame] | 785 | test_integration_esys_create_session_auth_bound_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 786 | test_integration_esys_create_session_auth_bound_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 84db399 | 2018-05-02 11:14:22 +0200 | [diff] [blame] | 787 | test_integration_esys_create_session_auth_bound_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 788 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 84db399 | 2018-05-02 11:14:22 +0200 | [diff] [blame] | 789 | test/integration/esys-create-session-auth.int.c \ |
| 790 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 791 | |
Juergen Repp | fd9ad1b | 2018-04-24 12:06:32 +0200 | [diff] [blame] | 792 | test_integration_esys_create_session_auth_ecc_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 793 | -DTEST_AES_ENCRYPTION -DTEST_ECC $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | fd9ad1b | 2018-04-24 12:06:32 +0200 | [diff] [blame] | 794 | test_integration_esys_create_session_auth_ecc_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 795 | test_integration_esys_create_session_auth_ecc_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | fd9ad1b | 2018-04-24 12:06:32 +0200 | [diff] [blame] | 796 | test_integration_esys_create_session_auth_ecc_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 797 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | fd9ad1b | 2018-04-24 12:06:32 +0200 | [diff] [blame] | 798 | test/integration/esys-create-session-auth.int.c \ |
| 799 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 800 | |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 801 | test_integration_esys_create_session_auth_xor_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 802 | -DTEST_XOR_OBFUSCATION $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 803 | test_integration_esys_create_session_auth_xor_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 804 | test_integration_esys_create_session_auth_xor_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 805 | test_integration_esys_create_session_auth_xor_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 806 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | a2cf69c | 2018-03-27 14:20:59 +0200 | [diff] [blame] | 807 | test/integration/esys-create-session-auth.int.c \ |
| 808 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 809 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 810 | test_integration_esys_duplicate_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | f477ded | 2018-03-27 14:40:35 +0200 | [diff] [blame] | 811 | test_integration_esys_duplicate_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 812 | test_integration_esys_duplicate_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | f477ded | 2018-03-27 14:40:35 +0200 | [diff] [blame] | 813 | test_integration_esys_duplicate_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 814 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | f477ded | 2018-03-27 14:40:35 +0200 | [diff] [blame] | 815 | test/integration/esys-duplicate.int.c \ |
| 816 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 817 | |
Juergen Repp | 0d884d5 | 2018-04-12 10:48:07 +0200 | [diff] [blame] | 818 | test_integration_esys_ecc_parameters_int_CFLAGS = $(TESTS_CFLAGS) |
| 819 | test_integration_esys_ecc_parameters_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 820 | test_integration_esys_ecc_parameters_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 0d884d5 | 2018-04-12 10:48:07 +0200 | [diff] [blame] | 821 | test_integration_esys_ecc_parameters_int_SOURCES = \ |
| 822 | test/integration/esys-ecc-parameters.int.c \ |
| 823 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 824 | |
Juergen Repp | 472840f | 2018-04-12 10:48:38 +0200 | [diff] [blame] | 825 | test_integration_esys_ecdh_keygen_int_CFLAGS = $(TESTS_CFLAGS) |
| 826 | test_integration_esys_ecdh_keygen_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 827 | test_integration_esys_ecdh_keygen_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 472840f | 2018-04-12 10:48:38 +0200 | [diff] [blame] | 828 | test_integration_esys_ecdh_keygen_int_SOURCES = \ |
| 829 | test/integration/esys-ecdh-keygen.int.c \ |
| 830 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 831 | |
Juergen Repp | 73461b4 | 2018-04-12 10:49:10 +0200 | [diff] [blame] | 832 | test_integration_esys_ecdh_zgen_int_CFLAGS = $(TESTS_CFLAGS) |
| 833 | test_integration_esys_ecdh_zgen_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 834 | test_integration_esys_ecdh_zgen_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 73461b4 | 2018-04-12 10:49:10 +0200 | [diff] [blame] | 835 | test_integration_esys_ecdh_zgen_int_SOURCES = \ |
| 836 | test/integration/esys-ecdh-zgen.int.c \ |
| 837 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 838 | |
Juergen Repp | cd10125 | 2018-04-12 10:50:21 +0200 | [diff] [blame] | 839 | test_integration_esys_encrypt_decrypt_int_CFLAGS = $(TESTS_CFLAGS) |
| 840 | test_integration_esys_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 841 | test_integration_esys_encrypt_decrypt_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | cd10125 | 2018-04-12 10:50:21 +0200 | [diff] [blame] | 842 | test_integration_esys_encrypt_decrypt_int_SOURCES = \ |
| 843 | test/integration/esys-encrypt-decrypt.int.c \ |
| 844 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 845 | |
Juergen Repp | 7de9fbf | 2018-04-12 10:50:57 +0200 | [diff] [blame] | 846 | test_integration_esys_event_sequence_complete_int_CFLAGS = $(TESTS_CFLAGS) |
| 847 | test_integration_esys_event_sequence_complete_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 848 | test_integration_esys_event_sequence_complete_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 7de9fbf | 2018-04-12 10:50:57 +0200 | [diff] [blame] | 849 | test_integration_esys_event_sequence_complete_int_SOURCES = \ |
| 850 | test/integration/esys-event-sequence-complete.int.c \ |
| 851 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 852 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 853 | test_integration_esys_evict_control_serialization_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 854 | test_integration_esys_evict_control_serialization_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 855 | test_integration_esys_evict_control_serialization_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 856 | test_integration_esys_evict_control_serialization_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 857 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 858 | test/integration/esys-evict-control-serialization.int.c \ |
| 859 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 860 | |
Juergen Repp | 4ffdf0f | 2018-04-12 10:51:27 +0200 | [diff] [blame] | 861 | test_integration_esys_field_upgrade_int_CFLAGS = $(TESTS_CFLAGS) |
| 862 | test_integration_esys_field_upgrade_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 863 | test_integration_esys_field_upgrade_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 4ffdf0f | 2018-04-12 10:51:27 +0200 | [diff] [blame] | 864 | test_integration_esys_field_upgrade_int_SOURCES = \ |
| 865 | test/integration/esys-field-upgrade.int.c \ |
| 866 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 867 | |
Juergen Repp | 841eeb4 | 2018-04-12 10:51:49 +0200 | [diff] [blame] | 868 | test_integration_esys_firmware_read_int_CFLAGS = $(TESTS_CFLAGS) |
| 869 | test_integration_esys_firmware_read_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 870 | test_integration_esys_firmware_read_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 841eeb4 | 2018-04-12 10:51:49 +0200 | [diff] [blame] | 871 | test_integration_esys_firmware_read_int_SOURCES = \ |
| 872 | test/integration/esys-firmware-read.int.c \ |
| 873 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 874 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 875 | test_integration_esys_get_capability_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 876 | test_integration_esys_get_capability_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 877 | test_integration_esys_get_capability_int_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 878 | test_integration_esys_get_capability_int_SOURCES = \ |
| 879 | test/integration/esys-get-capability.int.c \ |
| 880 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 881 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 882 | test_integration_esys_get_random_int_CFLAGS = $(TESTS_CFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 883 | test_integration_esys_get_random_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 884 | test_integration_esys_get_random_int_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 885 | test_integration_esys_get_random_int_SOURCES = \ |
| 886 | test/integration/esys-get-random.int.c \ |
| 887 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 888 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 889 | test_integration_esys_get_time_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | d6ed8f2 | 2018-04-12 10:52:19 +0200 | [diff] [blame] | 890 | test_integration_esys_get_time_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 891 | test_integration_esys_get_time_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | d6ed8f2 | 2018-04-12 10:52:19 +0200 | [diff] [blame] | 892 | test_integration_esys_get_time_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 893 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | d6ed8f2 | 2018-04-12 10:52:19 +0200 | [diff] [blame] | 894 | test/integration/esys-get-time.int.c \ |
| 895 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 896 | |
Juergen Repp | 3ca3726 | 2018-08-02 17:41:32 +0200 | [diff] [blame] | 897 | test_integration_esys_hash_int_CFLAGS = $(TESTS_CFLAGS) |
| 898 | test_integration_esys_hash_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 899 | test_integration_esys_hash_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 3ca3726 | 2018-08-02 17:41:32 +0200 | [diff] [blame] | 900 | test_integration_esys_hash_int_SOURCES = \ |
| 901 | test/integration/esys-hash.int.c \ |
| 902 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 903 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 904 | test_integration_esys_hashsequencestart_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 905 | test_integration_esys_hashsequencestart_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 906 | test_integration_esys_hashsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 907 | test_integration_esys_hashsequencestart_int_SOURCES = \ |
| 908 | test/integration/esys-hashsequencestart.int.c \ |
| 909 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 910 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 911 | test_integration_esys_hashsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 912 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 913 | test_integration_esys_hashsequencestart_session_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 914 | test_integration_esys_hashsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 915 | test_integration_esys_hashsequencestart_session_int_SOURCES = \ |
| 916 | test/integration/esys-hashsequencestart.int.c \ |
| 917 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 918 | |
Juergen Repp | 9f394f2 | 2018-04-12 10:52:35 +0200 | [diff] [blame] | 919 | test_integration_esys_hierarchy_control_int_CFLAGS = $(TESTS_CFLAGS) |
| 920 | test_integration_esys_hierarchy_control_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 921 | test_integration_esys_hierarchy_control_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 9f394f2 | 2018-04-12 10:52:35 +0200 | [diff] [blame] | 922 | test_integration_esys_hierarchy_control_int_SOURCES = \ |
| 923 | test/integration/esys-hierarchy-control.int.c \ |
| 924 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 925 | |
Juergen Repp | 3ca3726 | 2018-08-02 17:41:32 +0200 | [diff] [blame] | 926 | test_integration_esys_hmac_int_CFLAGS = $(TESTS_CFLAGS) |
| 927 | test_integration_esys_hmac_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 928 | test_integration_esys_hmac_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 3ca3726 | 2018-08-02 17:41:32 +0200 | [diff] [blame] | 929 | test_integration_esys_hmac_int_SOURCES = \ |
| 930 | test/integration/esys-hmac.int.c \ |
| 931 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 932 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 933 | test_integration_esys_hmacsequencestart_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 934 | test_integration_esys_hmacsequencestart_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 935 | test_integration_esys_hmacsequencestart_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 936 | test_integration_esys_hmacsequencestart_int_SOURCES = \ |
| 937 | test/integration/esys-hmacsequencestart.int.c \ |
| 938 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 939 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 940 | test_integration_esys_hmacsequencestart_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 941 | -DTEST_SESSION |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 942 | test_integration_esys_hmacsequencestart_session_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 943 | test_integration_esys_hmacsequencestart_session_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 944 | test_integration_esys_hmacsequencestart_session_int_SOURCES = \ |
| 945 | test/integration/esys-hmacsequencestart.int.c \ |
| 946 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 947 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 948 | test_integration_esys_hierarchychangeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 949 | test_integration_esys_hierarchychangeauth_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 950 | test_integration_esys_hierarchychangeauth_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 951 | test_integration_esys_hierarchychangeauth_int_SOURCES = \ |
| 952 | test/integration/esys-hierarchychangeauth.int.c \ |
| 953 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 954 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 955 | test_integration_esys_import_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | efacad1 | 2018-04-12 10:53:12 +0200 | [diff] [blame] | 956 | test_integration_esys_import_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 957 | test_integration_esys_import_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | efacad1 | 2018-04-12 10:53:12 +0200 | [diff] [blame] | 958 | test_integration_esys_import_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 959 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | efacad1 | 2018-04-12 10:53:12 +0200 | [diff] [blame] | 960 | test/integration/esys-import.int.c \ |
| 961 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 962 | |
Juergen Repp | 5302883 | 2018-04-12 10:53:30 +0200 | [diff] [blame] | 963 | test_integration_esys_lock_int_CFLAGS = $(TESTS_CFLAGS) |
| 964 | test_integration_esys_lock_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 965 | test_integration_esys_lock_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 5302883 | 2018-04-12 10:53:30 +0200 | [diff] [blame] | 966 | test_integration_esys_lock_int_SOURCES = \ |
| 967 | test/integration/esys-lock.int.c \ |
| 968 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 969 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 970 | test_integration_esys_make_credential_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 971 | test_integration_esys_make_credential_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 972 | test_integration_esys_make_credential_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 973 | test_integration_esys_make_credential_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 974 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 975 | test/integration/esys-make-credential.int.c \ |
| 976 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 977 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 978 | test_integration_esys_make_credential_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 979 | -DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 980 | test_integration_esys_make_credential_session_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 981 | test_integration_esys_make_credential_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 982 | test_integration_esys_make_credential_session_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 983 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 984 | test/integration/esys-make-credential.int.c \ |
| 985 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 986 | |
Juergen Repp | 090bcef | 2018-04-12 10:53:49 +0200 | [diff] [blame] | 987 | test_integration_esys_nv_certify_int_CFLAGS = $(TESTS_CFLAGS) |
| 988 | test_integration_esys_nv_certify_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 989 | test_integration_esys_nv_certify_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 090bcef | 2018-04-12 10:53:49 +0200 | [diff] [blame] | 990 | test_integration_esys_nv_certify_int_SOURCES = \ |
| 991 | test/integration/esys-nv-certify.int.c \ |
| 992 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 993 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 994 | test_integration_esys_nv_ram_counter_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 995 | test_integration_esys_nv_ram_counter_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 996 | test_integration_esys_nv_ram_counter_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 997 | test_integration_esys_nv_ram_counter_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 998 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 999 | test/integration/esys-nv-ram-counter.int.c \ |
| 1000 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1001 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 1002 | test_integration_esys_nv_ram_counter_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1003 | -DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1004 | test_integration_esys_nv_ram_counter_session_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1005 | test_integration_esys_nv_ram_counter_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1006 | test_integration_esys_nv_ram_counter_session_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1007 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1008 | test/integration/esys-nv-ram-counter.int.c \ |
| 1009 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1010 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1011 | test_integration_esys_nv_ram_extend_index_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1012 | test_integration_esys_nv_ram_extend_index_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1013 | test_integration_esys_nv_ram_extend_index_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1014 | test_integration_esys_nv_ram_extend_index_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1015 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1016 | test/integration/esys-nv-ram-extend-index.int.c \ |
| 1017 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1018 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 1019 | test_integration_esys_nv_ram_extend_index_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1020 | -DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1021 | test_integration_esys_nv_ram_extend_index_session_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1022 | test_integration_esys_nv_ram_extend_index_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1023 | test_integration_esys_nv_ram_extend_index_session_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1024 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1025 | test/integration/esys-nv-ram-extend-index.int.c \ |
| 1026 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1027 | |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1028 | test_integration_esys_nv_ram_ordinary_index_rlock_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1029 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/test/integration/ \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1030 | -I$(srcdir)/src/esapi/esapi_util -DTEST_READ_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1031 | test_integration_esys_nv_ram_ordinary_index_rlock_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1032 | test_integration_esys_nv_ram_ordinary_index_rlock_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1033 | test_integration_esys_nv_ram_ordinary_index_rlock_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1034 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 8a19179 | 2018-04-10 14:34:58 +0200 | [diff] [blame] | 1035 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 1036 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1037 | |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1038 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1039 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1040 | -I$(srcdir)/src/esapi/esapi_util -DTEST_SESSION -DTEST_READ_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1041 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1042 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1043 | test_integration_esys_nv_ram_ordinary_index_rlock_session_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1044 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1045 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 1046 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1047 | |
| 1048 | test_integration_esys_nv_ram_ordinary_index_wlock_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1049 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1050 | -I$(srcdir)/src/esapi/esapi_util -DTEST_WRITE_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1051 | test_integration_esys_nv_ram_ordinary_index_wlock_int_LDADD = $(TESTS_LDADD) |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1052 | test_integration_esys_nv_ram_ordinary_index_wlock_int_LDFLAGS = $(TESTS_LDFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1053 | $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1054 | test_integration_esys_nv_ram_ordinary_index_wlock_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1055 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1056 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 1057 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1058 | |
| 1059 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1060 | -I. -I$(srcdir)/src/esapi/esapi -I$(srcdir)/include/esapi -I$(srcdir)/include/esapi \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1061 | -I$(srcdir)/src/esapi/esapi_util -DTEST_SESSION -DTEST_WRITE_LOCK $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1062 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_LDADD = $(TESTS_LDADD) |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1063 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_LDFLAGS = $(TESTS_LDFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1064 | $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 4f8ad60 | 2018-04-12 10:54:45 +0200 | [diff] [blame] | 1065 | test_integration_esys_nv_ram_ordinary_index_wlock_session_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1066 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 8a19179 | 2018-04-10 14:34:58 +0200 | [diff] [blame] | 1067 | test/integration/esys-nv-ram-ordinary-index.int.c \ |
| 1068 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1069 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1070 | test_integration_esys_nv_ram_set_bits_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1071 | test_integration_esys_nv_ram_set_bits_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1072 | test_integration_esys_nv_ram_set_bits_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1073 | test_integration_esys_nv_ram_set_bits_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1074 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1075 | test/integration/esys-nv-ram-set-bits.int.c \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1076 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1077 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 1078 | test_integration_esys_nv_ram_set_bits_session_int_CFLAGS = $(TESTS_CFLAGS) \ |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1079 | -DTEST_SESSION $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1080 | test_integration_esys_nv_ram_set_bits_session_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1081 | test_integration_esys_nv_ram_set_bits_session_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1082 | test_integration_esys_nv_ram_set_bits_session_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1083 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1084 | test/integration/esys-nv-ram-set-bits.int.c \ |
| 1085 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1086 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 1087 | test_integration_esys_object_changeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1088 | test_integration_esys_object_changeauth_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1089 | test_integration_esys_object_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1090 | test_integration_esys_object_changeauth_int_SOURCES = \ |
| 1091 | test/integration/esys-object-changeauth.int.c \ |
| 1092 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1093 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1094 | test_integration_esys_policy_authorize_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 1095 | test_integration_esys_policy_authorize_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1096 | test_integration_esys_policy_authorize_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 1097 | test_integration_esys_policy_authorize_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1098 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 1099 | test/integration/esys-policy-authorize.int.c \ |
Juergen Repp | 731135d | 2018-03-27 14:43:03 +0200 | [diff] [blame] | 1100 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1101 | |
Juergen Repp | 882b9e4 | 2018-11-13 11:34:09 +0100 | [diff] [blame] | 1102 | test_integration_esys_policy_physical_presence_opt_int_CFLAGS = $(TESTS_CFLAGS) |
| 1103 | test_integration_esys_policy_physical_presence_opt_int_LDADD = $(TESTS_LDADD) |
| 1104 | test_integration_esys_policy_physical_presence_opt_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1105 | test_integration_esys_policy_physical_presence_opt_int_SOURCES = \ |
| 1106 | test/integration/esys-policy-physical-presence-opt.int.c \ |
| 1107 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1108 | |
Juergen Repp | d93eb3d | 2018-04-12 11:29:16 +0200 | [diff] [blame] | 1109 | test_integration_esys_policy_regression_int_CFLAGS = $(TESTS_CFLAGS) |
| 1110 | test_integration_esys_policy_regression_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1111 | test_integration_esys_policy_regression_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | d93eb3d | 2018-04-12 11:29:16 +0200 | [diff] [blame] | 1112 | test_integration_esys_policy_regression_int_SOURCES = \ |
| 1113 | test/integration/esys-policy-regression.int.c \ |
| 1114 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1115 | |
Juergen Repp | 882b9e4 | 2018-11-13 11:34:09 +0100 | [diff] [blame] | 1116 | test_integration_esys_policy_authorize_nv_opt_int_CFLAGS = $(TESTS_CFLAGS) |
| 1117 | test_integration_esys_policy_authorize_nv_opt_int_LDADD = $(TESTS_LDADD) |
| 1118 | test_integration_esys_policy_authorize_nv_opt_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1119 | test_integration_esys_policy_authorize_nv_opt_int_SOURCES = \ |
| 1120 | test/integration/esys-policy-authorize-nv-opt.int.c \ |
| 1121 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1122 | |
| 1123 | test_integration_esys_policy_template_opt_int_CFLAGS = $(TESTS_CFLAGS) |
| 1124 | test_integration_esys_policy_template_opt_int_LDADD = $(TESTS_LDADD) |
| 1125 | test_integration_esys_policy_template_opt_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1126 | test_integration_esys_policy_template_opt_int_SOURCES = \ |
| 1127 | test/integration/esys-policy-template-opt.int.c \ |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 1128 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1129 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1130 | test_integration_esys_policy_ticket_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 1131 | test_integration_esys_policy_ticket_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1132 | test_integration_esys_policy_ticket_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 1133 | test_integration_esys_policy_ticket_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1134 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 1135 | test/integration/esys-policy-ticket.int.c \ |
Juergen Repp | 731135d | 2018-03-27 14:43:03 +0200 | [diff] [blame] | 1136 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1137 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 1138 | test_integration_esys_policy_nv_changeauth_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1139 | test_integration_esys_policy_nv_changeauth_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1140 | test_integration_esys_policy_nv_changeauth_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1141 | test_integration_esys_policy_nv_changeauth_int_SOURCES = \ |
| 1142 | test/integration/esys-policy-nv-changeauth.int.c \ |
| 1143 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1144 | |
Juergen Repp | 4cac282 | 2018-04-12 10:58:39 +0200 | [diff] [blame] | 1145 | test_integration_esys_policy_nv_undefine_special_int_CFLAGS = $(TESTS_CFLAGS) |
| 1146 | test_integration_esys_policy_nv_undefine_special_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1147 | test_integration_esys_policy_nv_undefine_special_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 4cac282 | 2018-04-12 10:58:39 +0200 | [diff] [blame] | 1148 | test_integration_esys_policy_nv_undefine_special_int_SOURCES = \ |
| 1149 | test/integration/esys-policy-nv-undefine-special.int.c \ |
| 1150 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1151 | |
Philip Tricca | 8ffd3c4 | 2018-03-09 16:27:24 -0800 | [diff] [blame] | 1152 | test_integration_esys_policy_password_int_CFLAGS = $(TESTS_CFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1153 | test_integration_esys_policy_password_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1154 | test_integration_esys_policy_password_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 110a68a | 2018-03-08 11:51:30 +0100 | [diff] [blame] | 1155 | test_integration_esys_policy_password_int_SOURCES = \ |
| 1156 | test/integration/esys-policy-password.int.c \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1157 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1158 | |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 1159 | test_integration_esys_pcr_basic_int_CFLAGS = $(TESTS_CFLAGS) |
| 1160 | test_integration_esys_pcr_basic_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1161 | test_integration_esys_pcr_basic_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | ed81805 | 2018-04-12 10:56:38 +0200 | [diff] [blame] | 1162 | test_integration_esys_pcr_basic_int_SOURCES = \ |
| 1163 | test/integration/esys-pcr-basic.int.c \ |
| 1164 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1165 | |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 1166 | test_integration_esys_pcr_auth_value_int_CFLAGS = $(TESTS_CFLAGS) |
| 1167 | test_integration_esys_pcr_auth_value_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1168 | test_integration_esys_pcr_auth_value_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 897c75d | 2018-04-12 10:57:26 +0200 | [diff] [blame] | 1169 | test_integration_esys_pcr_auth_value_int_SOURCES = \ |
| 1170 | test/integration/esys-pcr-auth-value.int.c \ |
| 1171 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1172 | |
Juergen Repp | 91ed3de | 2018-04-12 11:01:30 +0200 | [diff] [blame] | 1173 | test_integration_esys_pp_commands_int_CFLAGS = $(TESTS_CFLAGS) |
| 1174 | test_integration_esys_pp_commands_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1175 | test_integration_esys_pp_commands_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 91ed3de | 2018-04-12 11:01:30 +0200 | [diff] [blame] | 1176 | test_integration_esys_pp_commands_int_SOURCES = \ |
| 1177 | test/integration/esys-pp-commands.int.c \ |
| 1178 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1179 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1180 | test_integration_esys_quote_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1181 | test_integration_esys_quote_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1182 | test_integration_esys_quote_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1183 | test_integration_esys_quote_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1184 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1185 | test/integration/esys-quote.int.c \ |
| 1186 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1187 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1188 | test_integration_esys_rsa_encrypt_decrypt_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1189 | test_integration_esys_rsa_encrypt_decrypt_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1190 | test_integration_esys_rsa_encrypt_decrypt_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1191 | test_integration_esys_rsa_encrypt_decrypt_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1192 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1193 | test/integration/esys-rsa-encrypt-decrypt.int.c \ |
| 1194 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1195 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1196 | test_integration_esys_save_and_load_context_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1197 | test_integration_esys_save_and_load_context_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1198 | test_integration_esys_save_and_load_context_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1199 | test_integration_esys_save_and_load_context_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1200 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1201 | test/integration/esys-save-and-load-context.int.c \ |
| 1202 | test/integration/main-esapi.c test/integration/test-esapi.h |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 1203 | |
Andreas Fuchs | fc19305 | 2019-03-13 12:21:17 +0100 | [diff] [blame] | 1204 | test_integration_esys_session_attributes_int_CFLAGS = $(TESTS_CFLAGS) |
| 1205 | test_integration_esys_session_attributes_int_LDADD = $(TESTS_LDADD) |
| 1206 | test_integration_esys_session_attributes_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1207 | test_integration_esys_session_attributes_int_SOURCES = \ |
| 1208 | test/integration/esys-session-attributes.int.c \ |
| 1209 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1210 | |
Juergen Repp | 0a3c1bb | 2018-04-12 11:02:34 +0200 | [diff] [blame] | 1211 | test_integration_esys_set_algorithm_set_int_CFLAGS = $(TESTS_CFLAGS) |
| 1212 | test_integration_esys_set_algorithm_set_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1213 | test_integration_esys_set_algorithm_set_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 0a3c1bb | 2018-04-12 11:02:34 +0200 | [diff] [blame] | 1214 | test_integration_esys_set_algorithm_set_int_SOURCES = \ |
| 1215 | test/integration/esys-set-algorithm-set.int.c \ |
| 1216 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1217 | |
Juergen Repp | a3c6e2d | 2018-04-12 11:03:30 +0200 | [diff] [blame] | 1218 | test_integration_esys_stir_random_int_CFLAGS = $(TESTS_CFLAGS) |
| 1219 | test_integration_esys_stir_random_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1220 | test_integration_esys_stir_random_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | a3c6e2d | 2018-04-12 11:03:30 +0200 | [diff] [blame] | 1221 | test_integration_esys_stir_random_int_SOURCES = \ |
| 1222 | test/integration/esys-stir-random.int.c \ |
| 1223 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1224 | |
Juergen Repp | cd6c1a1 | 2018-04-12 11:04:06 +0200 | [diff] [blame] | 1225 | test_integration_esys_testparms_int_CFLAGS = $(TESTS_CFLAGS) |
| 1226 | test_integration_esys_testparms_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1227 | test_integration_esys_testparms_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | cd6c1a1 | 2018-04-12 11:04:06 +0200 | [diff] [blame] | 1228 | test_integration_esys_testparms_int_SOURCES = \ |
| 1229 | test/integration/esys-testparms.int.c \ |
| 1230 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1231 | |
Juergen Repp | 24f4acb | 2018-04-12 11:04:27 +0200 | [diff] [blame] | 1232 | test_integration_esys_tpm_tests_int_CFLAGS = $(TESTS_CFLAGS) |
| 1233 | test_integration_esys_tpm_tests_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1234 | test_integration_esys_tpm_tests_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 24f4acb | 2018-04-12 11:04:27 +0200 | [diff] [blame] | 1235 | test_integration_esys_tpm_tests_int_SOURCES = \ |
| 1236 | test/integration/esys-tpm-tests.int.c \ |
| 1237 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1238 | |
Andreas Fuchs | 722d85f | 2018-04-12 14:05:40 +0200 | [diff] [blame] | 1239 | test_integration_esys_tr_fromTpmPublic_key_int_CFLAGS = $(TESTS_CFLAGS) |
| 1240 | test_integration_esys_tr_fromTpmPublic_key_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1241 | test_integration_esys_tr_fromTpmPublic_key_int_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | 722d85f | 2018-04-12 14:05:40 +0200 | [diff] [blame] | 1242 | test_integration_esys_tr_fromTpmPublic_key_int_SOURCES = \ |
| 1243 | test/integration/esys-tr-fromTpmPublic-key.int.c \ |
| 1244 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1245 | |
Andreas Fuchs | 95809e2 | 2018-04-12 12:21:06 +0200 | [diff] [blame] | 1246 | test_integration_esys_tr_fromTpmPublic_nv_int_CFLAGS = $(TESTS_CFLAGS) |
| 1247 | test_integration_esys_tr_fromTpmPublic_nv_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1248 | test_integration_esys_tr_fromTpmPublic_nv_int_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | 95809e2 | 2018-04-12 12:21:06 +0200 | [diff] [blame] | 1249 | test_integration_esys_tr_fromTpmPublic_nv_int_SOURCES = \ |
| 1250 | test/integration/esys-tr-fromTpmPublic-nv.int.c \ |
| 1251 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1252 | |
William Roberts | d50f314 | 2019-06-13 00:26:25 -0700 | [diff] [blame] | 1253 | test_integration_esys_tr_fromTpmPublic_session_int_CFLAGS = $(TESTS_CFLAGS) |
| 1254 | test_integration_esys_tr_fromTpmPublic_session_int_LDADD = $(TESTS_LDADD) |
| 1255 | test_integration_esys_tr_fromTpmPublic_session_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1256 | test_integration_esys_tr_fromTpmPublic_session_int_SOURCES = \ |
| 1257 | test/integration/esys-tr-fromTpmPublic-session.int.c \ |
| 1258 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1259 | |
Andreas Fuchs | e4af3a6 | 2018-04-12 14:20:37 +0200 | [diff] [blame] | 1260 | test_integration_esys_tr_getName_hierarchy_int_CFLAGS = $(TESTS_CFLAGS) |
| 1261 | test_integration_esys_tr_getName_hierarchy_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1262 | test_integration_esys_tr_getName_hierarchy_int_LDFLAGS = $(TESTS_LDFLAGS) |
Andreas Fuchs | e4af3a6 | 2018-04-12 14:20:37 +0200 | [diff] [blame] | 1263 | test_integration_esys_tr_getName_hierarchy_int_SOURCES = \ |
| 1264 | test/integration/esys-tr-getName-hierarchy.int.c \ |
| 1265 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1266 | |
William Roberts | 0447559 | 2019-11-18 08:35:02 -0600 | [diff] [blame] | 1267 | test_integration_esys_tr_getTpmHandle_key_int_CFLAGS = $(TESTS_CFLAGS) |
| 1268 | test_integration_esys_tr_getTpmHandle_key_int_LDADD = $(TESTS_LDADD) |
| 1269 | test_integration_esys_tr_getTpmHandle_key_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1270 | test_integration_esys_tr_getTpmHandle_key_int_SOURCES = \ |
| 1271 | test/integration/esys-tr-getTpmHandle-key.int.c \ |
| 1272 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1273 | |
| 1274 | test_integration_esys_tr_getTpmHandle_nv_int_CFLAGS = $(TESTS_CFLAGS) |
| 1275 | test_integration_esys_tr_getTpmHandle_nv_int_LDADD = $(TESTS_LDADD) |
| 1276 | test_integration_esys_tr_getTpmHandle_nv_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1277 | test_integration_esys_tr_getTpmHandle_nv_int_SOURCES = \ |
| 1278 | test/integration/esys-tr-getTpmHandle-nv.int.c \ |
| 1279 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1280 | |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1281 | test_integration_esys_unseal_password_auth_int_CFLAGS = $(TESTS_CFLAGS) $(TSS2_ESYS_CFLAGS_CRYPTO) |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 1282 | test_integration_esys_unseal_password_auth_int_LDADD = $(TESTS_LDADD) |
Jonas Witschel | 71ab012 | 2019-05-19 17:38:27 +0200 | [diff] [blame] | 1283 | test_integration_esys_unseal_password_auth_int_LDFLAGS = $(TESTS_LDFLAGS) $(TSS2_ESYS_LDFLAGS_CRYPTO) $(LIBDL_LDFLAGS) |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 1284 | test_integration_esys_unseal_password_auth_int_SOURCES = \ |
Tadeusz Struk | 20f86d9 | 2019-04-15 10:49:58 -0700 | [diff] [blame] | 1285 | $(ESYS_SRC_UTIL_CRYPTO_SRC) \ |
Christian Plappert | 624423b | 2018-03-27 14:36:40 +0200 | [diff] [blame] | 1286 | test/integration/esys-unseal-password-auth.int.c \ |
| 1287 | test/integration/main-esapi.c test/integration/test-esapi.h |
Juergen Repp | 2e662d7 | 2018-04-12 11:05:05 +0200 | [diff] [blame] | 1288 | |
| 1289 | test_integration_esys_verify_signature_int_CFLAGS = $(TESTS_CFLAGS) |
| 1290 | test_integration_esys_verify_signature_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1291 | test_integration_esys_verify_signature_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 2e662d7 | 2018-04-12 11:05:05 +0200 | [diff] [blame] | 1292 | test_integration_esys_verify_signature_int_SOURCES = \ |
| 1293 | test/integration/esys-verify-signature.int.c \ |
| 1294 | test/integration/main-esapi.c test/integration/test-esapi.h |
Juergen Repp | 0d6e278 | 2018-04-12 11:05:23 +0200 | [diff] [blame] | 1295 | |
| 1296 | test_integration_esys_zgen_2phase_int_CFLAGS = $(TESTS_CFLAGS) |
| 1297 | test_integration_esys_zgen_2phase_int_LDADD = $(TESTS_LDADD) |
Andreas Fuchs | a0794b3 | 2018-08-29 14:41:48 +0200 | [diff] [blame] | 1298 | test_integration_esys_zgen_2phase_int_LDFLAGS = $(TESTS_LDFLAGS) |
Juergen Repp | 0d6e278 | 2018-04-12 11:05:23 +0200 | [diff] [blame] | 1299 | test_integration_esys_zgen_2phase_int_SOURCES = \ |
| 1300 | test/integration/esys-zgen-2phase.int.c \ |
| 1301 | test/integration/main-esapi.c test/integration/test-esapi.h |
Tadeusz Struk | 1d57398 | 2019-02-20 14:57:21 -0800 | [diff] [blame] | 1302 | |
| 1303 | test_integration_esys_auto_session_flags_int_CFLAGS = $(TESTS_CFLAGS) |
| 1304 | test_integration_esys_auto_session_flags_int_LDADD = $(TESTS_LDADD) |
| 1305 | test_integration_esys_auto_session_flags_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1306 | test_integration_esys_auto_session_flags_int_SOURCES = \ |
| 1307 | test/integration/esys-auto-session-flags.int.c \ |
| 1308 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1309 | |
Tadeusz Struk | 23a264b | 2020-03-03 09:36:27 -0800 | [diff] [blame] | 1310 | test_integration_esys_tpm_clear_auth_int_CFLAGS = $(TESTS_CFLAGS) |
| 1311 | test_integration_esys_tpm_clear_auth_int_LDADD = $(TESTS_LDADD) |
| 1312 | test_integration_esys_tpm_clear_auth_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1313 | test_integration_esys_tpm_clear_auth_int_SOURCES = \ |
| 1314 | test/integration/esys-tpm-clear-auth.int.c \ |
| 1315 | test/integration/main-esapi.c test/integration/test-esapi.h |
| 1316 | |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1317 | endif #ESAPI |
| 1318 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 1319 | test_integration_sapi_policy_template_int_CFLAGS = $(TESTS_CFLAGS) |
| 1320 | test_integration_sapi_policy_template_int_LDADD = $(TESTS_LDADD) |
| 1321 | test_integration_sapi_policy_template_int_SOURCES = test/integration/main-sapi.c \ |
| 1322 | test/integration/sapi-policy-template.int.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1323 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 1324 | test_integration_sapi_create_loaded_int_CFLAGS = $(TESTS_CFLAGS) |
| 1325 | test_integration_sapi_create_loaded_int_LDADD = $(TESTS_LDADD) |
| 1326 | test_integration_sapi_create_loaded_int_SOURCES = test/integration/main-sapi.c \ |
| 1327 | test/integration/sapi-create-loaded.int.c |
Andreas Fuchs | 0dc7c29 | 2018-02-28 20:01:13 +0100 | [diff] [blame] | 1328 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 1329 | test_integration_sapi_policy_authorizeNV_int_CFLAGS = $(TESTS_CFLAGS) |
| 1330 | test_integration_sapi_policy_authorizeNV_int_LDADD = $(TESTS_LDADD) |
| 1331 | test_integration_sapi_policy_authorizeNV_int_SOURCES = test/integration/main-sapi.c \ |
| 1332 | test/integration/sapi-policy-authorizeNV.int.c |
Tadeusz Struk | cbde866 | 2018-03-08 15:11:47 -0800 | [diff] [blame] | 1333 | |
Tadeusz Struk | bd9a494 | 2018-04-27 14:56:59 -0700 | [diff] [blame] | 1334 | test_integration_sapi_command_cancel_int_CFLAGS = $(TESTS_CFLAGS) |
| 1335 | test_integration_sapi_command_cancel_int_LDADD = $(TESTS_LDADD) |
| 1336 | test_integration_sapi_command_cancel_int_SOURCES = test/integration/main-sapi.c \ |
Tadeusz Struk | 101b07a | 2019-04-12 18:10:05 -0700 | [diff] [blame] | 1337 | test/integration/sapi-command-cancel.int.c src/util/log.c |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1338 | |
| 1339 | if FAPI |
| 1340 | test_integration_fapi_get_random_int_CFLAGS = $(TESTS_CFLAGS) |
| 1341 | test_integration_fapi_get_random_int_LDADD = $(TESTS_LDADD) |
| 1342 | test_integration_fapi_get_random_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1343 | test_integration_fapi_get_random_int_SOURCES = \ |
| 1344 | test/integration/fapi-get-random.int.c \ |
| 1345 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1346 | |
| 1347 | test_integration_fapi_platform_certificates_int_CFLAGS = $(TESTS_CFLAGS) |
| 1348 | test_integration_fapi_platform_certificates_int_LDADD = $(TESTS_LDADD) |
| 1349 | test_integration_fapi_platform_certificates_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1350 | test_integration_fapi_platform_certificates_int_SOURCES = \ |
| 1351 | test/integration/fapi-platform-certificates.int.c \ |
| 1352 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1353 | |
| 1354 | test_integration_fapi_key_create_sign_int_CFLAGS = $(TESTS_CFLAGS) |
| 1355 | test_integration_fapi_key_create_sign_int_LDADD = $(TESTS_LDADD) |
| 1356 | test_integration_fapi_key_create_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1357 | test_integration_fapi_key_create_sign_int_SOURCES = \ |
| 1358 | test/integration/fapi-key-create-sign.int.c \ |
| 1359 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1360 | |
| 1361 | test_integration_fapi_key_create_sign_password_provision_int_CFLAGS = $(TESTS_CFLAGS) |
| 1362 | test_integration_fapi_key_create_sign_password_provision_int_LDADD = $(TESTS_LDADD) |
| 1363 | test_integration_fapi_key_create_sign_password_provision_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1364 | test_integration_fapi_key_create_sign_password_provision_int_SOURCES = \ |
| 1365 | test/integration/fapi-key-create-sign-password-provision.int.c \ |
| 1366 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1367 | |
| 1368 | test_integration_fapi_key_create_sign_policy_provision_int_CFLAGS = $(TESTS_CFLAGS) \ |
Andreas Fuchs | db52757 | 2020-01-30 17:34:16 +0100 | [diff] [blame] | 1369 | -DFAPI_PROFILE=\"P_RSA_sh_policy\" -DFAPI_TEST_EK_CERT_LESS |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1370 | test_integration_fapi_key_create_sign_policy_provision_int_LDADD = $(TESTS_LDADD) |
| 1371 | test_integration_fapi_key_create_sign_policy_provision_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1372 | test_integration_fapi_key_create_sign_policy_provision_int_SOURCES = \ |
| 1373 | test/integration/fapi-key-create-sign-policy-provision.int.c \ |
| 1374 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1375 | |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 1376 | test_integration_fapi_key_create_sign_rsa_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1377 | -DFAPI_PROFILE=\"P_RSA\" |
| 1378 | test_integration_fapi_key_create_sign_rsa_int_LDADD = $(TESTS_LDADD) |
| 1379 | test_integration_fapi_key_create_sign_rsa_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1380 | test_integration_fapi_key_create_sign_rsa_int_SOURCES = \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1381 | test/integration/fapi-key-create-sign.int.c \ |
| 1382 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1383 | |
| 1384 | test_integration_fapi_key_create_sign_password_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1385 | -DFAPI_PASSWORD |
| 1386 | test_integration_fapi_key_create_sign_password_int_LDADD = $(TESTS_LDADD) |
| 1387 | test_integration_fapi_key_create_sign_password_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1388 | test_integration_fapi_key_create_sign_password_int_SOURCES = \ |
| 1389 | test/integration/fapi-key-create-sign.int.c \ |
| 1390 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1391 | |
| 1392 | test_integration_fapi_key_create_sign_password_da_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1393 | -DFAPI_PASSWORD -DFAPI_DA |
| 1394 | test_integration_fapi_key_create_sign_password_da_int_LDADD = $(TESTS_LDADD) |
| 1395 | test_integration_fapi_key_create_sign_password_da_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1396 | test_integration_fapi_key_create_sign_password_da_int_SOURCES = \ |
| 1397 | test/integration/fapi-key-create-sign.int.c \ |
| 1398 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1399 | |
| 1400 | test_integration_fapi_key_create_sign_persistent_int_CFLAGS = $(TESTS_CFLAGS) \ |
Juergen Repp | 81c66f3 | 2020-01-14 22:57:24 +0100 | [diff] [blame] | 1401 | -DFAPI_PROFILE=\"P_RSA_EK_persistent\" -DFAPI_TEST_EK_CERT_LESS |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1402 | test_integration_fapi_key_create_sign_persistent_int_LDADD = $(TESTS_LDADD) |
| 1403 | test_integration_fapi_key_create_sign_persistent_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1404 | test_integration_fapi_key_create_sign_persistent_int_SOURCES = \ |
| 1405 | test/integration/fapi-key-create-sign.int.c \ |
| 1406 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1407 | |
Juergen Repp | 81c66f3 | 2020-01-14 22:57:24 +0100 | [diff] [blame] | 1408 | test_integration_fapi_key_create_policy_authorize_sign_int_CFLAGS = $(TESTS_CFLAGS) -DFAPI_PROFILE=\"P_RSA\" |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1409 | test_integration_fapi_key_create_policy_authorize_sign_int_LDADD = $(TESTS_LDADD) |
| 1410 | test_integration_fapi_key_create_policy_authorize_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1411 | test_integration_fapi_key_create_policy_authorize_sign_int_SOURCES = \ |
| 1412 | test/integration/fapi-key-create-policy-authorize-sign.int.c \ |
| 1413 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1414 | |
Juergen Repp | d63711c | 2020-01-07 17:45:31 +0100 | [diff] [blame] | 1415 | test_integration_fapi_key_create_policy_authorize_sign_rsa_int_CFLAGS = $(TESTS_CFLAGS) \ |
Juergen Repp | 81c66f3 | 2020-01-14 22:57:24 +0100 | [diff] [blame] | 1416 | -DFAPI_PROFILE=\"P_RSA256\" -DFAPI_TEST_EK_CERT_LESS |
Juergen Repp | d63711c | 2020-01-07 17:45:31 +0100 | [diff] [blame] | 1417 | test_integration_fapi_key_create_policy_authorize_sign_rsa_int_LDADD = $(TESTS_LDADD) |
| 1418 | test_integration_fapi_key_create_policy_authorize_sign_rsa_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1419 | test_integration_fapi_key_create_policy_authorize_sign_rsa_int_SOURCES = \ |
| 1420 | test/integration/fapi-key-create-policy-authorize-sign.int.c \ |
| 1421 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1422 | |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1423 | test_integration_fapi_key_create_policy_authorize_nv_sign_int_CFLAGS = $(TESTS_CFLAGS) |
| 1424 | test_integration_fapi_key_create_policy_authorize_nv_sign_int_LDADD = $(TESTS_LDADD) |
| 1425 | test_integration_fapi_key_create_policy_authorize_nv_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1426 | test_integration_fapi_key_create_policy_authorize_nv_sign_int_SOURCES = \ |
| 1427 | test/integration/fapi-key-create-policy-authorize-nv-sign.int.c \ |
| 1428 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1429 | |
| 1430 | test_integration_fapi_key_create_policy_secret_nv_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
Juergen Repp | 81c66f3 | 2020-01-14 22:57:24 +0100 | [diff] [blame] | 1431 | -DFAPI_PROFILE=\"P_RSA256\" -DFAPI_TEST_EK_CERT_LESS |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1432 | test_integration_fapi_key_create_policy_secret_nv_sign_int_LDADD = $(TESTS_LDADD) |
| 1433 | test_integration_fapi_key_create_policy_secret_nv_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1434 | test_integration_fapi_key_create_policy_secret_nv_sign_int_SOURCES = \ |
| 1435 | test/integration/fapi-key-create-policy-secret-nv-sign.int.c \ |
| 1436 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1437 | |
| 1438 | test_integration_fapi_key_create_policy_pcr_sign_int_CFLAGS = $(TESTS_CFLAGS) |
| 1439 | test_integration_fapi_key_create_policy_pcr_sign_int_LDADD = $(TESTS_LDADD) |
| 1440 | test_integration_fapi_key_create_policy_pcr_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1441 | test_integration_fapi_key_create_policy_pcr_sign_int_SOURCES = \ |
| 1442 | test/integration/fapi-key-create-policy-pcr-sign.int.c \ |
| 1443 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1444 | |
| 1445 | test_integration_fapi_key_create_policy_signed_int_CFLAGS = $(TESTS_CFLAGS) |
| 1446 | test_integration_fapi_key_create_policy_signed_int_LDADD = $(TESTS_LDADD) |
| 1447 | test_integration_fapi_key_create_policy_signed_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1448 | test_integration_fapi_key_create_policy_signed_int_SOURCES = \ |
| 1449 | test/integration/fapi-key-create-policy-signed.int.c \ |
| 1450 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1451 | |
Juergen Repp | e41a692 | 2020-01-07 16:58:14 +0100 | [diff] [blame] | 1452 | test_integration_fapi_key_create_policy_signed_ecc_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1453 | -DTEST_ECC |
| 1454 | test_integration_fapi_key_create_policy_signed_ecc_int_LDADD = $(TESTS_LDADD) |
| 1455 | test_integration_fapi_key_create_policy_signed_ecc_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1456 | test_integration_fapi_key_create_policy_signed_ecc_int_SOURCES = \ |
| 1457 | test/integration/fapi-key-create-policy-signed.int.c \ |
| 1458 | test/integration/main-fapi.c test/integration/test-fapi.h |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1459 | |
| 1460 | test_integration_fapi_key_create_policy_nv_sign_int_CFLAGS = $(TESTS_CFLAGS) |
| 1461 | test_integration_fapi_key_create_policy_nv_sign_int_LDADD = $(TESTS_LDADD) |
| 1462 | test_integration_fapi_key_create_policy_nv_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1463 | test_integration_fapi_key_create_policy_nv_sign_int_SOURCES = \ |
| 1464 | test/integration/fapi-key-create-policy-nv-sign.int.c \ |
| 1465 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1466 | |
| 1467 | test_integration_fapi_key_create_policy_or_sign_int_CFLAGS = $(TESTS_CFLAGS) |
| 1468 | test_integration_fapi_key_create_policy_or_sign_int_LDADD = $(TESTS_LDADD) |
| 1469 | test_integration_fapi_key_create_policy_or_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1470 | test_integration_fapi_key_create_policy_or_sign_int_SOURCES = \ |
| 1471 | test/integration/fapi-key-create-policy-or-sign.int.c \ |
| 1472 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1473 | |
| 1474 | test_integration_fapi_key_create_policy_password_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1475 | -DTEST_POLICY_PASSWORD -DTEST_PASSWORD |
| 1476 | test_integration_fapi_key_create_policy_password_sign_int_LDADD = $(TESTS_LDADD) |
| 1477 | test_integration_fapi_key_create_policy_password_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1478 | test_integration_fapi_key_create_policy_password_sign_int_SOURCES = \ |
| 1479 | test/integration/fapi-key-create-policies-sign.int.c \ |
| 1480 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1481 | |
| 1482 | test_integration_fapi_key_create_policy_countertimer_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1483 | -DTEST_POLICY_COUNTERTIMER |
| 1484 | test_integration_fapi_key_create_policy_countertimer_sign_int_LDADD = $(TESTS_LDADD) |
| 1485 | test_integration_fapi_key_create_policy_countertimer_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1486 | test_integration_fapi_key_create_policy_countertimer_sign_int_SOURCES = \ |
| 1487 | test/integration/fapi-key-create-policies-sign.int.c \ |
| 1488 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1489 | |
| 1490 | test_integration_fapi_key_create_policy_physical_presence_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1491 | -DTEST_POLICY_PHYSICAL_PRESENCE |
| 1492 | test_integration_fapi_key_create_policy_physical_presence_sign_int_LDADD = $(TESTS_LDADD) |
| 1493 | test_integration_fapi_key_create_policy_physical_presence_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1494 | test_integration_fapi_key_create_policy_physical_presence_sign_int_SOURCES = \ |
| 1495 | test/integration/fapi-key-create-policies-sign.int.c \ |
| 1496 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1497 | |
| 1498 | test_integration_fapi_key_create_policy_locality_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1499 | -DTEST_POLICY_LOCALITY |
| 1500 | test_integration_fapi_key_create_policy_locality_sign_int_LDADD = $(TESTS_LDADD) |
| 1501 | test_integration_fapi_key_create_policy_locality_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1502 | test_integration_fapi_key_create_policy_locality_sign_int_SOURCES = \ |
| 1503 | test/integration/fapi-key-create-policies-sign.int.c \ |
| 1504 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1505 | |
| 1506 | test_integration_fapi_key_create_policy_command_code_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1507 | -DTEST_POLICY_COMMAND_CODE |
| 1508 | test_integration_fapi_key_create_policy_command_code_sign_int_LDADD = $(TESTS_LDADD) |
| 1509 | test_integration_fapi_key_create_policy_command_code_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1510 | test_integration_fapi_key_create_policy_command_code_sign_int_SOURCES = \ |
| 1511 | test/integration/fapi-key-create-policies-sign.int.c \ |
| 1512 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1513 | |
| 1514 | test_integration_fapi_key_create_policy_auth_value_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1515 | -DTEST_POLICY_AUTH_VALUE -DTEST_PASSWORD |
| 1516 | test_integration_fapi_key_create_policy_auth_value_sign_int_LDADD = $(TESTS_LDADD) |
| 1517 | test_integration_fapi_key_create_policy_auth_value_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1518 | test_integration_fapi_key_create_policy_auth_value_sign_int_SOURCES = \ |
| 1519 | test/integration/fapi-key-create-policies-sign.int.c \ |
| 1520 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1521 | |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 1522 | test_integration_fapi_key_create_ckda_sign_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1523 | -DFAPI_PROFILE=\"P_RSA\" |
| 1524 | test_integration_fapi_key_create_ckda_sign_int_LDADD = $(TESTS_LDADD) |
| 1525 | test_integration_fapi_key_create_ckda_sign_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1526 | test_integration_fapi_key_create_ckda_sign_int_SOURCES = \ |
| 1527 | test/integration/fapi-key-create-ckda-sign.int.c \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1528 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1529 | |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 1530 | test_integration_fapi_key_create_ckda_sign_password_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1531 | -DFAPI_PASSWORD -DFAPI_PROFILE=\"P_RSA\" |
| 1532 | test_integration_fapi_key_create_ckda_sign_password_int_LDADD = $(TESTS_LDADD) |
| 1533 | test_integration_fapi_key_create_ckda_sign_password_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1534 | test_integration_fapi_key_create_ckda_sign_password_int_SOURCES = \ |
| 1535 | test/integration/fapi-key-create-ckda-sign.int.c \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1536 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1537 | |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 1538 | test_integration_fapi_key_create_ckda_sign_password_da_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1539 | -DFAPI_PASSWORD -DFAPI_DA -DFAPI_PROFILE=\"P_RSA\" |
| 1540 | test_integration_fapi_key_create_ckda_sign_password_da_int_LDADD = $(TESTS_LDADD) |
| 1541 | test_integration_fapi_key_create_ckda_sign_password_da_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1542 | test_integration_fapi_key_create_ckda_sign_password_da_int_SOURCES = \ |
| 1543 | test/integration/fapi-key-create-ckda-sign.int.c \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1544 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1545 | |
| 1546 | test_integration_fapi_key_change_auth_int_CFLAGS = $(TESTS_CFLAGS) |
| 1547 | test_integration_fapi_key_change_auth_int_LDADD = $(TESTS_LDADD) |
| 1548 | test_integration_fapi_key_change_auth_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1549 | test_integration_fapi_key_change_auth_int_SOURCES = \ |
| 1550 | test/integration/fapi-key-change-auth.int.c \ |
| 1551 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1552 | |
| 1553 | test_integration_fapi_nv_ordinary_int_CFLAGS = $(TESTS_CFLAGS) |
| 1554 | test_integration_fapi_nv_ordinary_int_LDADD = $(TESTS_LDADD) |
| 1555 | test_integration_fapi_nv_ordinary_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1556 | test_integration_fapi_nv_ordinary_int_SOURCES = \ |
| 1557 | test/integration/fapi-nv-ordinary.int.c \ |
| 1558 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1559 | |
| 1560 | test_integration_fapi_nv_authorizenv_cphash_int_CFLAGS = $(TESTS_CFLAGS) |
| 1561 | test_integration_fapi_nv_authorizenv_cphash_int_LDADD = $(TESTS_LDADD) |
| 1562 | test_integration_fapi_nv_authorizenv_cphash_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1563 | test_integration_fapi_nv_authorizenv_cphash_int_SOURCES = \ |
| 1564 | test/integration/fapi-nv-authorizenv-cphash.int.c \ |
| 1565 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1566 | |
| 1567 | test_integration_fapi_nv_extend_int_CFLAGS = $(TESTS_CFLAGS) |
| 1568 | test_integration_fapi_nv_extend_int_LDADD = $(TESTS_LDADD) |
| 1569 | test_integration_fapi_nv_extend_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1570 | test_integration_fapi_nv_extend_int_SOURCES = \ |
| 1571 | test/integration/fapi-nv-extend.int.c \ |
| 1572 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1573 | |
| 1574 | test_integration_fapi_nv_increment_int_CFLAGS = $(TESTS_CFLAGS) |
| 1575 | test_integration_fapi_nv_increment_int_LDADD = $(TESTS_LDADD) |
| 1576 | test_integration_fapi_nv_increment_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1577 | test_integration_fapi_nv_increment_int_SOURCES = \ |
| 1578 | test/integration/fapi-nv-increment.int.c \ |
| 1579 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1580 | |
| 1581 | test_integration_fapi_nv_set_bits_int_CFLAGS = $(TESTS_CFLAGS) |
| 1582 | test_integration_fapi_nv_set_bits_int_LDADD = $(TESTS_LDADD) |
| 1583 | test_integration_fapi_nv_set_bits_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1584 | test_integration_fapi_nv_set_bits_int_SOURCES = \ |
| 1585 | test/integration/fapi-nv-set-bits.int.c \ |
| 1586 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1587 | |
| 1588 | test_integration_fapi_nv_written_policy_int_CFLAGS = $(TESTS_CFLAGS) |
| 1589 | test_integration_fapi_nv_written_policy_int_LDADD = $(TESTS_LDADD) |
| 1590 | test_integration_fapi_nv_written_policy_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1591 | test_integration_fapi_nv_written_policy_int_SOURCES = \ |
| 1592 | test/integration/fapi-nv-written-policy.int.c \ |
| 1593 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1594 | |
| 1595 | test_integration_fapi_ext_public_key_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1596 | -DFAPI_NONTPM |
| 1597 | test_integration_fapi_ext_public_key_int_LDADD = $(TESTS_LDADD) |
| 1598 | test_integration_fapi_ext_public_key_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1599 | test_integration_fapi_ext_public_key_int_SOURCES = \ |
| 1600 | test/integration/fapi-ext-public-key.int.c \ |
| 1601 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1602 | |
Juergen Repp | 935509d | 2020-01-02 15:33:03 +0100 | [diff] [blame] | 1603 | test_integration_fapi_data_crypt_int_CFLAGS = $(TESTS_CFLAGS) |
| 1604 | test_integration_fapi_data_crypt_int_LDADD = $(TESTS_LDADD) |
| 1605 | test_integration_fapi_data_crypt_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1606 | test_integration_fapi_data_crypt_int_SOURCES = \ |
| 1607 | test/integration/fapi-data-crypt.int.c \ |
| 1608 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1609 | |
Juergen Repp | 7442104 | 2020-01-02 16:40:15 +0100 | [diff] [blame] | 1610 | test_integration_fapi_data_crypt_rsa_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1611 | -DFAPI_PROFILE=\"P_RSA\" |
| 1612 | test_integration_fapi_data_crypt_rsa_int_LDADD = $(TESTS_LDADD) |
| 1613 | test_integration_fapi_data_crypt_rsa_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1614 | test_integration_fapi_data_crypt_rsa_int_SOURCES = \ |
Juergen Repp | 935509d | 2020-01-02 15:33:03 +0100 | [diff] [blame] | 1615 | test/integration/fapi-data-crypt.int.c \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1616 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1617 | |
Juergen Repp | 401e2f2 | 2020-01-29 13:11:17 +0100 | [diff] [blame] | 1618 | test_integration_fapi_duplicate_int_CFLAGS = $(TESTS_CFLAGS) |
| 1619 | test_integration_fapi_duplicate_int_LDADD = $(TESTS_LDADD) |
| 1620 | test_integration_fapi_duplicate_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1621 | test_integration_fapi_duplicate_int_SOURCES = \ |
| 1622 | test/integration/fapi-duplicate.int.c \ |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1623 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1624 | |
| 1625 | |
| 1626 | test_integration_fapi_pcr_test_int_CFLAGS = $(TESTS_CFLAGS) |
| 1627 | test_integration_fapi_pcr_test_int_LDADD = $(TESTS_LDADD) |
| 1628 | test_integration_fapi_pcr_test_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1629 | test_integration_fapi_pcr_test_int_SOURCES = \ |
| 1630 | test/integration/fapi-pcr-test.int.c \ |
| 1631 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1632 | |
| 1633 | test_integration_fapi_quote_int_CFLAGS = $(TESTS_CFLAGS) |
| 1634 | test_integration_fapi_quote_int_LDADD = $(TESTS_LDADD) |
| 1635 | test_integration_fapi_quote_int_LDFLAGS = $(TESTS_LDFLAGS) -ljson-c |
| 1636 | test_integration_fapi_quote_int_SOURCES = \ |
| 1637 | test/integration/fapi-quote.int.c \ |
| 1638 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1639 | |
Juergen Repp | 28faf04 | 2020-01-06 14:43:20 +0100 | [diff] [blame] | 1640 | test_integration_fapi_quote_rsa_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1641 | -DFAPI_PROFILE=\"P_RSA\" |
| 1642 | test_integration_fapi_quote_rsa_int_LDADD = $(TESTS_LDADD) |
| 1643 | test_integration_fapi_quote_rsa_int_LDFLAGS = $(TESTS_LDFLAGS) -ljson-c |
| 1644 | test_integration_fapi_quote_rsa_int_SOURCES = \ |
| 1645 | test/integration/fapi-quote.int.c \ |
| 1646 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1647 | |
| 1648 | |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1649 | test_integration_fapi_info_int_CFLAGS = $(TESTS_CFLAGS) |
| 1650 | test_integration_fapi_info_int_LDADD = $(TESTS_LDADD) |
| 1651 | test_integration_fapi_info_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1652 | test_integration_fapi_info_int_SOURCES = \ |
| 1653 | test/integration/fapi-info.int.c \ |
| 1654 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1655 | |
| 1656 | test_integration_fapi_unseal_int_CFLAGS = $(TESTS_CFLAGS) |
| 1657 | test_integration_fapi_unseal_int_LDADD = $(TESTS_LDADD) |
| 1658 | test_integration_fapi_unseal_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1659 | test_integration_fapi_unseal_int_SOURCES = \ |
| 1660 | test/integration/fapi-unseal.int.c \ |
| 1661 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1662 | |
Juergen Repp | 81c66f3 | 2020-01-14 22:57:24 +0100 | [diff] [blame] | 1663 | test_integration_fapi_provision_fingerprint_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1664 | -DFAPI_TEST_FINGERPRINT -DFAPI_PROFILE=\"P_RSA\" |
| 1665 | test_integration_fapi_provision_fingerprint_int_LDADD = $(TESTS_LDADD) |
| 1666 | test_integration_fapi_provision_fingerprint_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1667 | test_integration_fapi_provision_fingerprint_int_SOURCES = \ |
| 1668 | test/integration/fapi-get-random.int.c \ |
| 1669 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1670 | |
| 1671 | test_integration_fapi_provision_certificate_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1672 | -DFAPI_TEST_CERTIFICATE -DFAPI_PROFILE=\"P_RSA\" |
| 1673 | test_integration_fapi_provision_certificate_int_LDADD = $(TESTS_LDADD) |
| 1674 | test_integration_fapi_provision_certificate_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1675 | test_integration_fapi_provision_certificate_int_SOURCES = \ |
| 1676 | test/integration/fapi-get-random.int.c \ |
| 1677 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1678 | |
| 1679 | test_integration_fapi_provision_fingerprint_ecc_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1680 | -DFAPI_TEST_FINGERPRINT_ECC -DFAPI_PROFILE=\"P_ECC\" |
| 1681 | test_integration_fapi_provision_fingerprint_ecc_int_LDADD = $(TESTS_LDADD) |
| 1682 | test_integration_fapi_provision_fingerprint_ecc_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1683 | test_integration_fapi_provision_fingerprint_ecc_int_SOURCES = \ |
| 1684 | test/integration/fapi-get-random.int.c \ |
| 1685 | test/integration/main-fapi.c test/integration/test-fapi.h |
| 1686 | |
| 1687 | test_integration_fapi_provision_certificate_ecc_int_CFLAGS = $(TESTS_CFLAGS) \ |
| 1688 | -DFAPI_TEST_CERTIFICATE_ECC -DFAPI_PROFILE=\"P_ECC\" |
| 1689 | test_integration_fapi_provision_certificate_ecc_int_LDADD = $(TESTS_LDADD) |
| 1690 | test_integration_fapi_provision_certificate_ecc_int_LDFLAGS = $(TESTS_LDFLAGS) |
| 1691 | test_integration_fapi_provision_certificate_ecc_int_SOURCES = \ |
| 1692 | test/integration/fapi-get-random.int.c \ |
| 1693 | test/integration/main-fapi.c test/integration/test-fapi.h |
Juergen Repp | 6da95b0 | 2019-10-10 11:46:03 +0200 | [diff] [blame] | 1694 | |
| 1695 | endif #FAPI |
| 1696 | |
Philip Tricca | 9907543 | 2018-04-25 19:02:05 -0700 | [diff] [blame] | 1697 | endif #ENABLE_INTEGRATION |
Juergen Repp | ac59836 | 2018-07-17 13:36:38 +0200 | [diff] [blame] | 1698 | |
| 1699 | check-ptpm: |
| 1700 | $(MAKE) -j1 check |