Jarkko Sakkinen a74f8b3635 tpm: introduce tpm_buf
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 algorithmic
agility.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
2015-10-19 01:01:20 +02:00
..
2015-10-19 01:01:20 +02:00
2013-05-05 00:11:29 -04:00
2013-05-05 00:12:29 -04:00
2013-05-05 00:12:29 -04:00
2013-12-18 16:39:54 -08:00
2015-06-10 19:14:04 +08:00
2015-03-25 20:28:11 -04:00
2013-10-16 12:36:10 -07:00
2014-04-16 14:21:06 -07:00