mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-19 10:04:42 +00:00
Support the read/write interface and POSIX API calls for transfer of TPM state blobs. Extend the swtpm_ioctl program to support this as well. Use the environment variable SWTPM_IOCTL_BUFFERSIZE to set the size of the buffer to use and enable the read/write interface in this (test) program. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
52 lines
1012 B
Makefile
52 lines
1012 B
Makefile
#
|
|
# tests/Makefile.am
|
|
#
|
|
# For the license, see the LICENSE file in the root directory.
|
|
#
|
|
|
|
check_PROGRAMS =
|
|
|
|
TESTS = \
|
|
test_init \
|
|
test_getcap \
|
|
test_locality \
|
|
test_hashing \
|
|
test_hashing2 \
|
|
test_volatilestate \
|
|
test_wrongorder \
|
|
test_encrypted_state \
|
|
test_save_load_encrypted_state \
|
|
test_save_load_encrypted_state_2 \
|
|
test_save_load_state \
|
|
test_save_load_state_2 \
|
|
test_migration_key \
|
|
test_migration_key_2 \
|
|
\
|
|
test_commandline \
|
|
test_parameters \
|
|
test_resume_volatile
|
|
|
|
if WITH_GNUTLS
|
|
TESTS += \
|
|
test_swtpm_cert \
|
|
test_swtpm_setup_create_cert
|
|
endif
|
|
|
|
EXTRA_DIST=$(TESTS) \
|
|
swtpm_setup.conf \
|
|
create_certs.sh \
|
|
data/issuercert.pem \
|
|
data/pubek.pem \
|
|
data/signkey.pem \
|
|
data/keyfile.txt \
|
|
data/pwdfile.txt \
|
|
data/migkey1/volatilestate.bin \
|
|
data/tpmstate1/tpm-00.permall \
|
|
data/tpmstate1/tpm-00.volatilestate \
|
|
data/tpmstate1/README \
|
|
data/tpmstate2/tpm-00.permall \
|
|
data/tpmstate2/tpm-00.volatilestate \
|
|
data/tpmstate2/pwdfile.txt \
|
|
data/tpmstate2/README \
|
|
test_swtpm_cert
|