Lines Matching defs:hashCtx
38 Trspi_HashCtx hashCtx;
44 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
45 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_SetCapability);
46 result |= Trspi_Hash_UINT32(&hashCtx, tcsCapArea);
47 result |= Trspi_Hash_UINT32(&hashCtx, (UINT32)sizeof(UINT32));
48 result |= Trspi_HashUpdate(&hashCtx, (UINT32)sizeof(UINT32), (BYTE *)&subCap);
49 result |= Trspi_Hash_UINT32(&hashCtx, (UINT32)sizeof(TSS_BOOL));
50 result |= Trspi_Hash_BOOL(&hashCtx, value);
51 if ((result |= Trspi_HashFinal(&hashCtx, digest.digest)))
63 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
64 result |= Trspi_Hash_UINT32(&hashCtx, result);
65 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_SetCapability);
66 if ((result |= Trspi_HashFinal(&hashCtx, digest.digest)))