Commit Graph
7909 Commits
Author SHA1 Message Date
Andreas Steffen c0e4e0a6ab added newline at end of file 2011-11-28 17:39:53 +01:00
Sansar Choinyambuu 54af64dc10 Changed definition of get_my_pub_val function a little 2011-11-28 17:34:40 +01:00
Sansar Choinyambuu 0bfdae3b90 Implemented hasndling of Request Functional Component Evidence and creation of Simple Component Evidences 2011-11-28 17:30:17 +01:00
Sansar Choinyambuu 09f34eb4d0 Implemented functions for reading and extending TPM PCR
Made hash_file function a member of pts object
2011-11-28 17:27:58 +01:00
Sansar Choinyambuu b10465fdc1 Use struct containing the parameters for Create function
Deleted unnecessary setter functions
2011-11-28 17:23:52 +01:00
Sansar Choinyambuu b9d6aded18 Fixed memory leaks 2011-11-28 17:19:40 +01:00
Sansar Choinyambuu 31b1e389ea Clone chunk_t parameters in create function 2011-11-28 17:11:14 +01:00
Sansar Choinyambuu be922d56b2 Implemented handling of DH Parameters Response and Finish attributes
Implemented calculating session secrets
2011-11-28 16:05:19 +01:00
Sansar Choinyambuu e3cbd18892 Cloning chunk_t parameters in process message 2011-11-28 15:54:02 +01:00
Sansar Choinyambuu d83bcc310d Started implementing handling of DH Nonce attributes 2011-11-28 15:48:38 +01:00
Sansar Choinyambuu 8a55b83319 Implemented Diffie Hellman Nonce attributes 2011-11-28 15:32:36 +01:00
Sansar Choinyambuu 157c9c173d Write/Read flags field directly to/from variable 2011-11-28 15:18:00 +01:00
Sansar Choinyambuu d2a905ea98 Began implementing handline of Functional Component Measuring attributes 2011-11-28 15:14:13 +01:00
Sansar Choinyambuu 75d5f6d132 Fixed bug at checking error code from file stat 2011-11-28 15:02:49 +01:00
Sansar Choinyambuu c5b346d1d0 Implemented handling of File Metadata 2011-11-28 15:01:53 +01:00
Sansar Choinyambuu 381b3452f3 File not Found, Invalid path, Invalid Delimiter PTS errors case checks implemented 2011-11-28 14:41:27 +01:00
Sansar Choinyambuu 1e28c937fe Fixed bug in construction of PCR_SELECT structure 2011-11-28 14:39:53 +01:00
Sansar Choinyambuu 2aa28b164e Defined functional components within ITA namespace
Implemented handling of functional components evidence request/response
2011-11-28 14:39:53 +01:00
Sansar Choinyambuu 19fa287f6e Reverse the changes made to openssl plugin for signature verification 2011-11-28 14:39:53 +01:00
Andreas Steffen 90cc99db5a reordered options 2011-11-28 14:39:53 +01:00
Sansar Choinyambuu 103218b912 Reversed unintended commit 2011-11-28 14:39:53 +01:00
Sansar Choinyambuu 71741df078 Changed the static function name in openssl_rsa_public_key object
Removed unused chunk variable from PTS verify_quote_signature function
2011-11-28 14:39:53 +01:00
Andreas Steffen 2b28a13182 implemented simple delete from database 2011-11-28 14:39:53 +01:00
Andreas Steffen f4159ff816 add product and file entries to database 2011-11-28 14:39:53 +01:00
Sansar Choinyambuu 3cd6077b75 use openssl rsa_verify function 2011-11-28 14:39:53 +01:00
Sansar Choinyambuu cb66320fee Implemented matching of Optional PCR Composite field value when Hashing was done to reduce the size of it
Optional Composite Hash Algorithm field is always present, has value of all zeroes if was not used
2011-11-28 14:39:53 +01:00
Andreas Steffen 645f55eb20 allow file and product selection in hash query 2011-11-28 14:39:53 +01:00
Andreas Steffen 0ee1fe1516 applied some database fixes 2011-11-28 14:39:53 +01:00
Andreas Steffen e881ee23ee refactored attest database tool 2011-11-28 14:39:53 +01:00
Andreas Steffen e4ac6698bd fixed SQL queries 2011-11-28 14:39:53 +01:00
Andreas Steffen 09c4891459 get measurement hashes for a given file 2011-11-28 14:39:53 +01:00
Andreas Steffen 63c6709041 add directory prefix to file path 2011-11-28 14:39:53 +01:00
Andreas Steffen 4bf382742e list file measurement hashes 2011-11-28 14:39:53 +01:00
Andreas Steffen 1fa5b95962 remove attest 2011-11-28 14:39:52 +01:00
Andreas Steffen 83ceee8abf corrected copyright 2011-11-28 14:39:52 +01:00
Andreas Steffen 2da75114d9 ipsec attest lists data stored in an attestation database 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu 8209ab86a5 free memories that are bound to the context 2011-11-28 14:39:52 +01:00
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 d4171c6ea9 committed missing pts_file_type.c 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 96d611f585 Unix-Style File Metadata returns relative pathnames 2011-11-28 14:39:52 +01:00
Andreas Steffen ba361d3cd7 use write_uint64 and read_uint64 in file measurements 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 fbeb94544c extended bio_reader and bio_writer to handle u_int64_t 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