diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-10-11 11:26:58 +0200 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-10-19 01:01:20 +0200 |
commit | a74f8b36352e79b13d48fa92759c9ea6b78d5817 (patch) | |
tree | 672ff847e04b461d4926e982506605b846426603 /security | |
parent | tpm: update PPI documentation to address the location change. (diff) | |
download | linux-a74f8b36352e79b13d48fa92759c9ea6b78d5817.tar.xz linux-a74f8b36352e79b13d48fa92759c9ea6b78d5817.zip |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions