Commit Graph
148 Commits
Author SHA1 Message Date
Andreas Steffen db103fada4 refactored simple_evid_final attribute 2011-11-28 21:22:51 +01:00
Andreas Steffen 8d851141b7 renamed pts_req_func_comp_evid flags 2011-11-28 21:22:02 +01:00
Andreas Steffen 4e84b5b033 fixed memory leak in tcg_pts_attr_simple_comp_evid.c 2011-11-28 21:22:02 +01:00
Andreas Steffen 19c956b602 refactored PCR functionality 2011-11-28 21:22:02 +01:00
Andreas Steffen 56fd3baa34 fixed two memory leaks 2011-11-28 21:22:01 +01:00
Andreas Steffen 47b019b246 implemented measurement time to utc string conversion functions 2011-11-28 21:22:01 +01:00
Andreas Steffen cb3ecd5aa5 refactored simple component evidence 2011-11-28 21:22:01 +01:00
Andreas Steffen 21b4efc097 fixed masking of family bits 2011-11-28 21:20:24 +01:00
Andreas Steffen 8c46c649fb corrected debug groups 2011-11-28 21:20:24 +01:00
Andreas Steffen d5bde4916a improved log output of functional component names 2011-11-28 21:20:24 +01:00
Andreas Steffen a1ac4d5e01 finished refactoring functional components 2011-11-28 21:20:24 +01:00
Andreas Steffen 2efc03758d adapted database entries 2011-11-28 21:20:24 +01:00
Andreas Steffen 031be70453 fixed output of qualifier flags 2011-11-28 21:20:24 +01:00
Andreas Steffen f8f1892f78 fixed display of qualifier flags 2011-11-28 21:20:24 +01:00
Sansar Choinyambuu 8ee7e36b66 Factored IMC/V Attestation build/process of Component Functional Name 2011-11-28 21:20:24 +01:00
Sansar Choinyambuu aee56036ed cosmetics 2011-11-28 21:20:23 +01:00
Sansar Choinyambuu f10fc0651e Fixed the building 2011-11-28 21:20:23 +01:00
Sansar Choinyambuu 0975b00d06 component_hashes new table added
measurements added for tboot component
create_comp_hash_enumerator modified accordingly
2011-11-28 21:20:23 +01:00
Andreas Steffen 40cfe6db6a store functional components in database 2011-11-28 21:20:23 +01:00
Andreas Steffen 17f69fbcb5 fixed output of qualifier flags 2011-11-28 21:20:23 +01:00
Andreas Steffen 3f89e0f792 remomve pts/pts_funct_comp_name.h from Makefile 2011-11-28 21:20:23 +01:00
Andreas Steffen 051dfbd654 object oriented approach to pts functional components 2011-11-28 21:20:23 +01:00
Andreas Steffen c6beb16689 cosmetics 2011-11-28 21:20:23 +01:00
Sansar Choinyambuu 72e7504919 Changes due to new implementation of Request Functional Component Evidence attribute 2011-11-28 21:20:23 +01:00
Sansar Choinyambuu 42b08a4d05 Functional Component Evidence Request object 2011-11-28 21:20:23 +01:00
Sansar Choinyambuu 77cf6271ad Using the database entries for generating Functional Component Evidence Requests
Using database entries to match received component measurement hashes
2011-11-28 21:20:23 +01:00
Sansar Choinyambuu b4a9274ce1 Added component column in files table
Implemented enumerator getter for generating functional component evidence requests
Implemented enumerator getter for component hashes
2011-11-28 21:20:23 +01:00
Sansar Choinyambuu 413922ff60 Add/CheckOff/Check pending functional component evidence requests 2011-11-28 21:20:23 +01:00
Sansar Choinyambuu f6aab3cd1e Implemented TPM_Quote2 on imc and constructing TPM_Quote_Info2 on imv 2011-11-28 21:20:23 +01:00
Sansar Choinyambuu 868c24b2a4 Implemented tboot measurements checking (configure on imc) 2011-11-28 21:20:22 +01:00
Sansar Choinyambuu 2e84538299 Defined functional components within ITA namespace
Implemented handling of functional components evidence request/response
2011-11-28 21:19:42 +01:00
Sansar Choinyambuu 824ace105a Changed the static function name in openssl_rsa_public_key object
Removed unused chunk variable from PTS verify_quote_signature function
2011-11-28 21:17:16 +01:00
Sansar Choinyambuu 5fbbfe0a48 use openssl rsa_verify function 2011-11-28 20:31:13 +01:00
Sansar Choinyambuu 379f7a7533 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 19:51:58 +01:00
Andreas Steffen 06fa9cea8b added pts_file_type_names 2011-11-28 19:30:53 +01:00
Andreas Steffen d6b31fa5ab shortened fieldnames of pts_file_metadata_t struct 2011-11-28 19:29:37 +01:00
Sansar Choinyambuu 898c3f995f follow strongswan coding rules 2011-11-28 19:24:40 +01:00
Sansar Choinyambuu 06d3485c46 Sort the pcr entries list everytime new entry is added 2011-11-28 19:19:11 +01:00
Sansar Choinyambuu e0fa29c9a1 Implemented creating and handling of Optional PCR Composite field in Simple Evidence Final attribute 2011-11-28 19:18:23 +01:00
Sansar Choinyambuu f0a5e5bdac Construct PCR Composite using information received in Simple Component Evidence attributes 2011-11-28 19:15:13 +01:00
Sansar Choinyambuu e130cc77ee Temporary commenting out of processing optional PCR Composite field 2011-11-28 19:12:42 +01:00
Sansar Choinyambuu 60bcdb7452 Used Openssl RSA_verify function 2011-11-28 19:11:47 +01:00
Sansar Choinyambuu 97280c7a47 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 19:10:24 +01:00
Sansar Choinyambuu db15e3a0d9 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 19:06:35 +01:00
Sansar Choinyambuu 54c0e80f92 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 18:51:08 +01:00
Sansar Choinyambuu 63b0c12f54 Replaced with boolean variable for PCR info included and Evidence Signature included flags
Write and Read flags to int first and set flags /Due to special definition/
2011-11-28 18:46:14 +01:00
Sansar Choinyambuu e8181d7077 Loading AIK Blob from file configured
Finalized implementation of quote_tpm function
2011-11-28 18:46:14 +01:00
Sansar Choinyambuu bae9346a29 Get AIK certificate encoding in PUBKEY_ASN1_DER if it's just public key 2011-11-28 18:44:44 +01:00
Andreas Steffen c50f881f6a refactored DH group nonce exchange 2011-11-28 18:25:50 +01:00
Andreas Steffen 4ee4da47f8 normalized pts_dh_group function names 2011-11-28 18:06:48 +01:00