libtpms/tests
Stefan Berger 61cb823169 tpm2: Start supporting RSA 3072 keys
Start supporting RSA 3072 keys.

NVMarshal.c: We now accept state that was written by libtpms when RSA keys
sizes were 2048 or are 3072, basically less-or-equal than 3072.

Also increase the NVRAM memory size by ~45 kb to accommodate the worst
case where the USER NVRAM is full of 65 2048 bit persisted keys whose 65
OBJECTs are now expanding and need to again fit into the NVRAM. We have
to add exactly 45760 bytes to accomodate this case. See swtpm test
case test_tpm2_save_load_state_2. 65 * 704 = 45760.

NOTE: BETTER TO NOT BACKPORT!!! MAY NEGATIVELY AFFECT UPGRADE PATH!

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-05-04 08:01:26 -04:00
..
corpus-execute-command tests: add an initial corpus for fuzzing 2018-06-15 18:07:49 -04:00
base64decode.c Add a test case for the TPMLIB_DecodeBlob API 2014-01-08 11:43:37 -05:00
base64decode.sh tests: run a lot less tests in base64decode.sh 2019-05-07 16:01:48 -04:00
common tests: Add simple test case reading PCRs and writing state file 2018-12-17 19:52:32 -05:00
freebl_sha1flattensize.c Fix support for ARM64 2014-06-30 15:04:15 -04:00
fuzz-main.c fuzz: better oss-fuzz integration 2019-04-01 11:22:03 -04:00
fuzz.cc fuzz: better oss-fuzz integration 2019-04-01 11:22:03 -04:00
fuzz.sh tests: Restrict number of command line parameters to fuzz 2019-05-07 16:01:48 -04:00
Makefile.am tests: Add a test program to run the TPM 2 self tests 2019-05-07 16:01:48 -04:00
nvram_offsets.c tpm2: Start supporting RSA 3072 keys 2020-05-04 08:01:26 -04:00
oss-fuzz.sh fuzz: better oss-fuzz integration 2019-04-01 11:22:03 -04:00
run-fuzzer.sh build-sys: don't tweak LD_LIBRARY_PATH 2019-04-16 07:17:53 -04:00
tpm2_createprimary.c tests: Fix memory leak in test cases 2019-05-07 16:01:48 -04:00
tpm2_createprimary.sh tpm2: Start supporting RSA 3072 keys 2020-05-04 08:01:26 -04:00
tpm2_pcr_read.c tests: Fix memory leak in test cases 2019-05-07 16:01:48 -04:00
tpm2_pcr_read.sh tpm2: Start supporting RSA 3072 keys 2020-05-04 08:01:26 -04:00
tpm2_selftest.c tests: Add a test program to run the TPM 2 self tests 2019-05-07 16:01:48 -04:00
tpm2_selftest.sh tpm2: Start supporting RSA 3072 keys 2020-05-04 08:01:26 -04:00