Changed definition of pcr_value in pcr_entry_t structure

Implemented function to check if recevied PCR after value matches with any configured pcr value
This commit is contained in:
Sansar Choinyambuu
2011-11-28 19:06:35 +01:00
committed by Andreas Steffen
parent 54c0e80f92
commit db15e3a0d9
2 changed files with 47 additions and 0 deletions
+7
View File
@@ -388,6 +388,13 @@ struct pts_t {
bool (*quote_tpm)(pts_t *this, u_int32_t *pcrs, u_int32_t num_of_pcrs,
chunk_t *pcr_composite, chunk_t *quote_signature);
/**
* Check PCR after value in Simple Component Evidence matches configured value
*
* @return FALSE in case of any error or non-match, TRUE otherwise
*/
bool (*does_pcr_value_match)(pts_t *this, chunk_t pcr_after_value);
/**
* Constructs and returns PCR Quote Digest structure expected from IMC
*