Stefan Berger
9ddc699812
swtpm: Add the control channel to the socket interface TPM
...
Add the control channel to the socket interface TPM as well.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-03-18 16:51:19 -04:00
Stefan Berger
e11a75527e
tests: add timeout to socat
...
Add a timeout to socat so that on slower machines the tests succeed.
Clean up an #include.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-12-21 03:26:46 -05:00
Stefan Berger
804e74728e
swtpm: add CMD_SHUTDOWN to control channel
...
Extend the control channel with CMD_SHUTDOWN to shut down the TPM.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-12-20 20:55:15 -05:00
Stefan Berger
86b6ffca75
swtpm: use endian.hi for endianess conversion
...
Use the macros defined in endian.h for endianess conversion.
Fix the conversion of a 64bit variable.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-12-07 17:25:17 -05:00
Stefan Berger
02017e62b0
test: fix file permission
...
Signed-off-ny: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-11-28 10:47:38 -05:00
Stefan Berger
6852f6c89b
swtpm: introduce control channel for chardev TPM
...
Implement a control channel for the 'chardev' swtpm that implements
a minimal set of control messages for now.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-11-27 22:13:37 -05:00