Commit Graph
71 Commits
Author SHA1 Message Date
Andreas Steffen c50f881f6a refactored DH group nonce exchange 2011-11-28 18:25:50 +01:00
Andreas Steffen 2b899b50ca combine two algorithm checks 2011-11-28 18:03:34 +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 0bfdae3b90 Implemented hasndling of Request Functional Component Evidence and creation of Simple Component Evidences 2011-11-28 17:30:17 +01:00
Sansar Choinyambuu b9d6aded18 Fixed memory leaks 2011-11-28 17:19:40 +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 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 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 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
Andreas Steffen 325704e1b4 moved attribute processing to imc_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 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
Andreas Steffen 74eb850dc0 introduced a PA-TNC attribute manager 2011-09-10 22:39:56 +02:00
Andreas Steffen bf60354917 define attr_info only once 2011-09-10 22:39:56 +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 67b9e618e3 fixed memory leak 2011-09-08 18:21:49 +02:00
Andreas Steffen 3ed943c34f created libpts 2011-09-08 12:20:58 +02:00
Andreas Steffen 863f59c560 get platform info from IMC 2011-09-08 12:08:17 +02:00
Andreas Steffen d3b0c23c24 refactored AIK functionality 2011-09-08 12:08:16 +02:00
Sansar Choinyambuu 9816a29822 Read AIK certificate/ AIK public key from file 2011-09-08 12:08:16 +02:00
Sansar Choinyambuu 05a1b347b2 Enforced strongSwan coding rules (tab, if, {) 2011-09-08 12:08:16 +02:00
Andreas Steffen 246906cf57 send TCG_PTS_TPM_VERS_NOT_SUPPORTED error code 2011-09-08 12:08:15 +02:00
Andreas Steffen 3d0699595b implemented first TCG-PTS error attribute 2011-09-08 12:08:15 +02:00
Andreas Steffen d2f49c3dc4 finished refactoring of file measurements 2011-09-08 12:08:15 +02:00
Andreas Steffen a724a71953 first stage of file_meas refactoring 2011-09-08 12:08:15 +02:00
Sansar Choinyambuu f4527909f2 Obtain AIK and exchange as PEM certificate done
Fixed the trashy tail of last file name in Request File Measurement
2011-09-08 12:08:15 +02:00
Sansar Choinyambuu f4cc834c45 SHA384 is set as strongest hashing algorithm 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 8ada2b68a3 Clone the path chunk before adding to measurements list 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 08a7bd530e Corrected output length for SHA256 algorithm 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu f2f18b4e2f The file and directory lists are queried from db
Request File Measurements sending and handling is implemented accordingly
Measuring the file and directories are tested
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 20077abea2 Changes according to db implementation 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu 921b1022a5 Moved hashing functionalities to pts object 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu bbe179e472 Proto Caps and Meas Algorithms
TPM Version Info (AIK as well) and Request File Meas
attributes are sent together in a single pa_tnc message
2011-09-08 12:08:13 +02:00
Andreas Steffen a832232027 nothing to send with BeginHandshake 2011-09-08 12:08:12 +02:00