mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-10 21:34:13 +00:00
This patch fixes a VM suspend/resume issue when externally loaded public keys are involved. This patch addresses the bug reported in issue #195 where the saving of an externally loaded public key's context doesn't work due to the usage of ANY_CONTEXT_SAVE for saving key contexts. This patch fixes the issue by creating local versions of TPM_SENSITIVE_Marshal/_Unmarshal that deals with the case where sensitiveType is not a type of private key but a public key instead that basically doesn't have much information in TPM_SENSITIVE but is all zeros instead. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> |
||
|---|---|---|
| .. | ||
| tpm2 | ||
| tpm12 | ||
| compiler.h | ||
| libtpms.syms | ||
| Makefile.am | ||
| test.syms | ||
| tpm_library_conf.h | ||
| tpm_library_intern.h | ||
| tpm_library.c | ||
| tpm_tpm2_interface.c | ||
| tpm_tpm2_tis.c | ||
| tpm_tpm12_interface.c | ||
| tpm_tpm12_tis.c | ||