TSS_VALIDATION valData;
u_int32_t i;
TSS_RESULT result;
- chunk_t quote_sign;
+ chunk_t pcr_comp, quote_sign;
result = Tspi_Context_Create(&hContext);
if (result != TSS_SUCCESS)
chunk_clear(&pcr_composite);
chunk_clear(&hash_pcr_composite);
+ chunk_clear(&pcr_composite);
+ hasher->destroy(hasher);
+ writer->write_data(writer, *out_pcr_composite);
+
if (!this->secret.ptr)
{
DBG1(DBG_PTS, "Secret assessment value unavailable",
/* Optional Composite Hash Algorithm and TPM PCR Composite field is included */
if (this->flags != PTS_SIMPLE_EVID_FINAL_FLAG_NO)
{
- /** u_int32_t pcr_comp_len;*/
- u_int32_t tpm_quote_sign_len;
+ u_int32_t pcr_comp_len, tpm_quote_sign_len;
/** TODO: Ignoring Hashing algorithm field
* There is no flag defined which indicates the precense of it