[tpmdd-devel] [PATCH] tpm: consolidate the TPM startup code
From: Ken Goldman <hidden>
Date: 2017-06-20 20:58:18
Also in:
lkml
From: Ken Goldman <hidden>
Date: 2017-06-20 20:58:18
Also in:
lkml
On 6/20/2017 3:31 PM, Jason Gunthorpe wrote:
quoted
+#define TPM_ORD_STARTUP 153 +#define TPM_ST_CLEAR 1We should really have a tpm1.h and tpm2.h that has all these various constants and things instead of open coding them randomly all over..
While you're doing that, perhaps put the ordinal numbers in hex. The TPM 1.2 spec uses both hex and decimal, but TPM 2.0 uses hex. -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html