mirror of
https://github.com/stefanberger/swtpm.git
synced 2025-08-22 19:04:35 +00:00
![]() 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> |
||
---|---|---|
.. | ||
migkey1 | ||
tpm2state1 | ||
tpm2state2 | ||
tpm2state2b | ||
tpm2state3 | ||
tpm2state3b | ||
tpm2state3c | ||
tpm2state3d | ||
tpm2state4 | ||
tpm2state5 | ||
tpmstate1 | ||
tpmstate2 | ||
tpmstate2b | ||
ecprivek.pem | ||
ecpubek.pem | ||
issuercert.pem | ||
keyfile256bit.txt | ||
keyfile.txt | ||
pubek.pem | ||
pwdfile.txt | ||
signkey-encrypted.pem | ||
signkey.pem | ||
swtpm-localca-rootca-cert.pem | ||
swtpm-localca-rootca-privkey.pem |