mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
cli/attestation: use const for PCR/TDX lengths
This commit is contained in:
parent
d58b5f1c06
commit
fe3622d982
@ -49,6 +49,11 @@ const (
|
||||
TDXIndexClusterID = RTMRIndexClusterID + 1
|
||||
// RTMRIndexClusterID is the RTMR we extend to mark the node as initialized.
|
||||
RTMRIndexClusterID = 2
|
||||
|
||||
// PCRMeasurementLength holds the length for valid PCR measurements (SHA256).
|
||||
PCRMeasurementLength = 32
|
||||
// TDXMeasurementLength holds the length for valid TDX measurements (SHA384).
|
||||
TDXMeasurementLength = 48
|
||||
)
|
||||
|
||||
// M are Platform Configuration Register (PCR) values that make up the Measurements.
|
||||
|
Loading…
Reference in New Issue
Block a user