Commit Graph

8198 Commits

Author SHA1 Message Date
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 95e37555c3 Reverse the changes made to openssl plugin for signature verification 2011-11-28 21:18:05 +01:00
Andreas Steffen 07166774c8 reordered options 2011-11-28 21:18:05 +01:00
Sansar Choinyambuu a66719d7d6 Reversed unintended commit 2011-11-28 21:17:16 +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
Andreas Steffen 5242a729ca implemented simple delete from database 2011-11-28 21:15:20 +01:00
Andreas Steffen 5f8e290150 add product and file entries to database 2011-11-28 21:15:20 +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 9b6473bb24 refactored attest database tool 2011-11-28 19:48:31 +01:00
Andreas Steffen d8399b8b85 get measurement hashes for a given file 2011-11-28 19:42:40 +01:00
Andreas Steffen f33a89431c list file measurement hashes 2011-11-28 19:41:07 +01:00
Andreas Steffen c75dbddb26 remove attest 2011-11-28 19:37:37 +01:00
Andreas Steffen b667d36afa ipsec attest lists data stored in an attestation database 2011-11-28 19:37:37 +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 efcc2c639e added the IMV_ATTESTATION_STATE_NONCE_REQ state 2011-11-28 18:38:51 +01:00
Andreas Steffen 021b7dd9fa moved attribute processing to imc_attestation_process 2011-11-28 18:36:45 +01:00
Andreas Steffen 1368248691 moved attribute processing to imv_attestation_process 2011-11-28 18:32:14 +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
Andreas Steffen a7e1f37371 added pts_dh_group_select 2011-11-28 18:05:01 +01:00
Andreas Steffen 2b899b50ca combine two algorithm checks 2011-11-28 18:03:34 +01:00
Andreas Steffen 09f01caf3a fixed setting of PTS DH group 2011-11-28 18:01:08 +01:00
Sansar Choinyambuu 0788198047 Improved implementation of Read PCR/ Extend PCR/ Quote_TPM functions
Implemented creating/handling of Simple Evidence Final attribute (incomplete)
2011-11-28 17:53:34 +01:00
Sansar Choinyambuu ee6a3bd711 Changed definition of output and set them in quote_tpm function 2011-11-28 17:46:54 +01:00
Sansar Choinyambuu 6c33703c4a Implemented first version of tpm quote function 2011-11-28 17:43:00 +01:00
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