strongswan.git
10 years agocosmetics in debug output
Andreas Steffen [Wed, 23 Nov 2011 19:18:33 +0000 (20:18 +0100)]
cosmetics in debug output

10 years agoCheck enough data available to read
Sansar Choinyambuu [Wed, 23 Nov 2011 14:23:57 +0000 (15:23 +0100)]
Check enough data available to read

10 years agohandling of missing component measurement
Sansar Choinyambuu [Wed, 23 Nov 2011 14:12:18 +0000 (15:12 +0100)]
handling of missing component measurement

10 years agoAdded enum names for measurement algorithms
Sansar Choinyambuu [Wed, 23 Nov 2011 14:11:53 +0000 (15:11 +0100)]
Added enum names for measurement algorithms

10 years agoSet pcr transform field depending on measuring algorithm
Sansar Choinyambuu [Wed, 23 Nov 2011 11:02:00 +0000 (12:02 +0100)]
Set pcr transform field depending on measuring algorithm

10 years agosub-component depth from pts database on component evidence request
Sansar Choinyambuu [Wed, 23 Nov 2011 10:25:06 +0000 (11:25 +0100)]
sub-component depth from pts database on component evidence request
component hashes are entries in file_hashes table
implemented verify function of tboot component

10 years agoFixed memory corruption on tpm version info
Sansar Choinyambuu [Wed, 23 Nov 2011 10:23:52 +0000 (11:23 +0100)]
Fixed memory corruption on tpm version info

10 years agoFixed warning, freeing tpm context memory in extend_pcr function
Sansar Choinyambuu [Wed, 23 Nov 2011 08:53:36 +0000 (09:53 +0100)]
Fixed warning, freeing tpm context memory in extend_pcr function

10 years agofixed some more memory leaks
Andreas Steffen [Tue, 22 Nov 2011 23:26:02 +0000 (00:26 +0100)]
fixed some more memory leaks

10 years agofixed memory leaks
Andreas Steffen [Tue, 22 Nov 2011 21:29:40 +0000 (22:29 +0100)]
fixed memory leaks

10 years agorefactored simple_evid_final attribute
Andreas Steffen [Tue, 22 Nov 2011 20:18:13 +0000 (21:18 +0100)]
refactored simple_evid_final attribute

10 years agorenamed pts_req_func_comp_evid flags
Andreas Steffen [Tue, 22 Nov 2011 17:21:07 +0000 (18:21 +0100)]
renamed pts_req_func_comp_evid flags

10 years agofixed memory leak in tcg_pts_attr_simple_comp_evid.c
Andreas Steffen [Tue, 22 Nov 2011 16:14:13 +0000 (17:14 +0100)]
fixed memory leak in  tcg_pts_attr_simple_comp_evid.c

10 years agorefactored PCR functionality
Andreas Steffen [Tue, 22 Nov 2011 16:00:38 +0000 (17:00 +0100)]
refactored PCR functionality

10 years agofixed double free
Andreas Steffen [Mon, 21 Nov 2011 22:35:44 +0000 (23:35 +0100)]
fixed double free

10 years agofixed two memory leaks
Andreas Steffen [Mon, 21 Nov 2011 22:32:39 +0000 (23:32 +0100)]
fixed two memory leaks

10 years agofixed double free
Andreas Steffen [Mon, 21 Nov 2011 21:48:17 +0000 (22:48 +0100)]
fixed double free

10 years agoimplemented measurement time to utc string conversion functions
Andreas Steffen [Mon, 21 Nov 2011 21:43:40 +0000 (22:43 +0100)]
implemented measurement time to utc string conversion functions

10 years agorefactored simple component evidence
Andreas Steffen [Mon, 21 Nov 2011 00:09:36 +0000 (01:09 +0100)]
refactored simple component evidence

10 years agofixed masking of family bits
Andreas Steffen [Sat, 19 Nov 2011 11:49:37 +0000 (12:49 +0100)]
fixed masking of family bits

10 years agocorrected debug groups
Andreas Steffen [Sat, 19 Nov 2011 11:26:47 +0000 (12:26 +0100)]
corrected debug groups

