]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Changed definition of output and set them in quote_tpm function
authorSansar Choinyambuu <schoinya@hsr.ch>
Fri, 7 Oct 2011 09:15:37 +0000 (11:15 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 28 Nov 2011 16:46:54 +0000 (17:46 +0100)
src/libpts/pts/pts.h

index 7102a03336143df76cedb5ba7279418b36f5051a..8706a142ecd501141d242b979771186508c71ee3 100644 (file)
@@ -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.