swtpm/tests/data
Stefan Berger f956bce305 tests: Add test case for loading of an NVRAM completely full with keys
Add a test case that fills up the NVRAM area with as many persisted keys
as possible and then fills up the rest with an NVRAM index so that all
space is occupied. We have to be able to load this state again into the
NVRAM once the OBJECT's size increases due to RSA keys size increase,
which must have us increase the total size of NVRAM in libtpm's TPM profile.

The state in tests/data/tpm2state5/tpm2-00.permall was created using
libtpms 0.6.0, where only 2048 bit keys were supported and total NVRAM size
was 128kb. This state file should never be changed and always be loadable
into a current libtpms. In its USER NVRAM it holds 64 persisted 2048 bit
keys and an NVRAM index with 236 bytes. For this to stay the reference
NVRAM, we need to make sure that it fits exactly to the byte.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-04-24 15:03:03 -04:00
..
migkey1 tests: Add test_tpm2_migration_key test case 2018-08-07 12:19:46 -04:00
tpm2state1 tests: Add TPM 2 test case tpm_tpm2_resume_volatile 2018-08-07 12:19:46 -04:00
tpm2state2 tests: Add TPM 2 test case tpm_tpm2_resume_volatile 2018-08-07 12:19:46 -04:00
tpm2state2b tests: Extend test cases with aes-256-cbc state file encryption 2018-09-17 12:23:22 -04:00
tpm2state3 tests: Modify test to create 2 orderly indices 2020-04-09 19:39:38 -04:00
tpm2state3b tests: Update test case due to SHA512 support in libtpms 2018-08-07 12:19:47 -04:00
tpm2state3c tests: Update test case due to SHA512 support in libtpms 2018-08-07 12:19:47 -04:00
tpm2state3d tests: Update test case due to SHA512 support in libtpms 2018-08-07 12:19:47 -04:00
tpm2state4 tests: Add test cases for new CrytpAdjustPrimeCandidate algo 2019-12-23 14:14:25 -05:00
tpm2state5 tests: Add test case for loading of an NVRAM completely full with keys 2020-04-24 15:03:03 -04:00
tpmstate1 swtpm: integrity protect the encrypt TPM state 2015-05-19 16:35:08 -04:00
tpmstate2 swtpm: integrity protect the encrypt TPM state 2015-05-19 16:35:08 -04:00
tpmstate2b tests: Extend test cases with aes-256-cbc state file encryption 2018-09-17 12:23:22 -04:00
ecprivek.pem swtpm_cert: Support for Elliptic Curve keys 2018-08-07 12:19:46 -04:00
ecpubek.pem swtpm_cert: Support for Elliptic Curve keys 2018-08-07 12:19:46 -04:00
issuercert.pem tests: Use a root CA for creating the issuercert for test_swtpm_cert 2018-04-17 10:52:35 -04:00
keyfile256bit.txt tests: Extend test cases with aes-256-cbc state file encryption 2018-09-17 12:23:22 -04:00
keyfile.txt merging swtpm-tools into this project 2014-12-05 13:43:21 -05:00
pubek.pem merging swtpm-tools into this project 2014-12-05 13:43:21 -05:00
pwdfile.txt merging swtpm-tools into this project 2014-12-05 13:43:21 -05:00
signkey-encrypted.pem swtpm_cert: Allow passing signing key and parent key via new option 2020-01-30 08:52:58 -05:00
signkey.pem tests: Use a root CA for creating the issuercert for test_swtpm_cert 2018-04-17 10:52:35 -04:00
swtpm-localca-rootca-cert.pem tests: Use a root CA for creating the issuercert for test_swtpm_cert 2018-04-17 10:52:35 -04:00
swtpm-localca-rootca-privkey.pem tests: Use a root CA for creating the issuercert for test_swtpm_cert 2018-04-17 10:52:35 -04:00