Andreas Steffen
2a415e77c7
normalized pts_dh_group function names
2011-11-28 14:39:49 +01:00
Andreas Steffen
3be8995c3e
added pts_dh_group_select
2011-11-28 14:39:49 +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
ea195cb6ef
Changed encoding type to ASN.1 DER
2011-11-28 14:34:21 +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
e1aebc940a
Removed unnecessary setter functions
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu
768b6b95d7
Fixes for memory leaks
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu
3ca2e65f0d
Freeing memory allocated for AIK after writing
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu
a3be32a2d5
Changed definition of output and set them in quote_tpm function
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
b46930bf5f
Implemented first version of tpm quote function
2011-11-28 14:34:21 +01:00
Andreas Steffen
c0da11615b
added newline at end of file
2011-11-28 14:34:21 +01:00
Andreas Steffen
a81a5f8bc4
fixed pts_probe_dh_groups warning
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
4b3d992d08
Changed definition of get_my_pub_val function a little
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu
4002b41b92
Added ctime function to white list
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
f39197dd92
Implemented functions for reading and extending TPM PCR
...
Made hash_file function a member of pts object
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu
7c7034f64c
Use struct containing the parameters for Create function
...
Deleted unnecessary setter functions
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu
97ebeaa45c
Fixed memory leaks
2011-11-28 14:34:20 +01:00
Sansar Choinyambuu
2f229f10b1
Clone chunk_t parameters in create function
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
a2ca89676b
Replaced DH_NONCE state with TPM_INIT state
2011-11-28 14:34:20 +01:00
Sansar Choinyambuu
808017f6b7
Cloning chunk_t parameters in process message
2011-11-28 14:34:20 +01:00
Sansar Choinyambuu
f27c30329d
Fixed bug for updating supported diffie hellman groups
2011-11-28 14:34:20 +01:00
Sansar Choinyambuu
9d7ec5b6cd
Removed unnecessary debug statement
2011-11-28 14:34:20 +01:00
Sansar Choinyambuu
246e46a97c
Return false if mandatory DH Group IKE19 is not available
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
4ec5d26fdf
Write/Read flags field directly to/from variable
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
9032e61b88
Fixed bug at checking error code from file stat
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
28ca456426
version bump to 4.6.2dr1
2011-11-28 06:01:03 +01:00
Tobias Brunner
b4f037bb08
libfast: Fixed compiler warning.
2011-11-25 10:22:41 +01:00
Tobias Brunner
5ddeaf2884
Fixed compiler warnings for DH groups that define no subgroup.
2011-11-25 10:18:03 +01:00
Tobias Brunner
a660f1426e
Fixed missing initializer compiler warning.
2011-11-25 09:52:19 +01:00
Tobias Brunner
b46a5cd4ef
Fixed check for log groups when debug_t is unsigned.
...
The range and signedness of enum types is up to the compiler.
2011-11-25 09:48:32 +01:00
Tobias Brunner
282dcb9974
Fixed check of max_poll_time as it is an unsigned int.
2011-11-25 09:46:45 +01:00
Tobias Brunner
edad908792
Fixed compiler warnings regarding enum comparison.
...
Warnings like
comparison of unsigned expression < 0 is always false
are reported with -Wextra when enum types that are compiled to an
unsigned type (which is up to the compiler) are checked for negativity.
2011-11-25 09:40:30 +01:00
Tobias Brunner
4f775afda9
Added missing Android.mk files to distribution.
2011-11-22 18:31:12 +01:00
Martin Willi
b2e493ab58
Fixed proposal numbering check in sa_payload
2011-11-21 09:12:00 +01:00
Thomas Jarosch
00b9e598f3
Fix copy'n'paste error in libhydra's netlink interface
...
Detected by cppcheck.
2011-11-21 09:00:39 +01:00
Martin Willi
3fcacd283e
Fix unaligned aliasing warning in raw socket
2011-11-17 18:22:07 +01:00
Mirko Parthey
7b21873668
Fix network interface deletion handling in kernel-netlink plugin.
...
When the kernel reports the deletion of an interface (RTM_DELLINK),
the cached interface attributes, including ifindex, become invalid
and must be forgotten.
Interface link state changes ("up" and "down") show up as RTM_NEWLINK,
so they will not cause a cached entry to be removed or
prevent listening to address change notifications.
Once an interface has been deleted, the kernel ought to stop sending
notifications for it. If the interface gets recreated with the same
name later, the kernel again reports RTM_NEWLINK, which causes a new
cache entry to be created.
There should be no reason to keep a stale cache entry around, as was
claimed in the comment.
2011-11-14 15:24:48 +01:00
Andreas Steffen
18f85b668d
corrected NEWs entry
2011-11-10 06:35:38 +01:00
Tobias Brunner
727fe0f99e
libfreeswan: Fixed compiler warning.
2011-11-09 19:20:10 +01:00