Lines Matching defs:hashCtx

36 	Trspi_HashCtx hashCtx;
47 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
48 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_DisableOwnerClear);
49 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
59 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
60 result |= Trspi_Hash_UINT32(&hashCtx, result);
61 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_DisableOwnerClear);
62 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
73 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
74 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_OwnerSetDisable);
75 result |= Trspi_Hash_BOOL(&hashCtx, fTpmState);
76 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
86 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
87 result |= Trspi_Hash_UINT32(&hashCtx, result);
88 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_OwnerSetDisable);
89 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
120 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
121 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_SetTempDeactivated);
122 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
139 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
140 result |= Trspi_Hash_UINT32(&hashCtx, result);
141 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_SetTempDeactivated);
142 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
159 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
160 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_DisablePubekRead);
161 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
171 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
172 result |= Trspi_Hash_UINT32(&hashCtx, result);
173 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_DisablePubekRead);
174 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
201 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
202 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_ResetLockValue);
203 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))
213 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
214 result |= Trspi_Hash_UINT32(&hashCtx, result);
215 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_ResetLockValue);
216 if ((result |= Trspi_HashFinal(&hashCtx, hashDigest.digest)))