Lines Matching refs:attest
30 TPMS_ATTEST *attest // OUT: attest structure in FillInAttestInfo() argument
39 attest->magic = TPM_GENERATED_VALUE; in FillInAttestInfo()
45 buffer = attest->qualifiedSigner.t.name; in FillInAttestInfo()
47 attest->qualifiedSigner.t.size = in FillInAttestInfo()
55 attest->qualifiedSigner.t.size = 0; in FillInAttestInfo()
57 ObjectGetQualifiedName(signHandle, &attest->qualifiedSigner); in FillInAttestInfo()
60 TimeFillInfo(&attest->clockInfo); in FillInAttestInfo()
62 attest->firmwareVersion = ((UINT64) gp.firmwareV1 << (sizeof(UINT32) * 8)); in FillInAttestInfo()
63 attest->firmwareVersion += gp.firmwareV2; in FillInAttestInfo()
85 &attest->qualifiedSigner.b, NULL, 128, (BYTE *)&obfuscation[0], NULL); in FillInAttestInfo()
87 attest->firmwareVersion += obfuscation[0]; in FillInAttestInfo()
88 attest->clockInfo.resetCount += (UINT32)(obfuscation[1] >> 32); in FillInAttestInfo()
89 attest->clockInfo.restartCount += (UINT32)obfuscation[1]; in FillInAttestInfo()
93 attest->extraData.t.size = 0; in FillInAttestInfo()
98 attest->extraData = *data; in FillInAttestInfo()
126 TPM2B_ATTEST *attest, // OUT: marshaled attest blob to be in SignAttestInfo() argument
138 buffer = attest->t.attestationData; in SignAttestInfo()
140 attest->t.size = TPMS_ATTEST_Marshal(certifyInfo, &buffer, &bufferSize); in SignAttestInfo()
162 CryptUpdateDigest(&hashState, attest->t.size, attest->t.attestationData); in SignAttestInfo()