mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-11 08:20:16 -04:00
cli/attestation: use const for PCR/TDX lengths
This commit is contained in:
parent
d58b5f1c06
commit
fe3622d982
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ const (
|
||||||
TDXIndexClusterID = RTMRIndexClusterID + 1
|
TDXIndexClusterID = RTMRIndexClusterID + 1
|
||||||
// RTMRIndexClusterID is the RTMR we extend to mark the node as initialized.
|
// RTMRIndexClusterID is the RTMR we extend to mark the node as initialized.
|
||||||
RTMRIndexClusterID = 2
|
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.
|
// M are Platform Configuration Register (PCR) values that make up the Measurements.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue