diff options
author | Sansar Choinyambuu <schoinya@hsr.ch> | 2011-10-07 11:15:37 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-11-28 17:46:54 +0100 |
commit | ee6a3bd711c4c904042f689b75c2a5aea40007cd (patch) | |
tree | 6376bbe9a96fe94be15f4d96de429e683c90614c | |
parent | 6c33703c4af1879466d18bc894d78d7a1282fbe8 (diff) | |
download | strongswan-ee6a3bd711c4c904042f689b75c2a5aea40007cd.tar.bz2 strongswan-ee6a3bd711c4c904042f689b75c2a5aea40007cd.tar.xz |
Changed definition of output and set them in quote_tpm function
-rw-r--r-- | src/libpts/pts/pts.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/libpts/pts/pts.h b/src/libpts/pts/pts.h index 7102a0333..8706a142e 100644 --- a/src/libpts/pts/pts.h +++ b/src/libpts/pts/pts.h @@ -386,12 +386,15 @@ struct pts_t { * Quote over PCR's * Expects owner and SRK secret to be WELL_KNOWN_SECRET and no password set for AIK * - * @param pcrs Set of PCR's to make quotation over - * @param num_of_pcr Number of PCR's - * @param quote Chunk to save quote operation output - * @return FALSE in case of TSS error, TRUE otherwise + * @param pcrs Set of PCR's to make quotation over + * @param num_of_pcr Number of PCR's + * @param pcr_composite Chunk to save pcr composite structure + * @param quote_signature Chunk to save quote operation output + * without external data (anti-replay protection) + * @return FALSE in case of TSS error, TRUE otherwise */ - bool (*quote_tpm)(pts_t *this, u_int32_t *pcrs, u_int32_t num_of_pcrs, chunk_t *quote); + bool (*quote_tpm)(pts_t *this, u_int32_t *pcrs, u_int32_t num_of_pcrs, + chunk_t *pcr_composite, chunk_t *quote_signature); /** * Destroys a pts_t object. |