Skip to content

Commit

Permalink
headers: Add defines for GetInfo flags
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Berger <[email protected]>
  • Loading branch information
stefanberger committed May 28, 2021
1 parent b11da81 commit 38c5cce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/swtpm/tpm_ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ struct ptm_getinfo {
} u;
};

#define SWTPM_INFO_TPMSPECIFICATION ((uint64_t)1 << 0)
#define SWTPM_INFO_TPMATTRIBUTES ((uint64_t)1 << 1)

typedef uint64_t ptm_cap;
typedef struct ptm_est ptm_est;
typedef struct ptm_reset_est ptm_reset_est;
Expand Down

0 comments on commit 38c5cce

Please sign in to comment.