strongswan.git
9 years agoIncluded fake_ek_cert header back
Sansar Choinyambuu [Fri, 2 Sep 2011 06:42:19 +0000 (08:42 +0200)]
Included fake_ek_cert header back

9 years agoAdded fake_ek_cert.h
Sansar Choinyambuu [Fri, 2 Sep 2011 06:26:49 +0000 (08:26 +0200)]
Added fake_ek_cert.h

9 years agosend TCG_PTS_TPM_VERS_NOT_SUPPORTED error code
Andreas Steffen [Thu, 1 Sep 2011 19:22:51 +0000 (21:22 +0200)]
send TCG_PTS_TPM_VERS_NOT_SUPPORTED error code

9 years agoimplemented first TCG-PTS error attribute
Andreas Steffen [Thu, 1 Sep 2011 19:00:20 +0000 (21:00 +0200)]
implemented first TCG-PTS error attribute

9 years agoadded some pts database entries
Andreas Steffen [Thu, 1 Sep 2011 15:14:09 +0000 (17:14 +0200)]
added some pts database entries

9 years agodisplay the measured file count
Andreas Steffen [Thu, 1 Sep 2011 14:50:40 +0000 (16:50 +0200)]
display the measured file count

9 years agofixed measurement of directory contents
Andreas Steffen [Thu, 1 Sep 2011 14:27:18 +0000 (16:27 +0200)]
fixed measurement of directory contents

9 years agoadded directory entry to database
Andreas Steffen [Thu, 1 Sep 2011 14:26:30 +0000 (16:26 +0200)]
added directory entry to database

9 years agoreordered file hash entries
Andreas Steffen [Thu, 1 Sep 2011 13:49:34 +0000 (15:49 +0200)]
reordered file hash entries

9 years agofinished refactoring of file measurements
Andreas Steffen [Thu, 1 Sep 2011 13:42:35 +0000 (15:42 +0200)]
finished refactoring of file measurements

9 years agosome doxygen fixes
Andreas Steffen [Wed, 31 Aug 2011 15:22:22 +0000 (17:22 +0200)]
some doxygen fixes

9 years agofirst stage of file_meas refactoring
Andreas Steffen [Wed, 31 Aug 2011 14:52:31 +0000 (16:52 +0200)]
first stage of file_meas refactoring

9 years agoObtain AIK and exchange as PEM certificate done
Sansar Choinyambuu [Wed, 31 Aug 2011 15:36:16 +0000 (17:36 +0200)]
Obtain AIK and exchange as PEM certificate done
Fixed the trashy tail of last file name in Request File Measurement

9 years agoStarted implementing obtaining of AIK
Sansar Choinyambuu [Wed, 31 Aug 2011 13:04:05 +0000 (15:04 +0200)]
Started implementing obtaining of AIK

9 years agoRestore flag calculation
Sansar Choinyambuu [Wed, 31 Aug 2011 13:03:21 +0000 (15:03 +0200)]
Restore flag calculation

9 years agoReading and writing flags directly
Sansar Choinyambuu [Wed, 31 Aug 2011 06:46:29 +0000 (08:46 +0200)]
Reading and writing flags directly

9 years agoSHA384 is set as strongest hashing algorithm
Sansar Choinyambuu [Wed, 31 Aug 2011 06:16:53 +0000 (08:16 +0200)]
SHA384 is set as strongest hashing algorithm

9 years agoAdded empty getter/setter for AIK
Sansar Choinyambuu [Fri, 26 Aug 2011 12:16:12 +0000 (14:16 +0200)]
Added empty getter/setter for AIK

9 years agoDeleted switch statement for hashing algorithms, using the integer field directly...
Sansar Choinyambuu [Fri, 26 Aug 2011 12:14:43 +0000 (14:14 +0200)]
Deleted switch statement for hashing algorithms, using the integer field directly for the query

9 years agoReplaced reason strings with temporary ones for File Measurement Comparison
Sansar Choinyambuu [Fri, 26 Aug 2011 09:56:50 +0000 (11:56 +0200)]
Replaced reason strings with temporary ones for File Measurement Comparison

