libtpms/src
Stefan Berger 1e1648fec3 tpm2: Save key and hash contexts using ANY_OBJECT_Marshal
Save key and hash contexts using the ANY_OBJECT_Marshal function and try
to load it using ANY_OBJECT_Unmarshal(). Unfortunately older contexts were
written out as plain OBJECTs, so we have to accomodate this case as well
so that we can restore key contexts from libtpms-0.7.x. We do not support
resuming HASH contexts from libtpms-0.7.x.

Before this modification context files written out by the IBM TSS stack
were 2692 bytes independent of content. Now an RSA 2048 key is 1222 bytes
and a NIST p384 key is 982 bytes.

Several of the original TPM 2 function exporting Sequence state and
importing it can now be disabled.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-20 15:08:46 -05:00
..
tpm2 tpm2: Save key and hash contexts using ANY_OBJECT_Marshal 2021-02-20 15:08:46 -05:00
tpm12 tpm12: Add a note to RSA related to EVP conversion for constant-time 2020-10-22 20:08:02 -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 tpm2: Save key and hash contexts using ANY_OBJECT_Marshal 2021-02-20 15:08:46 -05: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 [build-sys] Add -Wmissing-prototypes to CFLAGS and clean up 2020-06-01 18:23:07 -04:00
tpm_tpm2_interface.c tpm2: Fix the returned number in the JSON 2020-08-24 20:47:33 -04:00
tpm_tpm2_tis.c tpm2: rev155: Major refactoring of header files 2020-04-14 16:03:45 -04:00
tpm_tpm12_interface.c [build-sys] Add -Wmissing-prototypes to CFLAGS and clean up 2020-06-01 18:23:07 -04:00
tpm_tpm12_tis.c Introduce internal interface to reach TPM functionality 2015-12-08 09:07:54 -05:00