mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-29 08:42:22 +00:00
Since the sizeof(TPM_NV_INDEX) and sizeof(OBJECT) may expand when new hash algorithms are enabled, the size of each entry in the USER_NVRAM may also expand. We have to account for this when writing the entry size into the NVRAM and cannot use the one from the unmarshalled state unless it is 0 or the sizes were the same. So the best is to calculate the entry size and write it again. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> |
||
|---|---|---|
| .. | ||
| tpm2 | ||
| tpm12 | ||
| compiler.h | ||
| libtpms.syms | ||
| Makefile.am | ||
| 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 | ||