/usr/include/tss/tcs_structs.h is in libtspi-dev 0.3.13-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | /*++
TSS Core Service structures
*/
#ifndef __TCS_STRUCT_H__
#define __TCS_STRUCT_H__
#include <tss/tpm.h>
#include <tss/tss_structs.h>
#include <tss/tcs_typedef.h>
typedef struct tdTCS_AUTH
{
TCS_AUTHHANDLE AuthHandle;
TPM_NONCE NonceOdd; // system
TPM_NONCE NonceEven; // TPM
TSS_BOOL fContinueAuthSession;
TPM_AUTHDATA HMAC;
} TCS_AUTH;
// This is kept for legacy compatibility
typedef TCS_AUTH TPM_AUTH;
typedef struct tdTCS_LOADKEY_INFO
{
TSS_UUID keyUUID;
TSS_UUID parentKeyUUID;
TPM_DIGEST paramDigest; // SHA1 digest of the TPM_LoadKey
// Command input parameters
// As defined in TPM Main Specification
TPM_AUTH authData; // Data regarding a valid auth
// Session including the
// HMAC digest
} TCS_LOADKEY_INFO;
#endif // __TCS_STRUCT_H__
|