Commit Graph
19030 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 90c963439e Started implementing obtaining of AIK 2011-09-08 12:08:15 +02:00
Sansar Choinyambuu 46fd48797d Restore flag calculation 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu b460d5f5ce Reading and writing flags directly 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu f4cc834c45 SHA384 is set as strongest hashing algorithm 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 6434d41fa5 Added empty getter/setter for AIK 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 86f1cd15b8 Deleted switch statement for hashing algorithms, using the integer field directly for the query 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 aab0c587db Deleted filter for measurement enumerator 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 85ab2fc2a3 Deleted unnecessary debug statement 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 403409cbda Corrected typo on product_file table 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 23f1509c4f chunk_clone after read_data 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu f3aeb40bf1 Removed unnecessary struct 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 8a59adad57 replaced unreliable tabs by spaces 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 97112ec23a Implemented Error Codes Enumeration for PTS 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 8c4db12fa0 detect TPM presence on IMC 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 51038ba61c fixed typo 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 ce8ad867c5 added newline 2011-09-08 12:08:11 +02:00
Andreas Steffen 64fe60534e remove unwanted insertion 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