tpm: fix missing migratable flag in sealing functionality for TPM2
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 30 Oct 2015 12:57:02 +0000 (14:57 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 9 Nov 2015 15:52:55 +0000 (17:52 +0200)
commit2e31125c241212e2407d61a2d1cbdad0055a30b0
tree05e79124d15a123b780969a00a6af7218ab2df7e
parentb1a4144a695ff4a6834a2680600f36f991fa4926
tpm: fix missing migratable flag in sealing functionality for TPM2

The 'migratable' flag was not added to the key payload. This patch
fixes the problem.

Fixes: 0fe5480303a1 ("keys, trusted: seal/unseal with TPM 2.0 chips")
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Acked-by: Peter Huewe <PeterHuewe@gmx.de>
drivers/char/tpm/tpm2-cmd.c