Re: [PATCH v5 11/21] tpm: factor out tpm_startup function

2018-10-01 Thread Jarkko Sakkinen
On Sat, Sep 29, 2018 at 01:30:25AM +0300, Tomas Winkler wrote: > TPM manual startup is used only from within TPM 1.x or TPM 2.x > code, hence remove tpm_startup() function from tpm-interface.c > and add two static functions implementations tpm1_startup() > and tpm2_startup() into to tpm1-cmd.c and

[PATCH v5 11/21] tpm: factor out tpm_startup function

2018-09-28 Thread Tomas Winkler
TPM manual startup is used only from within TPM 1.x or TPM 2.x code, hence remove tpm_startup() function from tpm-interface.c and add two static functions implementations tpm1_startup() and tpm2_startup() into to tpm1-cmd.c and tpm2-cmd.c respectively. Signed-off-by: Tomas Winkler Tested-by: Jark