libtpms/src
Stefan Berger 6f3ad179c9 tpm2: NVMarshal: Handle index orderly RAM without 0-sized terminating node
The NVRAM entries in s_indexOrderlyRam array do not need to contain a
0-sized terminating node. Instead, the entries may fill up this 512
byte array so that no NV_RAM_HEADER structure fits anymore. The fact
that no more NV_RAM_HEADER structure fits is also an indicator for the
last entry. We need to account for this in the code marshalling and
unmarshalling the entries so that we stop marshalling the entries
then and similarly stop unmarshalling.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-08-02 07:55:48 -04:00
..
tpm2 tpm2: NVMarshal: Handle index orderly RAM without 0-sized terminating node 2021-08-02 07:55:48 -04:00
tpm12 tpm12: Implement TPM_PrintFourLimit to print 4 or less bytes 2021-02-26 15:00:17 -05: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 tpm2: Add utilities for debugging of constant time issues 2020-10-30 11:27:32 -04:00
test.syms build-sys: work around broken linker when testing --version-script support 2018-08-30 21:45:16 +00:00
tpm_library_conf.h Initial import of project 2013-10-31 15:33:22 -05:00
tpm_library_intern.h tpm2: Log command that put TPM 2 into failure mode 2018-12-10 09:17:25 -05:00
tpm_library.c tpm2: Log command that put TPM 2 into failure mode 2018-12-10 09:17:25 -05:00
tpm_tpm2_interface.c tpm2: TPM2_MainInit: Enable NVRAM in NVChip file case 2019-03-26 10:24:41 -04:00
tpm_tpm2_tis.c tpm2: Introduce TPM_HAVE_TPM2_DECLARATIONS to avoid re-declarations 2018-10-05 21:47:15 -04:00
tpm_tpm12_interface.c tpm2: Introduce TPM_HAVE_TPM2_DECLARATIONS to avoid re-declarations 2018-10-05 21:47:15 -04:00
tpm_tpm12_tis.c Introduce internal interface to reach TPM functionality 2015-12-08 09:07:54 -05:00