10 years agoimproved log output of functional component names
Andreas Steffen [Sat, 19 Nov 2011 11:23:54 +0000 (12:23 +0100)]
improved log output of functional component names

10 years agofinished refactoring functional components
Andreas Steffen [Sat, 19 Nov 2011 00:56:05 +0000 (01:56 +0100)]
finished refactoring functional components

10 years agoadapted database entries
Andreas Steffen [Sat, 19 Nov 2011 00:55:18 +0000 (01:55 +0100)]
adapted database entries

10 years agofixed output of qualifier flags
Andreas Steffen [Fri, 18 Nov 2011 21:03:35 +0000 (22:03 +0100)]
fixed output of qualifier flags

10 years agooutput component functional name
Andreas Steffen [Fri, 18 Nov 2011 21:00:41 +0000 (22:00 +0100)]
output component functional name

10 years agofixed display of qualifier flags
Andreas Steffen [Fri, 18 Nov 2011 20:13:58 +0000 (21:13 +0100)]
fixed display of qualifier flags

10 years agoFactored IMC/V Attestation build/process of Component Functional Name
Sansar Choinyambuu [Fri, 18 Nov 2011 10:16:45 +0000 (11:16 +0100)]
Factored IMC/V Attestation build/process of Component Functional Name

10 years agocosmetics
Sansar Choinyambuu [Fri, 18 Nov 2011 08:50:15 +0000 (09:50 +0100)]
cosmetics

10 years agoFixed the building
Sansar Choinyambuu [Fri, 18 Nov 2011 08:49:49 +0000 (09:49 +0100)]
Fixed the building

10 years agocomponent_hashes new table added
Sansar Choinyambuu [Fri, 18 Nov 2011 08:40:22 +0000 (09:40 +0100)]
component_hashes new table added
measurements added for tboot component
create_comp_hash_enumerator modified accordingly

10 years agostore functional components in database
Andreas Steffen [Fri, 18 Nov 2011 01:15:15 +0000 (02:15 +0100)]
store functional components in database

10 years agofixed output of qualifier flags
Andreas Steffen [Fri, 18 Nov 2011 01:07:22 +0000 (02:07 +0100)]
fixed output of qualifier flags

10 years agoremomve pts/pts_funct_comp_name.h from Makefile
Andreas Steffen [Fri, 18 Nov 2011 00:03:12 +0000 (01:03 +0100)]
remomve pts/pts_funct_comp_name.h from Makefile

10 years agoobject oriented approach to pts functional components
Andreas Steffen [Thu, 17 Nov 2011 23:08:33 +0000 (00:08 +0100)]
object oriented approach to pts functional components

10 years agocosmetics
Andreas Steffen [Wed, 16 Nov 2011 11:19:46 +0000 (12:19 +0100)]
cosmetics

10 years agoignore attest executable
Andreas Steffen [Wed, 16 Nov 2011 09:13:03 +0000 (10:13 +0100)]
ignore attest executable

10 years agoChanges due to new implementation of Request Functional Component Evidence attribute
Sansar Choinyambuu [Wed, 16 Nov 2011 15:44:42 +0000 (16:44 +0100)]
Changes due to new implementation of Request Functional Component Evidence attribute

10 years agoFunctional Component Evidence Request object
Sansar Choinyambuu [Wed, 16 Nov 2011 15:42:47 +0000 (16:42 +0100)]
Functional Component Evidence Request object

10 years agoPrint matching measurements of a component just once
Sansar Choinyambuu [Wed, 16 Nov 2011 09:53:43 +0000 (10:53 +0100)]
Print matching measurements of a component just once

10 years agouse chunk_from_hex function
Sansar Choinyambuu [Wed, 16 Nov 2011 09:53:25 +0000 (10:53 +0100)]
use chunk_from_hex function

10 years agoUsing the database entries for generating Functional Component Evidence Requests
Sansar Choinyambuu [Mon, 14 Nov 2011 16:10:35 +0000 (17:10 +0100)]
Using the database entries for generating Functional Component Evidence Requests
Using database entries to match received component measurement hashes

10 years agoAdded component column in files table
Sansar Choinyambuu [Mon, 14 Nov 2011 15:14:38 +0000 (16:14 +0100)]
Added component column in files table
Implemented enumerator getter for generating functional component evidence requests
Implemented enumerator getter for component hashes

