Searched refs:nvDigest (Results 1 – 5 of 5) sorted by relevance
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/Platform/src/ |
D | NVMem.c | 66 uint8_t nvDigest[WC_SHA512_DIGEST_SIZE]; member 280 …lt = NvHash2Data((uint8_t*)nvFile, sizeof(nvFile), NULL, 0, newIntegrity.s.sig.nvDigest)) == FALSE) in _plat__NVEnable() 304 uint8_t nvDigest[WC_SHA512_DIGEST_SIZE]; in _plat__NVEnable() local 305 …nique, tpmUniqueSize, (uint8_t*)&nvIntegrity.s.sig, sizeof(nvIntegrity.s.sig), nvDigest)) == FALSE) in _plat__NVEnable() 311 if(memcmp(nvDigest, nvIntegrity.s.nvSignature, sizeof(nvDigest))) in _plat__NVEnable() 317 if((result = NvHash2Data((uint8_t*)nvFile, sizeof(nvFile), NULL, 0, nvDigest)) == FALSE) in _plat__NVEnable() 323 if(memcmp(nvDigest, nvIntegrity.s.sig.nvDigest, sizeof(nvDigest))) in _plat__NVEnable() 480 if((result = NvHash2Data(s_NV, sizeof(s_NV), NULL, 0, newIntegrity.s.sig.nvDigest)) == FALSE) in _plat__NvCommit() 493 …if((memcmp(newIntegrity.s.sig.nvDigest, nvIntegrity.s.sig.nvDigest, sizeof(newIntegrity.s.sig.nvDi… in _plat__NvCommit()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/NVStorage/ |
D | NV_Certify.c | 129 certifyInfo.attested.nvDigest.nvDigest.t.size = in TPM2_NV_Certify() 133 CryptHashEnd2B(&hashState, &certifyInfo.attested.nvDigest.nvDigest.b); in TPM2_NV_Certify()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | TpmTypes.h | 1618 TPM2B_DIGEST nvDigest; member 1631 TPMS_NV_DIGEST_CERTIFY_INFO nvDigest; member
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/ |
D | TableMarshalData.c | 627 (UINT16)(offsetof(TPMS_NV_DIGEST_CERTIFY_INFO, nvDigest))}},
|
D | Marshal.c | 2840 …result = (UINT16)(result + TPM2B_DIGEST_Marshal((TPM2B_DIGEST *)&(source->nvDigest), buffer, size)… in TPMS_NV_DIGEST_CERTIFY_INFO_Marshal() 2873 …S_NV_DIGEST_CERTIFY_INFO_Marshal((TPMS_NV_DIGEST_CERTIFY_INFO *)&(source->nvDigest), buffer, size); in TPMU_ATTEST_Marshal()
|