Commit Graph
180 Commits
Author SHA1 Message Date
Sansar Choinyambuu f4527909f2 Obtain AIK and exchange as PEM certificate done
Fixed the trashy tail of last file name in Request File Measurement
2011-09-08 12:08:15 +02:00
Sansar Choinyambuu f4cc834c45 SHA384 is set as strongest hashing algorithm 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 2db719a509 Replaced reason strings with temporary ones for File Measurement Comparison 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 6d9e319dd7 Provide recommendation after all received attributes are handled 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 8ada2b68a3 Clone the path chunk before adding to measurements list 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu cd669535e6 Destroy meas_enumerator 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu f36ef96ed4 Added create_meas_enumerator function to pts_database object
Implemented handling part of File Measurement attributes reception
Ending the exchange and allowing access if all measurements match with database isolate if not
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 08a7bd530e Corrected output length for SHA256 algorithm 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu f2f18b4e2f The file and directory lists are queried from db
Request File Measurements sending and handling is implemented accordingly
Measuring the file and directories are tested
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 403409cbda Corrected typo on product_file table 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 14ed35c52e Corrected typo in query 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 20077abea2 Changes according to db implementation 2011-09-08 12:08:13 +02:00
Andreas Steffen fdfdae45de implemented access to PTS file measurement database 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 921b1022a5 Moved hashing functionalities to pts object 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu a1ff28f582 Moved structures related to File Measurement to pts.h 2011-09-08 12:08:13 +02:00
Andreas Steffen 20c2bec0f3 added pts database interface 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu bbe179e472 Proto Caps and Meas Algorithms
TPM Version Info (AIK as well) and Request File Meas
attributes are sent together in a single pa_tnc message
2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 207c519bd3 Combined some attributes and got rid of many handshake_states 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 4259bd6fb4 Deleted intermediate handshake_state 2011-09-08 12:08:13 +02:00
Andreas Steffen a832232027 nothing to send with BeginHandshake 2011-09-08 12:08:12 +02:00
Andreas Steffen 01e069b675 moved proto_caps and meas_algo to pts object 2011-09-08 12:08:12 +02:00
Andreas Steffen 8a2482c7c2 moved TSS into pts object 2011-09-08 12:08:12 +02:00
Andreas Steffen 48f04107ea reformatted TPM Version Info output 2011-09-08 12:08:12 +02:00
Andreas Steffen 0e521df129 cleaned up variable names 2011-09-08 12:08:12 +02:00
Andreas Steffen 91057e2d39 imv-attestation needs trousers 2011-09-08 12:08:12 +02:00
Andreas Steffen b875bcf70e define tpm_version_info as a chunk 2011-09-08 12:08:12 +02:00
Andreas Steffen 54fb8162a4 log selected PTS measurement algorithm 2011-09-08 12:08:12 +02:00
Andreas Steffen 05f03238fa shortened function names and moved to pts subdirectory 2011-09-08 12:08:12 +02:00
Andreas Steffen ac520f2fdf log PA-TNC attribute names 2011-09-08 12:08:12 +02:00
Andreas Steffen f0255cd1c9 Attestation IMV starts sending PA-TNC messages 2011-09-08 12:08:12 +02:00
Andreas Steffen b391488c75 return result 2011-09-08 12:08:11 +02:00
Andreas Steffen 8c1fb416c7 link libtspi 2011-09-08 12:08:11 +02:00
Andreas Steffen 871045bae6 connection_id initialization got lost 2011-09-08 12:08:11 +02:00
Andreas Steffen 7de203bc3b get rid of intermediate handshake_state variable 2011-09-08 12:08:11 +02:00
Andreas Steffen 92582674c7 slightly modified IMC measurement algorithm selection 2011-09-08 12:08:11 +02:00
Sansar Choinyambuu c7787eac47 Implemented the ReceiveMessage function on imc/v 2011-09-08 12:08:11 +02:00
Sansar Choinyambuu 525d191a42 Implemented send_message of File Measurement PTS attribute on imc_attestation 2011-09-08 12:08:11 +02:00
Andreas Steffen c567b0595f combined request with tcg_pts_attr_proto_caps 2011-09-08 12:08:11 +02:00
Andreas Steffen f213998b26 Explain PTS measurement algorithm proposal 2011-09-08 12:08:11 +02:00
Andreas Steffen 8db4159a44 use libstrongswan hasher 2011-09-08 12:08:10 +02:00
Andreas Steffen 43b172543e specify supported PTS measurement algorithms 2011-09-08 12:08:10 +02:00
Andreas Steffen 3f3664ec43 moved pts_meas_algorithms_t to own header file 2011-09-08 12:08:10 +02:00
Andreas Steffen a704fc5c27 refactored PTS measurement algorithms 2011-09-08 12:08:10 +02:00
Andreas Steffen ad4866e831 make imv_attestation plugin compile 2011-09-08 12:08:10 +02:00
Andreas Steffen 13e708b0b8 shortened some type names and enforced encoding rules 2011-09-08 12:08:10 +02:00
Sansar Choinyambuu 1dd8f9f6b1 Started implementing Notification Handshake and Send Message Functions 2011-09-08 12:08:10 +02:00
Sansar Choinyambuu 12c0a261cc Finalized State class implementations for Attestation IMV/C 2011-09-08 12:08:10 +02:00
Sansar Choinyambuu 4b43764ce3 Modified the handling switch for Attributes reception on Attestation IMV/C 2011-09-08 12:08:10 +02:00
Sansar Choinyambuu 793d31279b Changes according to the new PTS Attributes addition 2011-09-08 12:08:09 +02:00
Andreas Steffen 0973ec9906 changed DBG_IMC to DBG_IMV 2011-09-08 12:08:09 +02:00