this removes all key object currently loaded into the TPM's RAM.
Von: Kenneth Goldman <kgoldman(a)us.ibm.com>
Gesendet: Donnerstag, 22. April 2021 00:29
Betreff: [tpm2] Re: How to use tpm2 tool to unload an external key
From: "Chenxi Z" <cxzhang1981(a)hotmail.com>
I loaded an ecdsa P256 key, which was generated by openssl, into
TPM. Once the key is not longer needed for my use case, I would like
to unload the key. Can I know what tpm2 tool command that I can use
to unload the external key?
I am assuming if I don't unload the key, the key context/memory will
forever be held by TPM (unless reboot). If I never release that and
I keep loading new keys into TPM, the TPM will eventually run out of memory.
Look for something like 'flushcontext'.