10 years agoAdded measurements for tboot PCR17 and PCR18 on Ubuntu 10.10 x86_64
Sansar Choinyambuu [Mon, 14 Nov 2011 14:48:43 +0000 (15:48 +0100)]
Added measurements for tboot PCR17 and PCR18 on Ubuntu 10.10 x86_64

10 years agoModified reason strings
Sansar Choinyambuu [Fri, 11 Nov 2011 12:22:47 +0000 (13:22 +0100)]
Modified reason strings

10 years agoAdd/CheckOff/Check pending functional component evidence requests
Sansar Choinyambuu [Fri, 11 Nov 2011 11:52:43 +0000 (12:52 +0100)]
Add/CheckOff/Check pending functional component evidence requests

10 years agoImplemented TPM_Quote2 on imc and constructing TPM_Quote_Info2 on imv
Sansar Choinyambuu [Fri, 11 Nov 2011 10:19:46 +0000 (11:19 +0100)]
Implemented TPM_Quote2 on imc and constructing TPM_Quote_Info2 on imv

10 years agoImplemented tboot measurements checking (configure on imc)
Sansar Choinyambuu [Wed, 9 Nov 2011 14:22:57 +0000 (15:22 +0100)]
Implemented tboot measurements checking (configure on imc)

10 years agoDefined functional components within ITA namespace
Sansar Choinyambuu [Wed, 2 Nov 2011 15:38:06 +0000 (16:38 +0100)]
Defined functional components within ITA namespace
Implemented handling of functional components evidence request/response

10 years agoReverse the changes made to openssl plugin for signature verification
Sansar Choinyambuu [Wed, 2 Nov 2011 15:37:09 +0000 (16:37 +0100)]
Reverse the changes made to openssl plugin for signature verification

10 years agoreordered options
Andreas Steffen [Wed, 2 Nov 2011 08:55:26 +0000 (09:55 +0100)]
reordered options

10 years agoReversed unintended commit
Sansar Choinyambuu [Wed, 2 Nov 2011 07:08:06 +0000 (08:08 +0100)]
Reversed unintended commit

10 years agoChanged the static function name in openssl_rsa_public_key object
Sansar Choinyambuu [Wed, 2 Nov 2011 07:05:28 +0000 (08:05 +0100)]
Changed the static function name in openssl_rsa_public_key object
Removed unused chunk variable from PTS verify_quote_signature function

10 years agoimplemented simple delete from database
Andreas Steffen [Mon, 31 Oct 2011 18:50:13 +0000 (19:50 +0100)]
implemented simple delete from database

10 years agoadd product and file entries to database
Andreas Steffen [Mon, 31 Oct 2011 17:34:16 +0000 (18:34 +0100)]
add product and file entries to database

10 years agouse openssl rsa_verify function
Sansar Choinyambuu [Mon, 31 Oct 2011 15:08:31 +0000 (16:08 +0100)]
use openssl rsa_verify function

10 years agoImplemented matching of Optional PCR Composite field value when Hashing was done...
Sansar Choinyambuu [Mon, 31 Oct 2011 10:26:00 +0000 (11:26 +0100)]
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

10 years agorefactored attest database tool
Andreas Steffen [Sun, 30 Oct 2011 21:20:20 +0000 (22:20 +0100)]
refactored attest database tool

10 years agoget measurement hashes for a given file
Andreas Steffen [Sat, 29 Oct 2011 20:58:32 +0000 (22:58 +0200)]
get measurement hashes for a given file

10 years agolist file measurement hashes
Andreas Steffen [Sat, 29 Oct 2011 17:33:45 +0000 (19:33 +0200)]
list file measurement hashes

10 years agoremove attest
Andreas Steffen [Fri, 28 Oct 2011 20:53:40 +0000 (22:53 +0200)]
remove attest

10 years agoipsec attest lists data stored in an attestation database
Andreas Steffen [Fri, 28 Oct 2011 20:46:28 +0000 (22:46 +0200)]
ipsec attest lists data stored in an attestation database

10 years agoadded pts_file_type_names
Andreas Steffen [Thu, 27 Oct 2011 05:55:15 +0000 (07:55 +0200)]
added pts_file_type_names

