]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: seal/unseal for TPM 2.0
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Sat, 30 May 2015 05:09:04 +0000 (08:09 +0300)
committerPeter Huewe <peterhuewe@gmx.de>
Sun, 18 Oct 2015 23:01:21 +0000 (01:01 +0200)
commit5154010d7434bc0496424e9004609385fe66a33e
tree12da28fd54da6f329cdfe83b42e65a0479313b0e
parenta97158d771c0e29cf5d3d5ec7f2b9f4c5684b999
tpm: seal/unseal for TPM 2.0

Added tpm_trusted_seal() and tpm_trusted_unseal() API for sealing
trusted keys.

This patch implements basic sealing and unsealing functionality for
TPM 2.0:

* Seal with a parent key using a 20 byte auth value.
* Unseal with a parent key using a 20 byte auth value.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
drivers/char/tpm/tpm-interface.c
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm2-cmd.c
include/keys/trusted-type.h
include/linux/tpm.h