Message ID | 20201129222004.4428-3-James.Bottomley@HansenPartnership.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | TPM 2.0 trusted key rework | expand |
James Bottomley <James.Bottomley@HansenPartnership.com> wrote: > The TCG has defined an OID prefix "2.23.133.10.1" for the various TPM > key uses. Is this registered? I've checked a couple of OID registry sites (eg. www.oid-info.com) and it seems to be unknown. David
On Fri, 2020-12-04 at 13:44 +0000, David Howells wrote: > James Bottomley <James.Bottomley@HansenPartnership.com> wrote: > > > The TCG has defined an OID prefix "2.23.133.10.1" for the various > > TPM key uses. > > Is this registered? I've checked a couple of OID registry sites > (eg. www.oid-info.com) and it seems to be unknown. Yes, TCG owns 2.23.133, although I still don't think Monty has published it yet: https://lore.kernel.org/linux-integrity/26ED11907FC0F446BB0296B5357EEF0E316CDBB0@CINMBCNA02.e2k.ad.ge.com/ James
diff --git a/include/linux/oid_registry.h b/include/linux/oid_registry.h index 4462ed2c18cd..d06988d1565e 100644 --- a/include/linux/oid_registry.h +++ b/include/linux/oid_registry.h @@ -113,6 +113,11 @@ enum OID { OID_SM2_with_SM3, /* 1.2.156.10197.1.501 */ OID_sm3WithRSAEncryption, /* 1.2.156.10197.1.504 */ + /* TCG defined OIDS for TPM based keys */ + OID_TPMLoadableKey, /* 2.23.133.10.1.3 */ + OID_TPMImportableKey, /* 2.23.133.10.1.4 */ + OID_TPMSealedData, /* 2.23.133.10.1.5 */ + OID__NR };