Commit Graph
48 Commits
Author SHA1 Message Date
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 26b657ce2b Changed definition of pcr_value in pcr_entry_t structure
Implemented function to check if recevied PCR after value matches with any configured pcr value
2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 2eb3dc40b9 return SHA1 hash of TPM Quote Info in calculate_quote_digest 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 8ed9f5552e Implemented new create enumerator function to get metadata request paths
Modified existing file_enumerator function to include just measurement requests
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 fe247ba2a6 Get AIK certificate encoding in PUBKEY_ASN1_DER if it's just public key 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 5e5d6ecd94 cosmetics 2011-11-28 14:39:50 +01:00
Andreas Steffen cae9bc9b59 moved comments 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 6728e09d39 cosmetics 2011-11-28 14:39:50 +01:00
Andreas Steffen 111ad5cc39 normalized and extended pts_meas_algo functions 2011-11-28 14:39:50 +01:00
Andreas Steffen f29a36f2a3 renamed conversion function to pts_dh_group_to_ike 2011-11-28 14:39:50 +01:00
Andreas Steffen 2a415e77c7 normalized pts_dh_group function names 2011-11-28 14:39:49 +01:00
Andreas Steffen 3be8995c3e added pts_dh_group_select 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 ea195cb6ef Changed encoding type to ASN.1 DER 2011-11-28 14:34:21 +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 a3be32a2d5 Changed definition of output and set them in quote_tpm function 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu b46930bf5f Implemented first version of tpm quote function 2011-11-28 14:34:21 +01:00
Andreas Steffen c0da11615b added newline at end of file 2011-11-28 14:34:21 +01:00
Andreas Steffen a81a5f8bc4 fixed pts_probe_dh_groups warning 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 4b3d992d08 Changed definition of get_my_pub_val function a little 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu f39197dd92 Implemented functions for reading and extending TPM PCR
Made hash_file function a member of pts object
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 f27c30329d Fixed bug for updating supported diffie hellman groups 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 9d7ec5b6cd Removed unnecessary debug statement 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 246e46a97c Return false if mandatory DH Group IKE19 is not available 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 9032e61b88 Fixed bug at checking error code from file stat 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 3e951334a2 Implemented handling of File Metadata 2011-11-28 14:28:00 +01:00
Tobias Brunner f3eef176f4 Common spelling errors fixed. 2011-11-03 19:30:17 +01:00
Andreas Steffen b9d61f78d3 added PTS debug class 2011-09-11 00:11:04 +02:00
Andreas Steffen cf8fd42c77 correctly initialize error_code 2011-09-10 22:39:56 +02:00
Andreas Steffen a6c081ca27 removed whitespace 2011-09-10 22:39:56 +02:00
Andreas Steffen cfedfcca31 cosmetics 2011-09-10 22:39:56 +02:00
Andreas Steffen 04d7ef6ece properly close Tspi_Context 2011-09-10 22:39:56 +02:00
Andreas Steffen b5ca33dcdd determine machine architecture programmatically 2011-09-10 22:39:55 +02:00
Andreas Steffen 733ac2287f determine version for various Linux releases 2011-09-10 22:39:55 +02:00
Sansar Choinyambuu d883495418 Implemented PTS attributes Request File Metadata, Unix-Style File Metadata 2011-09-10 22:39:55 +02:00
Sansar Choinyambuu 31ac5b0d6b File not Found, Invalid path, Invalid Delimiter PTS errors case checks implemented 2011-09-10 22:39:55 +02:00
Andreas Steffen 13f8356aca redirect stderr of command to /dev/null 2011-09-08 18:29:52 +02:00
Andreas Steffen 3ed943c34f created libpts 2011-09-08 12:20:58 +02:00