9 years agoProvide recommendation after all received attributes are handled
Sansar Choinyambuu [Fri, 26 Aug 2011 09:22:43 +0000 (11:22 +0200)]
Provide recommendation after all received attributes are handled

9 years agoClone the path chunk before adding to measurements list
Sansar Choinyambuu [Fri, 26 Aug 2011 09:20:47 +0000 (11:20 +0200)]
Clone the path chunk before adding to measurements list

9 years agoDestroy meas_enumerator
Sansar Choinyambuu [Fri, 26 Aug 2011 08:12:33 +0000 (10:12 +0200)]
Destroy meas_enumerator

9 years agoAdded create_meas_enumerator function to pts_database object
Sansar Choinyambuu [Fri, 26 Aug 2011 08:08:16 +0000 (10:08 +0200)]
Added create_meas_enumerator function to pts_database object
Implemented handling part of File Measurement attributes reception
Ending the exchange and allowing access if all measurements match with database isolate if not

9 years agoCorrected output length for SHA256 algorithm
Sansar Choinyambuu [Fri, 26 Aug 2011 08:07:31 +0000 (10:07 +0200)]
Corrected output length for SHA256 algorithm

9 years agoDeleted filter for measurement enumerator
Sansar Choinyambuu [Fri, 26 Aug 2011 08:06:46 +0000 (10:06 +0200)]
Deleted filter for measurement enumerator

9 years agoThe file and directory lists are queried from db
Sansar Choinyambuu [Wed, 24 Aug 2011 14:25:37 +0000 (16:25 +0200)]
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

9 years agoDeleted unnecessary debug statement
Sansar Choinyambuu [Wed, 24 Aug 2011 14:24:43 +0000 (16:24 +0200)]
Deleted unnecessary debug statement

9 years agoCorrected typo on product_file table
Sansar Choinyambuu [Wed, 24 Aug 2011 14:23:29 +0000 (16:23 +0200)]
Corrected typo on product_file table

9 years agochunk_clone after read_data
Sansar Choinyambuu [Wed, 24 Aug 2011 10:50:00 +0000 (12:50 +0200)]
chunk_clone after read_data

9 years agoRemoved unnecessary struct
Sansar Choinyambuu [Wed, 24 Aug 2011 10:49:23 +0000 (12:49 +0200)]
Removed unnecessary struct

9 years agoCorrected typo in query
Sansar Choinyambuu [Wed, 24 Aug 2011 09:33:02 +0000 (11:33 +0200)]
Corrected typo in query

9 years agoChanges according to db implementation
Sansar Choinyambuu [Wed, 24 Aug 2011 09:00:23 +0000 (11:00 +0200)]
Changes according to db implementation

9 years agoimplemented access to PTS file measurement database
Andreas Steffen [Wed, 24 Aug 2011 08:07:54 +0000 (10:07 +0200)]
implemented access to PTS file measurement database

9 years agoMoved hashing functionalities to pts object
Sansar Choinyambuu [Wed, 24 Aug 2011 07:34:55 +0000 (09:34 +0200)]
Moved hashing functionalities to pts object

9 years agoMoved structures related to File Measurement to pts.h
Sansar Choinyambuu [Wed, 24 Aug 2011 07:34:03 +0000 (09:34 +0200)]
Moved structures related to File Measurement to pts.h

9 years agoreplaced unreliable tabs by spaces
Andreas Steffen [Mon, 22 Aug 2011 20:37:24 +0000 (22:37 +0200)]
replaced unreliable tabs by spaces

9 years agoadded pts database interface
Andreas Steffen [Mon, 22 Aug 2011 20:32:19 +0000 (22:32 +0200)]
added pts database interface

9 years agoImplemented Error Codes Enumeration for PTS
Sansar Choinyambuu [Mon, 22 Aug 2011 15:21:23 +0000 (17:21 +0200)]
Implemented Error Codes Enumeration for PTS

9 years agoProto Caps and Meas Algorithms
Sansar Choinyambuu [Mon, 22 Aug 2011 15:19:45 +0000 (17:19 +0200)]
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

9 years agoCombined some attributes and got rid of many handshake_states
Sansar Choinyambuu [Mon, 22 Aug 2011 15:18:45 +0000 (17:18 +0200)]
Combined some attributes and got rid of many handshake_states

