Re: [PATCH 06/10] tpm: introduce tpm_buf

2015-10-18 Thread Jarkko Sakkinen
On Sun, Oct 18, 2015 at 04:57:49AM +0200, Peter Hüwe wrote: > Am Freitag, 16. Oktober 2015, 20:40:25 schrieb Jarkko Sakkinen: > > This patch introduces struct tpm_buf that provides a string buffer for > > constructing TPM commands. This allows to construct variable sized TPM > > commands. For the b

Re: [PATCH 06/10] tpm: introduce tpm_buf

2015-10-17 Thread Peter Hüwe
Am Freitag, 16. Oktober 2015, 20:40:25 schrieb Jarkko Sakkinen: > This patch introduces struct tpm_buf that provides a string buffer for > constructing TPM commands. This allows to construct variable sized TPM > commands. For the buffer a page is allocated and mapped, which limits > maximum size to

[PATCH 06/10] tpm: introduce tpm_buf

2015-10-16 Thread Jarkko Sakkinen
This patch introduces struct tpm_buf that provides a string buffer for constructing TPM commands. This allows to construct variable sized TPM commands. For the buffer a page is allocated and mapped, which limits maximum size to PAGE_SIZE. Variable sized TPM commands are needed in order to add algo