diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-10-11 12:26:58 +0300 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-10-19 01:01:20 +0200 |
commit | a74f8b36352e79b13d48fa92759c9ea6b78d5817 (patch) | |
tree | 672ff847e04b461d4926e982506605b846426603 /security | |
parent | b8e98dcdc5ad24bbecc763cd0ac87bbde602e5ea (diff) | |
download | linux-a74f8b36352e79b13d48fa92759c9ea6b78d5817.tar.bz2 |
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