1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /*********************************************************************** 3 * Copyright (c) 2017-2018, Intel Corporation 4 * 5 * All rights reserved. 6 ***********************************************************************/ 7 #include "tss2_sys.h" 8 9 #define YES 1 10 #define NO 0 11 12 /* 13 * This is the prototype for all integration tests in the tpm2-tss 14 * project. Integration tests are intended to exercise the combined 15 * components in the software stack. This typically means executing some 16 * SAPI function using the socket TCTI to communicate with a software 17 * TPM2 simulator. 18 * Return values: 19 * A successful test will return 0, any other value indicates failure. 20 */ 21 int test_invoke(TSS2_SYS_CONTEXT * sapi_context); 22