test: move session bits from tpmclient to test/integration
Move session HMAC related bits from tpmclient to test/integration.
This will allow it to be reused by all integration test.
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
diff --git a/Makefile-test.am b/Makefile-test.am
index 887455d..66ddc2d 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -262,8 +262,6 @@
test_tpmclient_tpmclient_int_LDADD = $(TESTS_LDADD)
test_tpmclient_tpmclient_int_SOURCES = \
test/tpmclient/DecryptEncrypt.c \
- test/tpmclient/Entity.c test/tpmclient/kdfa.c \
- test/tpmclient/StartAuthSession.c test/tpmclient/SessionHmac.c \
test/tpmclient/tpmclient.int.c test/tpmclient/tpmclient.int.h \
test/integration/main.c
@@ -273,7 +271,7 @@
test/integration/sapi-util.c test/integration/sapi-util.h \
test/integration/session-util.c test/integration/session-util.h \
test/integration/test-options.c test/integration/test-options.h \
- test/integration/test.h
+ test/integration/entity-util.c test/integration/test.h
test_integration_asymmetric_encrypt_decrypt_int_CFLAGS = $(AM_CFLAGS) $(TESTS_CFLAGS)
test_integration_asymmetric_encrypt_decrypt_int_LDADD = $(TESTS_LDADD)