mirror of
https://github.com/google/go-attestation.git
synced 2025-05-27 20:44:30 +00:00
Update tpm.go docs to match relative for AttestPlatform (#426)
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Test / test-linux (1.24.x) (push) Has been cancelled
Test / test-linux-tpm12 (1.24.x) (push) Has been cancelled
Test / test-macos (1.24.x) (push) Has been cancelled
Test / test-windows (1.24.x) (push) Has been cancelled
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Test / test-linux (1.24.x) (push) Has been cancelled
Test / test-linux-tpm12 (1.24.x) (push) Has been cancelled
Test / test-macos (1.24.x) (push) Has been cancelled
Test / test-windows (1.24.x) (push) Has been cancelled
#404 Added support for discovery of supported PCR banks, but the method comment for AttestPlatform still references a using static list of SHA1 and SHA256 PCRs.
This commit is contained in:
parent
8cf7d46d70
commit
3e297cd27c
@ -581,9 +581,9 @@ type PlatformAttestConfig struct {
|
||||
|
||||
// AttestPlatform computes the set of information necessary to attest the
|
||||
// state of the platform. For TPM 2.0 devices, AttestPlatform will attempt
|
||||
// to read both SHA1 & SHA256 PCR banks and quote both of them, so bugs in
|
||||
// to read all supported PCR banks and quote all of them, so bugs in
|
||||
// platform firmware which break replay for one PCR bank can be mitigated
|
||||
// using the other.
|
||||
// using any other.
|
||||
// The provided config, if not nil, can be used to configure aspects of the
|
||||
// platform attestation.
|
||||
func (t *TPM) AttestPlatform(ak *AK, nonce []byte, config *PlatformAttestConfig) (*PlatformParameters, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user