10 years agoshortened fieldnames of pts_file_metadata_t struct
Andreas Steffen [Wed, 26 Oct 2011 20:10:24 +0000 (22:10 +0200)]
shortened fieldnames of pts_file_metadata_t struct

10 years agofollow strongswan coding rules
Sansar Choinyambuu [Mon, 24 Oct 2011 11:31:05 +0000 (13:31 +0200)]
follow strongswan coding rules

10 years agoSort the pcr entries list everytime new entry is added
Sansar Choinyambuu [Mon, 24 Oct 2011 10:43:38 +0000 (12:43 +0200)]
Sort the pcr entries list everytime new entry is added

10 years agoImplemented creating and handling of Optional PCR Composite field in Simple Evidence...
Sansar Choinyambuu [Mon, 24 Oct 2011 09:28:17 +0000 (11:28 +0200)]
Implemented creating and handling of Optional PCR Composite field in Simple Evidence Final attribute

10 years agoConstruct PCR Composite using information received in Simple Component Evidence attri...
Sansar Choinyambuu [Mon, 24 Oct 2011 08:39:17 +0000 (10:39 +0200)]
Construct PCR Composite using information received in Simple Component Evidence attributes

10 years agoTemporary commenting out of processing optional PCR Composite field
Sansar Choinyambuu [Mon, 24 Oct 2011 08:38:32 +0000 (10:38 +0200)]
Temporary commenting out of processing optional PCR Composite field

10 years agoUsed Openssl RSA_verify function
Sansar Choinyambuu [Fri, 21 Oct 2011 11:50:28 +0000 (13:50 +0200)]
Used Openssl RSA_verify function

10 years agoFixed calculate quote info function -> initialize PCR bit mask array with zeroes
Sansar Choinyambuu [Fri, 21 Oct 2011 08:43:59 +0000 (10:43 +0200)]
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

10 years agoChanged definition of pcr_value in pcr_entry_t structure
Sansar Choinyambuu [Wed, 19 Oct 2011 11:54:29 +0000 (13:54 +0200)]
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

10 years agoImplemented Quote Digest constructing function for IMV
Sansar Choinyambuu [Fri, 14 Oct 2011 16:19:49 +0000 (18:19 +0200)]
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

10 years agoReplaced with boolean variable for PCR info included and Evidence Signature included...
Sansar Choinyambuu [Fri, 14 Oct 2011 16:18:07 +0000 (18:18 +0200)]
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/

10 years agoLoading AIK Blob from file configured
Sansar Choinyambuu [Wed, 12 Oct 2011 09:42:40 +0000 (11:42 +0200)]
Loading AIK Blob from file configured
Finalized implementation of quote_tpm function

10 years agoGet AIK certificate encoding in PUBKEY_ASN1_DER if it's just public key
Sansar Choinyambuu [Mon, 10 Oct 2011 14:07:18 +0000 (16:07 +0200)]
Get AIK certificate encoding in PUBKEY_ASN1_DER if it's just public key

10 years agoadded the IMV_ATTESTATION_STATE_NONCE_REQ state
Andreas Steffen [Sun, 9 Oct 2011 13:19:03 +0000 (15:19 +0200)]
added the IMV_ATTESTATION_STATE_NONCE_REQ state

10 years agomoved attribute processing to imc_attestation_process
Andreas Steffen [Sun, 9 Oct 2011 08:19:10 +0000 (10:19 +0200)]
moved attribute processing to imc_attestation_process

10 years agomoved attribute processing to imv_attestation_process
Andreas Steffen [Sat, 8 Oct 2011 22:58:33 +0000 (00:58 +0200)]
moved attribute processing to imv_attestation_process

10 years agorefactored DH group nonce exchange
Andreas Steffen [Sat, 8 Oct 2011 20:17:50 +0000 (22:17 +0200)]
refactored DH group nonce exchange

10 years agonormalized pts_dh_group function names
Andreas Steffen [Sat, 8 Oct 2011 12:24:24 +0000 (14:24 +0200)]
normalized pts_dh_group function names

10 years agoadded pts_dh_group_select
Andreas Steffen [Sat, 8 Oct 2011 12:12:14 +0000 (14:12 +0200)]
added pts_dh_group_select