9 years agoDeleted intermediate handshake_state
Sansar Choinyambuu [Mon, 22 Aug 2011 15:17:44 +0000 (17:17 +0200)]
Deleted intermediate handshake_state

9 years agonothing to send with BeginHandshake
Andreas Steffen [Mon, 22 Aug 2011 05:37:03 +0000 (07:37 +0200)]
nothing to send with BeginHandshake

9 years agodetect TPM presence on IMC
Andreas Steffen [Sun, 21 Aug 2011 18:00:15 +0000 (20:00 +0200)]
detect TPM presence on IMC

9 years agomoved proto_caps and meas_algo to pts object
Andreas Steffen [Sun, 21 Aug 2011 08:38:51 +0000 (10:38 +0200)]
moved proto_caps and meas_algo to pts object

9 years agomoved TSS into pts object
Andreas Steffen [Sat, 20 Aug 2011 21:37:37 +0000 (23:37 +0200)]
moved TSS into pts object

9 years agoreformatted TPM Version Info output
Andreas Steffen [Sat, 20 Aug 2011 16:20:43 +0000 (18:20 +0200)]
reformatted TPM Version Info output

9 years agocleaned up variable names
Andreas Steffen [Sat, 20 Aug 2011 15:28:04 +0000 (17:28 +0200)]
cleaned up variable names

9 years agoimv-attestation needs trousers
Andreas Steffen [Sat, 20 Aug 2011 15:27:38 +0000 (17:27 +0200)]
imv-attestation needs trousers

9 years agodefine tpm_version_info as a chunk
Andreas Steffen [Sat, 20 Aug 2011 15:27:09 +0000 (17:27 +0200)]
define tpm_version_info as a chunk

9 years agolog selected PTS measurement algorithm
Andreas Steffen [Sat, 20 Aug 2011 13:47:55 +0000 (15:47 +0200)]
log selected PTS measurement algorithm

9 years agoshortened function names and moved to pts subdirectory
Andreas Steffen [Sat, 20 Aug 2011 12:59:25 +0000 (14:59 +0200)]
shortened function names and moved to pts subdirectory

9 years agofixed typo
Andreas Steffen [Sat, 20 Aug 2011 09:39:08 +0000 (11:39 +0200)]
fixed typo

9 years agolog PA-TNC attribute names
Andreas Steffen [Sat, 20 Aug 2011 09:33:22 +0000 (11:33 +0200)]
log PA-TNC attribute names

9 years agoAttestation IMV starts sending PA-TNC messages
Andreas Steffen [Sat, 20 Aug 2011 07:52:41 +0000 (09:52 +0200)]
Attestation IMV starts sending PA-TNC messages

9 years agoreturn result
Andreas Steffen [Sat, 20 Aug 2011 05:13:48 +0000 (07:13 +0200)]
return result

9 years agolink libtspi
Andreas Steffen [Sat, 20 Aug 2011 04:59:24 +0000 (06:59 +0200)]
link libtspi

9 years agoconnection_id initialization got lost
Andreas Steffen [Fri, 19 Aug 2011 19:48:02 +0000 (21:48 +0200)]
connection_id initialization got lost

9 years agoadded newline
Andreas Steffen [Fri, 19 Aug 2011 19:35:01 +0000 (21:35 +0200)]
added newline

9 years agoremove unwanted insertion
Andreas Steffen [Fri, 19 Aug 2011 19:29:02 +0000 (21:29 +0200)]
remove unwanted insertion

9 years agoget rid of intermediate handshake_state variable
Andreas Steffen [Fri, 19 Aug 2011 17:46:45 +0000 (19:46 +0200)]
get rid of intermediate handshake_state variable

9 years agoslightly modified IMC measurement algorithm selection
Andreas Steffen [Fri, 19 Aug 2011 17:33:40 +0000 (19:33 +0200)]
slightly modified IMC measurement algorithm selection

9 years agocosmetics
Andreas Steffen [Thu, 18 Aug 2011 15:22:37 +0000 (17:22 +0200)]
cosmetics

