Home
last modified time | relevance | path

Searched refs:pcrDigest (Results 1 – 22 of 22) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/EA/
DPolicyPCR.c54 TPM2B_DIGEST pcrDigest; in TPM2_PolicyPCR() local
67 PCRComputeCurrentDigest(session->authHashAlg, &in->pcrs, &pcrDigest); in TPM2_PolicyPCR()
78 if(in->pcrDigest.t.size != 0) in TPM2_PolicyPCR()
80 if(!MemoryEqual2B(&in->pcrDigest.b, &pcrDigest.b)) in TPM2_PolicyPCR()
89 if(in->pcrDigest.t.size != 0) in TPM2_PolicyPCR()
90 pcrDigest = in->pcrDigest; in TPM2_PolicyPCR()
111 CryptDigestUpdate2B(&hashState, &pcrDigest.b); in TPM2_PolicyPCR()
/external/tpm2-tss/src/tss2-sys/api/
DTss2_Sys_PolicyPCR.c18 const TPM2B_DIGEST *pcrDigest, in Tss2_Sys_PolicyPCR_Prepare() argument
41 if (!pcrDigest) { in Tss2_Sys_PolicyPCR_Prepare()
49 rval = Tss2_MU_TPM2B_DIGEST_Marshal(pcrDigest, ctx->cmdBuffer, in Tss2_Sys_PolicyPCR_Prepare()
85 const TPM2B_DIGEST *pcrDigest, in Tss2_Sys_PolicyPCR() argument
95 rval = Tss2_Sys_PolicyPCR_Prepare(sysContext, policySession, pcrDigest, pcrs); in Tss2_Sys_PolicyPCR()
/external/tpm2-tss/src/tss2-esys/api/
DEsys_PolicyPCR.c70 const TPM2B_DIGEST *pcrDigest, in Esys_PolicyPCR() argument
76 shandle3, pcrDigest, pcrs); in Esys_PolicyPCR()
146 const TPM2B_DIGEST *pcrDigest, in Esys_PolicyPCR_Async() argument
152 esysContext, policySession, pcrDigest, pcrs); in Esys_PolicyPCR_Async()
177 : policySessionNode->rsrc.handle, pcrDigest, in Esys_PolicyPCR_Async()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DPolicyPCR_fp.h48 TPM2B_DIGEST pcrDigest; member
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Attestation/
DQuote.c86 &quoted.attested.quote.pcrDigest); in TPM2_Quote()
/external/tpm2-tss/src/tss2-mu/
Dtpms-types.c1183 pcrDigest, ADDR, Tss2_MU_TPM2B_DIGEST_Marshal)
1187 pcrDigest, Tss2_MU_TPM2B_DIGEST_Unmarshal)
1191 pcrDigest, ADDR, Tss2_MU_TPM2B_DIGEST_Marshal,
1200 pcrDigest, Tss2_MU_TPM2B_DIGEST_Unmarshal,
/external/tpm2-tss/include/tss2/
Dtss2_tpm2_types.h1131 TPM2B_DIGEST pcrDigest; /* digest of the selected PCR using the hash of the signing key */ member
1750 …TPM2B_DIGEST pcrDigest; /* digest of the selected PCR using nameAlg of the object for whic… member
Dtss2_sys.h1258 const TPM2B_DIGEST *pcrDigest,
1268 const TPM2B_DIGEST *pcrDigest,
Dtss2_esys.h1863 const TPM2B_DIGEST *pcrDigest,
1873 const TPM2B_DIGEST *pcrDigest,
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/
DTableMarshalData.c578 (UINT16)(offsetof(TPMS_QUOTE_INFO, pcrDigest))}},
1242 (UINT16)(offsetof(TPMS_CREATION_DATA, pcrDigest)),
DMarshal.c2787 …result = (UINT16)(result + TPM2B_DIGEST_Marshal((TPM2B_DIGEST *)&(source->pcrDigest), buffer, size… in TPMS_QUOTE_INFO_Marshal()
5541 …result = (UINT16)(result + TPM2B_DIGEST_Marshal((TPM2B_DIGEST *)&(source->pcrDigest), buffer, size… in TPMS_CREATION_DATA_Marshal()
/external/tpm2-tss/src/tss2-fapi/
Difapi_helpers.c1970 pcr_digest->size = quote_info->attest.attested.quote.pcrDigest.size; in ifapi_calculate_pcr_digest()
2033 if (memcmp(&pcr_digest->buffer[0], &quote_info->attest.attested.quote.pcrDigest.buffer[0], in ifapi_calculate_pcr_digest()
Dtpm_json_deserialize.c1932 r = ifapi_json_TPM2B_DIGEST_deserialize(jso2, &out->pcrDigest); in ifapi_json_TPMS_QUOTE_INFO_deserialize()
4128 r = ifapi_json_TPM2B_DIGEST_deserialize(jso2, &out->pcrDigest); in ifapi_json_TPMS_CREATION_DATA_deserialize()
Dtpm_json_serialize.c2014 r = ifapi_json_TPM2B_DIGEST_serialize(&in->pcrDigest, &jso2); in ifapi_json_TPMS_QUOTE_INFO_serialize()
3978 r = ifapi_json_TPM2B_DIGEST_serialize(&in->pcrDigest, &jso2); in ifapi_json_TPMS_CREATION_DATA_serialize()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DTpmTypes.h1590 TPM2B_DIGEST pcrDigest; member
2402 TPM2B_DIGEST pcrDigest; member
DCommandDispatcher.h1282 result = TPM2B_DIGEST_Unmarshal(&in->pcrDigest, paramBuffer, paramBufferSize);
DCommandDispatchData.h2844 /* offsets */ {(UINT16)(offsetof(PolicyPCR_In, pcrDigest)),
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Object/
DObject_spt.c723 &outCreation->creationData.pcrDigest); in FillInCreationData()
/external/tpm2-tss/test/unit/
Desys-tcti-rcs.c1606 TPM2B_DIGEST pcrDigest = DUMMY_2B_DATA(.buffer); in test_PolicyPCR() local
1611 ESYS_TR_NONE, ESYS_TR_NONE, &pcrDigest, &pcrs); in test_PolicyPCR()
Desys-tpm-rcs.c1586 TPM2B_DIGEST pcrDigest = DUMMY_2B_DATA(.buffer); in test_PolicyPCR() local
1591 ESYS_TR_NONE, ESYS_TR_NONE, &pcrDigest, &pcrs); in test_PolicyPCR()
Desys-resubmissions.c1721 TPM2B_DIGEST pcrDigest = DUMMY_2B_DATA(.buffer); in test_PolicyPCR() local
1726 ESYS_TR_NONE, ESYS_TR_NONE, &pcrDigest, &pcrs); in test_PolicyPCR()
/external/tpm2-tss/doc/
Ddoxygen.dox737 …YS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *pcrDigest, const TPML_PCR_…
738 …YS_TR shandle1, ESYS_TR shandle2, ESYS_TR shandle3, const TPM2B_DIGEST *pcrDigest, const TPML_PCR_…