mirror of
https://github.com/google/go-attestation.git
synced 2024-12-19 04:57:59 +00:00
Fix misleading comment
This commit is contained in:
parent
e8c5dc4fd5
commit
7d128657ca
@ -255,7 +255,7 @@ func readAllPCRs20(tpm io.ReadWriter, alg tpm2.Algorithm) (map[uint32][]byte, er
|
|||||||
out := map[uint32][]byte{}
|
out := map[uint32][]byte{}
|
||||||
|
|
||||||
// The TPM 2.0 spec says that the TPM can partially fulfill the
|
// The TPM 2.0 spec says that the TPM can partially fulfill the
|
||||||
// request. As such, we repeat the command up to 8 times to get all
|
// request. As such, we repeat the command up to 24 times to get all
|
||||||
// 24 PCRs.
|
// 24 PCRs.
|
||||||
for i := 0; i < numPCRs; i++ {
|
for i := 0; i < numPCRs; i++ {
|
||||||
// Build a selection structure, specifying all PCRs we do
|
// Build a selection structure, specifying all PCRs we do
|
||||||
|
Loading…
Reference in New Issue
Block a user