Commit Graph
241 Commits
Author SHA1 Message Date
Sansar Choinyambuu cb83fb3b72 Both D and T flags required to be set for PTS Component Measurement
DH Finish is sent only when D flag is set in TPM_INIT phase
2011-11-28 14:39:52 +01:00
Sansar Choinyambuu 6c5c5b6a2e use D flag for PTS Protocol Capabilities 2011-11-28 14:39:52 +01:00
Andreas Steffen a626ff9267 added measurements for Ubuntu 11.10 i686 2011-11-28 14:39:52 +01:00
Andreas Steffen 7a40949e18 changed method name to create_file_meas_enumerator 2011-11-28 14:39:52 +01:00
Andreas Steffen 7b81a60c51 added pts_file_type_names 2011-11-28 14:39:52 +01:00
Andreas Steffen 63ca82e56d optimized handling of UNIX file metadata 2011-11-28 14:39:52 +01:00
Andreas Steffen 8ddf76dd13 shortened fieldnames of pts_file_metadata_t struct 2011-11-28 14:39:52 +01:00
Andreas Steffen bd96953568 removed empty line 2011-11-28 14:39:52 +01:00
Andreas Steffen 5b0e14c48f compacted file metadata debug output 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu dbe7751a22 Copy just 20 bytes of pcr after value 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu b8017b5eba follow strongswan coding rules 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu b532c454ad Modified some unnecessary todo statement 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 20c005f9e4 Cosmetics 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 7fa72be3f2 Implemented creating and handling of Optional PCR Composite field in Simple Evidence Final attribute 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu d6fc5bace3 Construct PCR Composite using information received in Simple Component Evidence attributes 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 52ae3f27f8 Used Openssl RSA_verify function 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 72684a710b Fixed calculate quote info function -> initialize PCR bit mask array with zeroes
Return TPM Quote Info only, hash of it is calculated in IMV Process
Renamed digest with quote info
2011-11-28 14:39:51 +01:00
Sansar Choinyambuu baee8292ad Included hasher.h 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 0dd5914cc1 fixed typo in reason strings 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu b8cc499b7e Check if matching value configured with the received pcr after value in Simple Component Evidence 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu d631a1dda5 deleted unnecessary debuggin statement 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 67299653e4 Modified reason strings 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 47e5d106a6 Replaced static string path with Metadata requests retrieved from pts database 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu df918eca8d Added measurement and metadata columns to files table
Added "/etc/tnc_config" file record for metadata request
Modified files table entries with measurement flag set
2011-11-28 14:39:51 +01:00
Sansar Choinyambuu a8be826be4 Implemented Quote Digest constructing function for IMV
Implemented Signature verification function to check TPM Quote Signature
Implemented Handling of Simple Evidence Final attribute
Fixed bug within tpm_quote function
2011-11-28 14:39:50 +01:00
Sansar Choinyambuu d25b7b3d9a Loading AIK Blob from file configured
Finalized implementation of quote_tpm function
2011-11-28 14:39:50 +01:00
Sansar Choinyambuu f557e5fcaf Added parentesis for logical conditions of IF statement to get rid of the warning 2011-11-28 14:39:50 +01:00
Andreas Steffen dc5995fb51 added pts_dh_group_error_create() and pts_dh_nonce_error_create() 2011-11-28 14:39:50 +01:00
Andreas Steffen d7bc2841ca moved building of attributes to imv_attestation_build 2011-11-28 14:39:50 +01:00
Andreas Steffen cae9bc9b59 moved comments 2011-11-28 14:39:50 +01:00
Andreas Steffen 03fe2ed684 added the IMV_ATTESTATION_STATE_NONCE_REQ state 2011-11-28 14:39:50 +01:00
Andreas Steffen 325704e1b4 moved attribute processing to imc_attestation_process 2011-11-28 14:39:50 +01:00
Andreas Steffen 95c6cdeee8 aborting after fatal imv_attestation error 2011-11-28 14:39:50 +01:00
Andreas Steffen 350f855ca4 moved attribute processing to imv_attestation_process 2011-11-28 14:39:50 +01:00
Andreas Steffen cc1406d6fa refactored DH group nonce exchange 2011-11-28 14:39:50 +01:00
Andreas Steffen 542b33c350 combine two algorithm checks 2011-11-28 14:39:49 +01:00
Andreas Steffen 02855188ef fixed setting of PTS DH group 2011-11-28 14:39:49 +01:00
Sansar Choinyambuu 924f3bf59e Improved implementation of Read PCR/ Extend PCR/ Quote_TPM functions
Implemented creating/handling of Simple Evidence Final attribute (incomplete)
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 20c70d9839 Use already negotiated Measurement algorithm as Hashing algorithm for Diffie Hellman secret calculation 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu ef8ea80a28 Fixed some memory leaks 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 10210cc6e9 Fixed freeing invalid memory issue 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 849b903baa Implemented hasndling of Request Functional Component Evidence and creation of Simple Component Evidences 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 97ebeaa45c Fixed memory leaks 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu c10867f40b Implemented handling of DH Parameters Response and Finish attributes
Implemented calculating session secrets
2011-11-28 14:34:20 +01:00
Sansar Choinyambuu a2ca89676b Replaced DH_NONCE state with TPM_INIT state 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 0daee96b05 Started implementing handling of DH Nonce attributes 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 9a49d2e065 Implemented Diffie Hellman Nonce attributes 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 1c6ebda3db Began implementing handline of Functional Component Measuring attributes 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 3e951334a2 Implemented handling of File Metadata 2011-11-28 14:28:00 +01:00
Sansar Choinyambuu d22716509a File not Found, Invalid path, Invalid Delimiter PTS errors case checks implemented 2011-11-28 14:28:00 +01:00