Implemented matching of Optional PCR Composite field value when Hashing was done to reduce the size of it

Optional Composite Hash Algorithm field is always present, has value of all zeroes if was not used
This commit is contained in:
Sansar Choinyambuu
2011-11-28 14:39:53 +01:00
committed by Andreas Steffen
parent 645f55eb20
commit cb66320fee
5 changed files with 61 additions and 29 deletions
+2 -2
View File
@@ -289,8 +289,8 @@ struct pts_t {
* @param quote_info Output variable to store TPM Quote Info
* @return FALSE in case of any error, TRUE otherwise
*/
bool (*get_quote_info)(pts_t *this, chunk_t *pcr_composite,
chunk_t *quote_info);
bool (*get_quote_info)(pts_t *this, pts_meas_algorithms_t composite_algo,
chunk_t *pcr_composite, chunk_t *quote_info);
/**
* Constructs and returns PCR Quote Digest structure expected from IMC