kfraser@localhost.localdomain
6311dc03da
Clean up duplication of 'install' macros in the Makefiles.
...
Signed-off-by: John Levon <john.levon@sun.com >
2006-10-17 15:57:05 +01:00
kfraser@localhost.localdomain
3fc05fdad8
VTPM_TOOLS: Updated vtpm for new release of tpm_emulator 0.4, and set
...
up easier tracking of the emulator. Also fixed a few minor bugs in the
manager.
Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com >
2006-07-25 11:30:30 +01:00
kfraser@localhost.localdomain
6b900ffb50
[VTPM_Tools] Support for (non-local) Migration added. Local migration
...
works provided that the hotplug scripts deliver the "suspend" before
the "resume," but this is not always true.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2006-07-10 15:38:49 +01:00
kaf24@firebug.cl.cam.ac.uk
110b2784a3
[VTPM_TOOLS] Hotplug script enabled the vtpm manager and removed the
...
control messages from the BE.
Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com >
2006-06-27 11:15:48 +01:00
kaf24@firebug.cl.cam.ac.uk
f8b88793c5
[VTPM_TOOLS] Moved the developement tpm_emulator down to ring 3, which
...
should make debugging easier as well as fix the emulator for x86_64
Signed-off-by: Vincent Scarlata <vincent.r.scarlata@intel.com >
2006-06-27 11:13:24 +01:00
kaf24@firebug.cl.cam.ac.uk
559aac4666
VTPM_TOOLS: Restructured handlers for better clearity and created an ipc
...
abstraction needed for expansion to hot plug and migration support. Also
fixed a bug in savestate.
Signed-off-by: Vinnie Scarlata <Vincent.r.scarlata@intel.com >
2006-05-17 23:23:26 +01:00
kaf24@firebug.cl.cam.ac.uk
b5fa90ac8e
build: Clean up use of .PHONY
...
* Move .PHONY directives next to targets,
this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...
Signed-Off-By: Horms <horms@verge.net.au >
2006-04-10 17:02:49 +01:00
kaf24@firebug.cl.cam.ac.uk
945758df89
More build config changes:
...
- Build -O2 rather than -O3
- Build with -Wstrict-prototypes
- Move target-specific generic compiler switches to Config.mk
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-10 17:32:04 +01:00
kaf24@firebug.cl.cam.ac.uk
326450f67e
Clean up the usage of CFLAGS. This is nice for packagers, who would
...
like to control the base compilation flags from a central place.
Signed-off-by: Charles Coffing <ccoffing@novell.com >
2006-03-09 21:17:45 +01:00
kaf24@firebug.cl.cam.ac.uk
b8d1d84a4f
VTPM_Tools: Fix error when closing only vtpm, and fix restore bug when
...
no dmis exist
The first bug prevented the TPM tests from running successfully more
than once in a row.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2006-03-03 10:46:06 +01:00
kaf24@firebug.cl.cam.ac.uk
666c2a019b
Fix bugs related to the virtual TPM. Also make the vTPM
...
manager listen on /dev/vtpm.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2006-02-16 23:00:00 +01:00
kaf24@firebug.cl.cam.ac.uk
8a61bdcadb
VTPM Tools: Fix threading bug in vtpm_manager while using NPTL. Now
...
supports Linux Threads and NPTL threads. Also clean up vtpm Makefile.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2006-02-16 22:39:55 +01:00
kaf24@firebug.cl.cam.ac.uk
55d921d433
Fix a bug that causes storage key auth to be generated twice.
...
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2006-01-19 20:04:53 +01:00
kaf24@firebug.cl.cam.ac.uk
71e8ec899a
Adds a check to vtpm_manager and vtpm Makefiles to verify openssl and
...
gmp dev files are installed. If files are missing, Makefile exits with a
message indicating that these tools will not be built, rather than an
error, which prevents Xen from building.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2006-01-12 14:27:20 +01:00
kaf24@firebug.cl.cam.ac.uk
f890ca8bcd
This patch adds TPM_Seal support to the VTSP. On measured platforms
...
this can be use to better protect secrets in the VTPM System
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2006-01-04 11:37:41 +01:00
kaf24@firebug.cl.cam.ac.uk
aafd5e14e1
Virtual TPM persistent states contain VTPM secrets, which are encrypted
...
using symmetric keys and stored on disk along with those symmetric keys.
The attached patch uses the TPM to encrypt the symmetric keys and other
global secrets before saving them to disk.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2005-12-30 11:31:12 +01:00
kaf24@firebug.cl.cam.ac.uk
41a6310c5e
Move some useful cryptographic enveloping code into their own
...
functions so they can be used by other parts of the VTPM code.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2005-12-16 18:54:57 +01:00
kaf24@firebug.cl.cam.ac.uk
4b3fd3a9f3
Removes the carriage returns from some of the vtpm
...
source files that were edited in windows at some point.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2005-11-30 12:07:28 +01:00
kaf24@firebug.cl.cam.ac.uk
f8e8438eef
Remove unnecessary NULL checks before freeing memory blocks.
...
The following functions check for NULL internally:
free, kfree, xfree, free_xenheap_page[s]
Signed-off-by: Keir Fraser <keir@xensource.com >
2005-11-11 12:55:47 +01:00
kaf24@firebug.cl.cam.ac.uk
a108cd0052
The attached patch to 1) fix a 64-bit bug with some of the data packing,
...
and 2) adds a workaround for an Infineon TPM hardware bug.
Signed-off-by: Vinnie Scarlata, Joseph Cihula (@intel.com)
2005-11-02 11:21:46 +01:00
kaf24@firebug.cl.cam.ac.uk
20e8ba075b
Add 64 bit support to the VTPM Tools plus do some minor cleanups.
...
The VTPM manager and VTPMs fully support both 32 and 64 bit OSes. The
tpm_emulator (provided for debugging on TPM-less machines) does not
support 64-bit kernels by default though. See the README for details on
how to use it on 64-bit kernels.
(Vinnie Scarlata, Intel Corporation)
Signed-off-by: Joe Cihula <joe.cihula@intel.com >
2005-09-20 09:08:26 +00:00
shand@ubuntu.eng.hq.xensource.com
f2a4d188c4
vTPM manager - Intel/IBM joint TPM Virtualization implementation for Xen.
...
This is a software implementation for people without h/w vTPM support.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
Signed-off-by: Joseph Cihula <joseph.cihula@intel.com >
Signed-off-by: Steven Hand <steven@xensource.com >
2005-08-30 11:39:25 -08:00