libtpms/src
Stefan Berger 073849aa46 tpm2: Recalculate the entrysize in front of every USER_NVRAM blob
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>
2018-07-17 20:40:45 -04:00
..
tpm2 tpm2: Recalculate the entrysize in front of every USER_NVRAM blob 2018-07-17 20:40:45 -04:00
tpm12 tpm2: Choose the TPM2 NVRAM memory to be 64kb 2018-06-15 18:07:48 -04:00
compiler.h library: use __attribute__((format,...) to check printf format and args 2018-06-15 18:07:49 -04:00
libtpms.syms Integrate the TPM 2 into the library; do not compile with TPM 2 yet 2018-06-15 18:07:47 -04:00
Makefile.am build: Add missing header files for building RPM from tar file 2018-06-15 18:07:49 -04:00
tpm_library_conf.h Initial import of project 2013-10-31 15:33:22 -05:00
tpm_library_intern.h library: use __attribute__((format,...) to check printf format and args 2018-06-15 18:07:49 -04:00
tpm_library.c tpm2: implement TPM2_Get/SetState 2018-06-15 18:07:48 -04:00
tpm_tpm2_interface.c tpm2: Use malloc/free rather than TPM_Malloc/TPM_Free 2018-06-20 15:06:03 -04:00
tpm_tpm2_tis.c Support for TPMEstablished flag in TPM2 code 2018-06-15 18:07:47 -04:00
tpm_tpm12_interface.c Integrate the TPM 2 into the library; do not compile with TPM 2 yet 2018-06-15 18:07:47 -04:00
tpm_tpm12_tis.c Introduce internal interface to reach TPM functionality 2015-12-08 09:07:54 -05:00