10 years agocombine two algorithm checks
Andreas Steffen [Fri, 7 Oct 2011 19:01:16 +0000 (21:01 +0200)]
combine two algorithm checks

10 years agofixed setting of PTS DH group
Andreas Steffen [Fri, 7 Oct 2011 18:28:29 +0000 (20:28 +0200)]
fixed setting of PTS DH group

10 years agoImproved implementation of Read PCR/ Extend PCR/ Quote_TPM functions
Sansar Choinyambuu [Fri, 7 Oct 2011 13:15:56 +0000 (15:15 +0200)]
Improved implementation of Read PCR/ Extend PCR/ Quote_TPM functions
Implemented creating/handling of Simple Evidence Final attribute (incomplete)

10 years agoChanged definition of output and set them in quote_tpm function
Sansar Choinyambuu [Fri, 7 Oct 2011 09:15:37 +0000 (11:15 +0200)]
Changed definition of output and set them in quote_tpm function

10 years agoImplemented first version of tpm quote function
Sansar Choinyambuu [Fri, 7 Oct 2011 07:13:42 +0000 (09:13 +0200)]
Implemented first version of tpm quote function

10 years agoadded newline at end of file
Andreas Steffen [Fri, 7 Oct 2011 07:12:18 +0000 (09:12 +0200)]
added newline at end of file

10 years agoChanged definition of get_my_pub_val function a little
Sansar Choinyambuu [Wed, 5 Oct 2011 08:52:17 +0000 (10:52 +0200)]
Changed definition of get_my_pub_val function a little

10 years agoImplemented hasndling of Request Functional Component Evidence and creation of Simple...
Sansar Choinyambuu [Fri, 30 Sep 2011 12:57:29 +0000 (14:57 +0200)]
Implemented hasndling of Request Functional Component Evidence and creation of Simple Component Evidences

10 years agoImplemented functions for reading and extending TPM PCR
Sansar Choinyambuu [Fri, 30 Sep 2011 12:56:25 +0000 (14:56 +0200)]
Implemented functions for reading and extending TPM PCR
Made hash_file function a member of pts object

10 years agoUse struct containing the parameters for Create function
Sansar Choinyambuu [Fri, 30 Sep 2011 12:54:39 +0000 (14:54 +0200)]
Use struct containing the parameters for Create function
Deleted unnecessary setter functions

10 years agoFixed memory leaks
Sansar Choinyambuu [Wed, 28 Sep 2011 13:14:02 +0000 (15:14 +0200)]
Fixed memory leaks

10 years agoClone chunk_t parameters in create function
Sansar Choinyambuu [Wed, 28 Sep 2011 13:12:32 +0000 (15:12 +0200)]
Clone chunk_t parameters in create function

10 years agoImplemented handling of DH Parameters Response and Finish attributes
Sansar Choinyambuu [Fri, 23 Sep 2011 14:06:29 +0000 (16:06 +0200)]
Implemented handling of DH Parameters Response and Finish attributes
Implemented calculating session secrets

10 years agoCloning chunk_t parameters in process message
Sansar Choinyambuu [Fri, 23 Sep 2011 14:05:21 +0000 (16:05 +0200)]
Cloning chunk_t parameters in process message

10 years agoStarted implementing handling of DH Nonce attributes
Sansar Choinyambuu [Wed, 21 Sep 2011 14:32:25 +0000 (16:32 +0200)]
Started implementing handling of DH Nonce attributes

10 years agoImplemented Diffie Hellman Nonce attributes
Sansar Choinyambuu [Wed, 21 Sep 2011 08:36:50 +0000 (10:36 +0200)]
Implemented Diffie Hellman Nonce attributes

10 years agoWrite/Read flags field directly to/from variable
Sansar Choinyambuu [Wed, 21 Sep 2011 08:35:10 +0000 (10:35 +0200)]
Write/Read flags field directly to/from variable

10 years agoBegan implementing handline of Functional Component Measuring attributes
Sansar Choinyambuu [Fri, 16 Sep 2011 14:13:50 +0000 (16:13 +0200)]
Began implementing handline of Functional Component Measuring attributes