Re: [PATCH v2] tpm: consolidate the TPM startup code

From: Stefan Berger
Date: Wed Jun 21 2017 - 07:05:09 EST


On 06/21/2017 03:31 AM, Jarkko Sakkinen wrote:
Consolidated all the "manual" TPM startup code to a single function
in order to make code flows a bit cleaner and migrate to tpm_buf.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>

Tested-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>


FYI:
swtpm chardev --vtpm-proxy --tpmstate dir=/tmp --log level=1 --tpm2
swtpm chardev --vtpm-proxy --tpmstate dir=/tmp --log level=1