9 years agoImplemented the ReceiveMessage function on imc/v
Sansar Choinyambuu [Fri, 19 Aug 2011 13:29:57 +0000 (15:29 +0200)]
Implemented the ReceiveMessage function on imc/v

9 years agoImplemented send_message of File Measurement PTS attribute on imc_attestation
Sansar Choinyambuu [Fri, 19 Aug 2011 11:25:40 +0000 (13:25 +0200)]
Implemented send_message of File Measurement PTS attribute on imc_attestation

9 years agomoved file_meas_entry_t struct to header file
Sansar Choinyambuu [Fri, 19 Aug 2011 11:24:52 +0000 (13:24 +0200)]
moved file_meas_entry_t struct to header file

9 years agoRestored the changes
Sansar Choinyambuu [Fri, 19 Aug 2011 07:28:16 +0000 (09:28 +0200)]
Restored the changes

9 years agocombined request with tcg_pts_attr_proto_caps
Andreas Steffen [Thu, 18 Aug 2011 14:54:03 +0000 (16:54 +0200)]
combined request with tcg_pts_attr_proto_caps

9 years agoExplain PTS measurement algorithm proposal
Andreas Steffen [Thu, 18 Aug 2011 14:24:42 +0000 (16:24 +0200)]
Explain PTS measurement algorithm proposal

9 years agocreated PTS Functional Component Name header file
Andreas Steffen [Thu, 18 Aug 2011 14:09:09 +0000 (16:09 +0200)]
created PTS Functional Component Name header file

9 years agoshortened type name to pts_pcr_transform_t
Andreas Steffen [Thu, 18 Aug 2011 13:27:27 +0000 (15:27 +0200)]
shortened type name to pts_pcr_transform_t

9 years agocosmetics
Andreas Steffen [Thu, 18 Aug 2011 12:56:00 +0000 (14:56 +0200)]
cosmetics

9 years agoset_algorithms method not needed
Andreas Steffen [Thu, 18 Aug 2011 12:48:50 +0000 (14:48 +0200)]
set_algorithms method not needed

9 years agouse libstrongswan hasher
Andreas Steffen [Thu, 18 Aug 2011 12:27:37 +0000 (14:27 +0200)]
use libstrongswan hasher

9 years agospecify supported PTS measurement algorithms
Andreas Steffen [Thu, 18 Aug 2011 11:54:07 +0000 (13:54 +0200)]
specify supported PTS measurement algorithms

9 years agoconvert pts_meas_algo_t to hash_algorithm_type
Andreas Steffen [Thu, 18 Aug 2011 11:11:56 +0000 (13:11 +0200)]
convert pts_meas_algo_t to hash_algorithm_type

9 years agomoved pts_meas_algorithms_t to own header file
Andreas Steffen [Thu, 18 Aug 2011 10:54:38 +0000 (12:54 +0200)]
moved pts_meas_algorithms_t to own header file

9 years agorefactored PTS measurement algorithms
Andreas Steffen [Thu, 18 Aug 2011 07:56:17 +0000 (09:56 +0200)]
refactored PTS measurement algorithms

9 years agomake imv_attestation plugin compile
Andreas Steffen [Wed, 17 Aug 2011 20:59:47 +0000 (22:59 +0200)]
make imv_attestation plugin compile

9 years agoshortened some type names and enforced encoding rules
Andreas Steffen [Wed, 17 Aug 2011 20:42:45 +0000 (22:42 +0200)]
shortened some type names and enforced encoding rules

9 years agoautomatically parse TCG PTS attributes
Andreas Steffen [Wed, 17 Aug 2011 20:12:29 +0000 (22:12 +0200)]
automatically parse TCG PTS attributes

9 years agoStarted implementing Notification Handshake and Send Message Functions
Sansar Choinyambuu [Wed, 17 Aug 2011 14:36:54 +0000 (16:36 +0200)]
Started implementing Notification Handshake and Send Message Functions

9 years agoFinalized State class implementations for Attestation IMV/C
Sansar Choinyambuu [Wed, 17 Aug 2011 14:36:11 +0000 (16:36 +0200)]
Finalized State class implementations for Attestation IMV/C

