keys, trusted: seal/unseal with TPM 2.0 chips
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 26 Jun 2015 19:28:26 +0000 (22:28 +0300)
committerPeter Huewe <peterhuewe@gmx.de>
Sun, 18 Oct 2015 23:01:22 +0000 (01:01 +0200)
commit0fe5480303a1657b328a0a389f8d99249d9961f5
tree62a6478cf40f80f74d9f765c5e39a241eb385427
parent954650efb79f99d5c817c121bb0a7c6c53362048
keys, trusted: seal/unseal with TPM 2.0 chips

Call tpm_seal_trusted() and tpm_unseal_trusted() for TPM 2.0 chips.
We require explicit 'keyhandle=' option because there's no a fixed
storage root key inside TPM2 chips.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de>
Tested-by: Mimi Zohar <zohar@linux.vnet.ibm.com> (on TPM 1.2)
Tested-by: Chris J Arges <chris.j.arges@canonical.com>
Tested-by: Colin Ian King <colin.king@canonical.com>
Tested-by: Kevin Strasser <kevin.strasser@intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
security/keys/trusted.c