[PATCH v3 7/7] tpm2: add session handle context saving and restoring to the space code

2017-03-03 Thread Jarkko Sakkinen
From: James Bottomley Sessions are different from transient objects in that their handles may not be virtualized (because they're used for some hmac calculations). Additionally when a session is context saved, a vestigial memory remains in the TPM and if

[PATCH v3 7/7] tpm2: add session handle context saving and restoring to the space code

2017-03-03 Thread Jarkko Sakkinen
From: James Bottomley Sessions are different from transient objects in that their handles may not be virtualized (because they're used for some hmac calculations). Additionally when a session is context saved, a vestigial memory remains in the TPM and if it is also flushed, that will be lost