I am providing a sample code that I have written,
query := types.QueryTpmAttestationReport{This: host.Reference()}
attestationReport, err := methods.QueryTpmAttestationReport(ctx, vmwareClient.RoundTripper, &query)
tpmPCRValues := tpmAttestationReport.Returnval.TpmPcrValues[0]
fmt.Printf("VMware host attestation report : %v\n", tpmPCRValues)
Although I see that it is a SHA 256 digest, I am getting just 3 bytes as part of the digest value
Sample Output,
{{{} SHA256 [45 57 48] } 0}
I am expecting a 32 byte digest value in case the digest type is SHA 256. Am I missing something ?
I am providing a sample code that I have written,
Although I see that it is a SHA 256 digest, I am getting just 3 bytes as part of the digest value
Sample Output,
{{{} SHA256 [45 57 48] } 0}I am expecting a 32 byte digest value in case the digest type is SHA 256. Am I missing something ?