9 years agoCorrected typo
Sansar Choinyambuu [Wed, 17 Aug 2011 14:35:35 +0000 (16:35 +0200)]
Corrected typo

9 years agoModified the handling switch for Attributes reception on Attestation IMV/C
Sansar Choinyambuu [Fri, 12 Aug 2011 12:46:28 +0000 (14:46 +0200)]
Modified the handling switch for Attributes reception on Attestation IMV/C

9 years agoImplemented TCG PTS File Measurement attribute
Sansar Choinyambuu [Fri, 12 Aug 2011 12:09:33 +0000 (14:09 +0200)]
Implemented TCG PTS File Measurement attribute

9 years agoCorrected wrong parameter name
Sansar Choinyambuu [Fri, 12 Aug 2011 12:08:47 +0000 (14:08 +0200)]
Corrected wrong parameter name

9 years agoImplemented TCG PTS Simple Evidence Final and Request File Measurement attributes
Sansar Choinyambuu [Fri, 12 Aug 2011 08:56:02 +0000 (10:56 +0200)]
Implemented TCG PTS Simple Evidence Final and Request File Measurement attributes

9 years agoImplemented TCG PTS Simple Evidence Final and Request File Measurement attributes
Sansar Choinyambuu [Fri, 12 Aug 2011 08:54:58 +0000 (10:54 +0200)]
Implemented TCG PTS Simple Evidence Final and Request File Measurement attributes

9 years agoChanged the type of hash algorithm to the enum variable
Sansar Choinyambuu [Fri, 12 Aug 2011 08:54:01 +0000 (10:54 +0200)]
Changed the type of hash algorithm to the enum variable
Replaced the values of flag enum variables

9 years agoImplemented TCG PTS Simple Component Evidence Attribute
Sansar Choinyambuu [Wed, 10 Aug 2011 14:44:12 +0000 (16:44 +0200)]
Implemented TCG PTS Simple Component Evidence Attribute

9 years agoUse chunk_t.len instead of sizeof function
Sansar Choinyambuu [Wed, 10 Aug 2011 14:42:57 +0000 (16:42 +0200)]
Use chunk_t.len instead of sizeof function
Bit 0 for the flag fields is the most significant field

9 years agoChanged the type of name field to corresponding enum type
Sansar Choinyambuu [Wed, 10 Aug 2011 08:36:42 +0000 (10:36 +0200)]
Changed the type of name field to corresponding enum type

9 years agoFinalized the implementation of TCG PTS Request Functional Component Evidence Attribute
Sansar Choinyambuu [Wed, 10 Aug 2011 08:25:53 +0000 (10:25 +0200)]
Finalized the implementation of TCG PTS Request Functional Component Evidence Attribute

9 years agoImplemented TCG PTS Generate Attestation Evidence attribute
Sansar Choinyambuu [Mon, 8 Aug 2011 14:49:43 +0000 (16:49 +0200)]
Implemented TCG PTS Generate Attestation Evidence attribute
Added two new Attributes to sources in Makefile

9 years agoDraft version of TCG PTS Request Function Component Evidence Attribute
Sansar Choinyambuu [Mon, 8 Aug 2011 14:42:13 +0000 (16:42 +0200)]
Draft version of TCG PTS Request Function Component Evidence Attribute

9 years agoCommented compiler options Wall Werror for Makefile
Sansar Choinyambuu [Mon, 8 Aug 2011 14:40:59 +0000 (16:40 +0200)]
Commented compiler options Wall Werror for Makefile
Corrected bit 0 for AIK flags to be least significant bit

9 years agoDebugged TCG PTS attributes implementations
Sansar Choinyambuu [Mon, 8 Aug 2011 11:34:13 +0000 (13:34 +0200)]
Debugged TCG PTS attributes implementations

9 years agoChanges according to the new PTS Attributes addition
Sansar Choinyambuu [Fri, 5 Aug 2011 15:46:30 +0000 (17:46 +0200)]
Changes according to the new PTS Attributes addition

9 years agoImplemented TCG PTS Attributes
Sansar Choinyambuu [Fri, 5 Aug 2011 15:42:16 +0000 (17:42 +0200)]
Implemented TCG PTS Attributes