Lines Matching defs:hashCtx
40 Trspi_HashCtx hashCtx;
58 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
59 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_Sign);
60 result |= Trspi_Hash_UINT32(&hashCtx, ulDataLen);
61 result |= Trspi_HashUpdate(&hashCtx, ulDataLen, data);
62 if ((result |= Trspi_HashFinal(&hashCtx, digest.digest)))
79 result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1);
80 result |= Trspi_Hash_UINT32(&hashCtx, result);
81 result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_Sign);
82 result |= Trspi_Hash_UINT32(&hashCtx, *pulSignatureLength);
83 result |= Trspi_HashUpdate(&hashCtx, *pulSignatureLength, *prgbSignature);
84 if ((result |= Trspi_HashFinal(&hashCtx, digest.digest))) {