diff --git a/internal/attestation/snp/snp.go b/internal/attestation/snp/snp.go index f2d62c0ba04..e7b285ba616 100644 --- a/internal/attestation/snp/snp.go +++ b/internal/attestation/snp/snp.go @@ -22,13 +22,11 @@ import ( "github.com/google/go-sev-guest/verify/trust" ) -// sevProduct is the product info of the SEV platform as reported through CPUID[EAX=1]. -// It may become necessary in the future to differentiate among CSP vendors. -var sevProduct = &spb.SevProduct{Name: spb.SevProduct_SEV_PRODUCT_MILAN, Stepping: 0} // Milan-B0 - // Product returns the SEV product info currently supported by Constellation's SNP attestation. func Product() *spb.SevProduct { - return sevProduct + // sevProduct is the product info of the SEV platform as reported through CPUID[EAX=1]. + // It may become necessary in the future to differentiate among CSP vendors. + return &spb.SevProduct{Name: spb.SevProduct_SEV_PRODUCT_MILAN, Stepping: 0} // Milan-B0 } // InstanceInfo contains the necessary information to establish trust in a SNP CVM.