Re: [tpmdd-devel] [PATCH v8 6/8] tpm: TPM 2.0 baseline support

2014-12-08 Thread peterhuewe
Hi On 8. Dezember 2014 14:56:15 MEZ, Jarkko Sakkinen wrote: >On Fri, Dec 05, 2014 at 12:13:18AM +0100, Peter Hüwe wrote: >> Am Mittwoch, 3. Dezember 2014, 03:28:35 schrieb Stefan Berger: >> > On 12/02/2014 05:31 PM, Jarkko Sakkinen wrote: >> > > + >> > > +/** >> > > + * tpm2_startup() - send st

Re: [tpmdd-devel] [PATCH v8 6/8] tpm: TPM 2.0 baseline support

2014-12-08 Thread Jarkko Sakkinen
On Fri, Dec 05, 2014 at 12:13:18AM +0100, Peter Hüwe wrote: > Am Mittwoch, 3. Dezember 2014, 03:28:35 schrieb Stefan Berger: > > On 12/02/2014 05:31 PM, Jarkko Sakkinen wrote: > > > + > > > +/** > > > + * tpm2_startup() - send startup command to the TPM chip > > > + * @chip:TPM chip

Re: [tpmdd-devel] [PATCH v8 6/8] tpm: TPM 2.0 baseline support

2014-12-04 Thread Peter Hüwe
Am Mittwoch, 3. Dezember 2014, 03:28:35 schrieb Stefan Berger: > On 12/02/2014 05:31 PM, Jarkko Sakkinen wrote: > > + > > +/** > > + * tpm2_startup() - send startup command to the TPM chip > > + * @chip: TPM chip to use. > > + * @startup_type startup type. The value is either > > + *

Re: [tpmdd-devel] [PATCH v8 6/8] tpm: TPM 2.0 baseline support

2014-12-02 Thread Stefan Berger
On 12/02/2014 05:31 PM, Jarkko Sakkinen wrote: + +/** + * tpm2_startup() - send startup command to the TPM chip + * @chip: TPM chip to use. + * @startup_type startup type. The value is either + * TPM_SU_CLEAR or TPM_SU_STATE. + * + * 0 is returned when the

Re: [tpmdd-devel] [PATCH v8 6/8] tpm: TPM 2.0 baseline support

2014-12-02 Thread Stefan Berger
On 12/02/2014 05:31 PM, Jarkko Sakkinen wrote: + +#define TPM2_STARTUP_IN_SIZE \ + (sizeof(struct tpm_input_header) + \ +sizeof(struct tpm2_pcr_read_in)) + +static const struct tpm_input_header tpm2_startup_header = { + .tag = cpu_to_be16(TPM2_ST_NO_SESSIONS), + .length