Documentation
¶
Index ¶
Constants ¶
View Source
const ( // IDUndefined is a ID reserved for the zero-value only. IDUndefined = ID(iota) // IDIntelTXT is an ID corresponds to "Intel" TXT (pre-CBnT) platforms. IDIntelTXT // IDIntelCBnT is an ID corresponds to "Intel" CBnT platforms. IDIntelCBnT // IDAMDMilan is an ID corresponds to "AMD Milan". IDAMDMilan // EndOfID is a limiter for loops to iterate over ID-s. EndOfID )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID int
ID is an unique ID of a platform security configuration. Platform may combine for example Intel CPU + OpenTitan as RTM.
It differs from github.com/klauspost/cpuid.Vendor, because cpuid.Vendor defines CPU vendor, while a platform may combine for example Intel and Lattice (and this combination will have an additional ID).
func (ID) CPUVendorID ¶
func (id ID) CPUVendorID() cpuid.Vendor
CPUVendorID return the vendor ID of the CPU used on the platform.
Click to show internal directories.
Click to hide internal directories.